Simple Question (Direct)
Simple Question
Q653159
P1411
Q4220917
USER
Which film award was Graham King nominated for ?
(Q653159,P1411,c(Q4220917))
action filter_type
action find
entity Q653159
relation P1411
type Q4220917
['Q653159', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q653159 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Graham King
action filter_type
action find
entity Graham King
relation nominated for
type film award
['Graham King', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Graham_King property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]
film award
Q102427
SYSTEM
Academy Award for Best Picture
Q102427
(Q653159,P1411,c(Q4220917))
action filter_type
action find
entity Q653159
relation P1411
type Q4220917
Graham King was nominated for [ANSWER]
['Q653159', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?c WHERE { resource:Q653159 property:P1411 ?c . ?c rdf:type ontology:Q4220917 }
Academy Award for Best Picture
Graham King was nominated for Academy Award for Best Picture
Academy Award for Best Picture
action filter_type
action find
entity Graham King
relation nominated for
type film award
['Graham King', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?c WHERE { resource:Graham_King property:nominated_for ?c . ?c rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653159
P1431
Q838948
USER
Which work of art is produced by Graham King ?
(c(Q838948),P1431,Q653159)
action filter_type
action find_reverse
entity Q653159
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q653159']
SELECT DISTINCT ?l WHERE { ?l property:P1431 resource:Q653159 . ?l rdf:type ontology:Q838948 }
Graham King
action filter_type
action find_reverse
entity Graham King
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Graham King']
SELECT DISTINCT ?l WHERE { ?l property:executive_producer resource:Graham_King . ?l rdf:type ontology:work_of_art }
[]
work of art
Q59653
SYSTEM
Argo
Q59653
(c(Q838948),P1431,Q653159)
action filter_type
action find_reverse
entity Q653159
relation P1431
type Q838948
As [ANSWER] is produced by Graham King
[{'concept': 'Q838948'}, 'P1431', 'Q653159']
SELECT DISTINCT ?l WHERE { ?l property:P1431 resource:Q653159 . ?l rdf:type ontology:Q838948 }
Argo
As Argo is produced by Graham King
Argo
action filter_type
action find_reverse
entity Graham King
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Graham King']
SELECT DISTINCT ?l WHERE { ?l property:executive_producer resource:Graham_King . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q59653
P800
Q502895
USER
Which person has that one as a notable work ?
(c(Q502895),P800,Q59653)
action filter_type
action find_reverse
entity Q59653
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q59653']
SELECT DISTINCT ?p WHERE { ?p property:P800 resource:Q59653 . ?p rdf:type ontology:Q502895 }
Argo
action filter_type
action find_reverse
entity Argo
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Argo']
SELECT DISTINCT ?p WHERE { ?p property:notable_work resource:Argo . ?p rdf:type ontology:common_name }
[]
common name
Q710180
SYSTEM
Grant Heslov
Q710180
(c(Q502895),P800,Q59653)
action filter_type
action find_reverse
entity Q59653
relation P800
type Q502895
[ANSWER] has that one as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q59653']
SELECT DISTINCT ?p WHERE { ?p property:P800 resource:Q59653 . ?p rdf:type ontology:Q502895 }
Grant Heslov
Grant Heslov has that one as a notable work
Grant Heslov
action filter_type
action find_reverse
entity Argo
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Argo']
SELECT DISTINCT ?p WHERE { ?p property:notable_work resource:Argo . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q710180
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q710180)
action filter_type
action find_reverse
entity Q710180
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q710180']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q710180 . ?j rdf:type ontology:Q838948 }
Grant Heslov
action filter_type
action find_reverse
entity Grant Heslov
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Grant Heslov']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Grant_Heslov . ?j rdf:type ontology:work_of_art }
[]
work of art
Q110397 Q461682 Q319061
SYSTEM
True Lies, The Scorpion King, Good Night, and Good Luck.
Q5051654 Q319061 Q1841587 Q110397 Q1144967 Q1210807 Q513411 Q4407383 Q1160005 Q914247 Q661406 Q461682 Q880549 Q2540791 Q598860 Q742733
(c(Q838948),P161,Q710180)
action filter_type
action find_reverse
entity Q710180
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q710180']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q710180 . ?j rdf:type ontology:Q838948 }
Catch Me If You Can Good Night, and Good Luck. Lost Angeles True Lies To Each His Own Cinema The Journey of Natty Gann License to Drive Monuments Men The Birdcage Dante's Peak Dangerous Curves The Scorpion King Black Sheep Waiting for Woody Congo Revenge of the Nerds III: The Next Generation
True Lies, The Scorpion King and Good Night, and Good Luck. have that person as actor
True Lies The Scorpion King Good Night, and Good Luck.
action filter_type
action find_reverse
entity Grant Heslov
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Grant Heslov']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Grant_Heslov . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q710180 Q5699812
P1412
Q34770
USER
How many languages can Grant Heslov or Antonio Salas read ?
(Q710180,P1412,c(Q34770)) (Q5699812,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q710180
relation P1412
type Q34770
action filter_type
action find
entity Q5699812
relation P1412
type Q34770
['Q710180', 'P1412', {'concept': 'Q34770'}] ['Q5699812', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { ?t rdf:type ontology:Q34770 . resource:Q5699812 property:P1412 ?t } UNION { resource:Q710180 property:P1412 ?t . ?t rdf:type ontology:Q34770 } }
Grant Heslov Antonio Salas
action count
action union
action filter_type
action find
entity Grant Heslov
relation languages spoken, written or signed
type language
action filter_type
action find
entity Antonio Salas
relation languages spoken, written or signed
type language
['Grant Heslov', 'languages spoken, written or signed', {'concept': 'language'}] ['Antonio Salas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { ?t rdf:type ontology:language . resource:Antonio_Salas property:languages_spoken,_written_or_signed ?t } UNION { resource:Grant_Heslov property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } }
[]
language
SYSTEM
2
Q1860 Q1321
(Q710180,P1412,c(Q34770)) (Q5699812,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q710180
relation P1412
type Q34770
action filter_type
action find
entity Q5699812
relation P1412
type Q34770
[ANSWER]
['Q710180', 'P1412', {'concept': 'Q34770'}] ['Q5699812', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { ?t rdf:type ontology:Q34770 . resource:Q5699812 property:P1412 ?t } UNION { resource:Q710180 property:P1412 ?t . ?t rdf:type ontology:Q34770 } }
English Spanish
2
action count
action union
action filter_type
action find
entity Grant Heslov
relation languages spoken, written or signed
type language
action filter_type
action find
entity Antonio Salas
relation languages spoken, written or signed
type language
['Grant Heslov', 'languages spoken, written or signed', {'concept': 'language'}] ['Antonio Salas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { ?t rdf:type ontology:language . resource:Antonio_Salas property:languages_spoken,_written_or_signed ?t } UNION { resource:Grant_Heslov property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q110397
P840
Q515 Q56061
USER
How many cities and administrative territories are True Lies set in ?
(Q110397,P840,c(Q515)) (Q110397,P840,c(Q56061))
action count
action union
action filter_type
action find
entity Q110397
relation P840
type Q515
action filter_type
action find
entity Q110397
relation P840
type Q56061
['Q110397', 'P840', {'concept': 'Q515'}] ['Q110397', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ontology:Q515 . resource:Q110397 property:P840 ?a } UNION { resource:Q110397 property:P840 ?a . ?a rdf:type ontology:Q56061 } }
True Lies
action count
action union
action filter_type
action find
entity True Lies
relation narrative location
type city
action filter_type
action find
entity True Lies
relation narrative location
type administrative territorial entity
['True Lies', 'narrative location', {'concept': 'city'}] ['True Lies', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ontology:city . resource:True_Lies property:narrative_location ?a } UNION { resource:True_Lies property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
city administrative territorial entity
SYSTEM
1 cities and 1 administrative territories
Q61 Q8652
(Q110397,P840,c(Q515)) (Q110397,P840,c(Q56061))
action count
action union
action filter_type
action find
entity Q110397
relation P840
type Q515
action filter_type
action find
entity Q110397
relation P840
type Q56061
[ANSWER]
['Q110397', 'P840', {'concept': 'Q515'}] ['Q110397', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ontology:Q515 . resource:Q110397 property:P840 ?a } UNION { resource:Q110397 property:P840 ?a . ?a rdf:type ontology:Q56061 } }
Washington, D.C. Miami
1 cities and 1 administrative territories
action count
action union
action filter_type
action find
entity True Lies
relation narrative location
type city
action filter_type
action find
entity True Lies
relation narrative location
type administrative territorial entity
['True Lies', 'narrative location', {'concept': 'city'}] ['True Lies', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ontology:city . resource:True_Lies property:narrative_location ?a } UNION { resource:True_Lies property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]