Simple Question (Direct)
Simple Question
Q4424044
P840
Q56061
USER
Which administrative territory is the narrative location of Spellbinder ?
(Q4424044,P840,c(Q56061))
action filter_type
action find
entity Q4424044
relation P840
type Q56061
['Q4424044', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q4424044 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Spellbinder
action filter_type
action find
entity Spellbinder
relation narrative location
type administrative territorial entity
['Spellbinder', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spellbinder property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q4424044,P840,c(Q56061))
action filter_type
action find
entity Q4424044
relation P840
type Q56061
[ANSWER] is the narrative location of Spellbinder
['Q4424044', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q4424044 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Los Angeles
Los Angeles is the narrative location of Spellbinder
Los Angeles
action filter_type
action find
entity Spellbinder
relation narrative location
type administrative territorial entity
['Spellbinder', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spellbinder property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4424044
P161
Q502895
USER
Which people starred in Spellbinder ?
(Q4424044,P161,c(Q502895))
action filter_type
action find
entity Q4424044
relation P161
type Q502895
['Q4424044', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q4424044 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Spellbinder
action filter_type
action find
entity Spellbinder
relation cast member
type common name
['Spellbinder', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spellbinder property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q351479 Q236842 Q1139727
SYSTEM
Tim Daly, Kelly Preston, Rick Rossovich
Q351479 Q236842 Q1139727
(Q4424044,P161,c(Q502895))
action filter_type
action find
entity Q4424044
relation P161
type Q502895
[ANSWERS] starred in Spellbinder
['Q4424044', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q4424044 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Tim Daly Kelly Preston Rick Rossovich
Tim Daly, Kelly Preston and Rick Rossovich starred in Spellbinder
Tim Daly Kelly Preston Rick Rossovich
action filter_type
action find
entity Spellbinder
relation cast member
type common name
['Spellbinder', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spellbinder property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q351479
P106
Q12737077 Q28640
USER
How many occupations or professions do Tim Daly do for a living ?
(Q351479,P106,c(Q12737077)) (Q351479,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q351479
relation P106
type Q12737077
action filter_type
action find
entity Q351479
relation P106
type Q28640
['Q351479', 'P106', {'concept': 'Q12737077'}] ['Q351479', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
Tim Daly
action count
action union
action filter_type
action find
entity Tim Daly
relation occupation
type occupation
action filter_type
action find
entity Tim Daly
relation occupation
type profession
['Tim Daly', 'occupation', {'concept': 'occupation'}] ['Tim Daly', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
occupation profession
SYSTEM
8
Q2526255 Q3282637 Q2259451 Q2405480 Q2059704 Q10800557 Q10798782 Q33999
(Q351479,P106,c(Q12737077)) (Q351479,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q351479
relation P106
type Q12737077
action filter_type
action find
entity Q351479
relation P106
type Q28640
[ANSWER]
['Q351479', 'P106', {'concept': 'Q12737077'}] ['Q351479', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
film director film producer stage actor voice actor television director film actor television actor actor
8
action count
action union
action filter_type
action find
entity Tim Daly
relation occupation
type occupation
action filter_type
action find
entity Tim Daly
relation occupation
type profession
['Tim Daly', 'occupation', {'concept': 'occupation'}] ['Tim Daly', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q485724
P47
Q15617994
USER
Which administrative territories have an adjacent border with Corleone ?
(c(Q15617994),P47,Q485724)
action filter_type
action find
entity Q485724
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q485724']
SELECT DISTINCT ?q WHERE { resource:Q485724 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Corleone
action filter_type
action find
entity Corleone
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Corleone']
SELECT DISTINCT ?q WHERE { resource:Corleone property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q207448 Q490808 Q496914
SYSTEM
Monreale, Contessa Entellina, Bisacquino
Q264940 Q490943 Q496914 Q490817 Q489688 Q490808 Q490963 Q207448 Q496943 Q496951 Q490509
(c(Q15617994),P47,Q485724)
action filter_type
action find
entity Q485724
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Corleone
[{'concept': 'Q15617994'}, 'P47', 'Q485724']
SELECT DISTINCT ?q WHERE { resource:Q485724 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Prizzi Campofiorito Bisacquino Godrano Palazzo Adriano Contessa Entellina Campofelice di Fitalia Monreale Chiusa Sclafani Roccamena Mezzojuso
Monreale, Contessa Entellina and Bisacquino have an adjacent border with Corleone
Monreale Contessa Entellina Bisacquino
action filter_type
action find
entity Corleone
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Corleone']
SELECT DISTINCT ?q WHERE { resource:Corleone property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q207448
P417
Q502895
USER
Which person is the patron saint of that administrative territory ?
(Q207448,P417,c(Q502895))
action filter_type
action find
entity Q207448
relation P417
type Q502895
['Q207448', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q207448 property:P417 ?p }
Monreale
action filter_type
action find
entity Monreale
relation patron saint
type common name
['Monreale', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Monreale property:patron_saint ?p }
[]
common name
Clarification for simple ques.
Q207448
SYSTEM
Did you mean Monreale ?
Q207448 Q490808 Q496914
(Q207448,P417,c(Q502895)) (Q490808,P417,c(Q502895)) (Q496914,P417,c(Q502895))
[ANSWER]
['Q207448', 'P417', {'concept': 'Q502895'}] ['Q490808', 'P417', {'concept': 'Q502895'}] ['Q496914', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q207448 property:P417 ?p }
Monreale Contessa Entellina Bisacquino
Did you mean Monreale ?
Monreale
['Monreale', 'patron saint', {'concept': 'common name'}] ['Contessa Entellina', 'patron saint', {'concept': 'common name'}] ['Bisacquino', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Monreale property:patron_saint ?p }
[]
Simple Question (Coreferenced)
USER
Yes
(Q207448,P417,c(Q502895))
['Q207448', 'P417', {'concept': 'Q502895'}]
['Monreale', 'patron saint', {'concept': 'common name'}]
[]
Q3663117
SYSTEM
Castrese di Sessa
Q3663117
(Q207448,P417,c(Q502895))
action filter_type
action find
entity Q207448
relation P417
type Q502895
[ANSWER] is the patron saint of that administrative territory
['Q207448', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q207448 property:P417 ?p }
Castrese di Sessa
Castrese di Sessa is the patron saint of that administrative territory
Castrese di Sessa
action filter_type
action find
entity Monreale
relation patron saint
type common name
['Monreale', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Monreale property:patron_saint ?p }
[]