Simple Question (Direct)
Simple Question
Q5353303
P26
Q502895
USER
Which person is the spouse of Elaine Taylor ?
(Q5353303,P26,c(Q502895))
action filter_type
action find
entity Q5353303
relation P26
type Q502895
['Q5353303', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5353303 property:P26 ?a }
Elaine Taylor
action filter_type
action find
entity Elaine Taylor
relation spouse
type common name
['Elaine Taylor', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Elaine_Taylor property:spouse ?a }
[]
common name
Q190523
SYSTEM
Christopher Plummer
Q190523
(Q5353303,P26,c(Q502895))
action filter_type
action find
entity Q5353303
relation P26
type Q502895
[ANSWER] is the spouse of Elaine Taylor
['Q5353303', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5353303 property:P26 ?a }
Christopher Plummer
Christopher Plummer is the spouse of Elaine Taylor
Christopher Plummer
action filter_type
action find
entity Elaine Taylor
relation spouse
type common name
['Elaine Taylor', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Elaine_Taylor property:spouse ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190523
P1346
Q4220917
USER
Which film awards were won by that person ?
(c(Q4220917),P1346,Q190523)
action filter_type
action find_reverse
entity Q190523
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q190523']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q190523 . ?w rdf:type ontology:Q4220917 }
Christopher Plummer
action filter_type
action find_reverse
entity Christopher Plummer
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Christopher Plummer']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Christopher_Plummer . ?w rdf:type ontology:film_award }
[]
film award
Q106291 Q165313 Q548389
SYSTEM
Academy Award for Best Supporting Actor, National Society of Film Critics Award for Best Supporting Actor, BAFTA Award for Best Actor in a Supporting Role
Q165313 Q548389 Q1075361 Q106291
(c(Q4220917),P1346,Q190523)
action filter_type
action find_reverse
entity Q190523
relation P1346
type Q4220917
Academy Award for Best supporting Actor, National Society of Film Critics Award for Best supporting Actor and BAFTA Award for Best Actor in a supporting Role were won by that person
[{'concept': 'Q4220917'}, 'P1346', 'Q190523']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q190523 . ?w rdf:type ontology:Q4220917 }
National Society of Film Critics Award for Best Supporting Actor BAFTA Award for Best Actor in a Supporting Role Chlotrudis Award for Best Supporting Actor Academy Award for Best Supporting Actor
Academy Award for Best supporting Actor, National Society of Film Critics Award for Best supporting Actor and BAFTA Award for Best Actor in a supporting Role were won by that person
Academy Award for Best Supporting Actor National Society of Film Critics Award for Best Supporting Actor BAFTA Award for Best Actor in a Supporting Role
action filter_type
action find_reverse
entity Christopher Plummer
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Christopher Plummer']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Christopher_Plummer . ?w rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190523
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q106291,P27,c(Q1048835)) (Q165313,P27,c(Q1048835)) (Q548389,P27,c(Q1048835))
action filter_type
action find
entity Q190523
relation P27
type Q1048835
['Q106291', 'P27', {'concept': 'Q1048835'}] ['Q165313', 'P27', {'concept': 'Q1048835'}] ['Q548389', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q190523 property:P27 ?s }
Christopher Plummer
action filter_type
action find
entity Christopher Plummer
relation country of citizenship
type political territorial entity
['Academy Award for Best Supporting Actor', 'country of citizenship', {'concept': 'political territorial entity'}] ['National Society of Film Critics Award for Best Supporting Actor', 'country of citizenship', {'concept': 'political territorial entity'}] ['BAFTA Award for Best Actor in a Supporting Role', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Christopher_Plummer property:country_of_citizenship ?s }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q106291,P27,c(Q1048835)) (Q165313,P27,c(Q1048835)) (Q548389,P27,c(Q1048835))
action filter_type
action find
entity Q190523
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q106291', 'P27', {'concept': 'Q1048835'}] ['Q165313', 'P27', {'concept': 'Q1048835'}] ['Q548389', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q190523 property:P27 ?s }
Canada
Canada is that person a civilian of
Canada
action filter_type
action find
entity Christopher Plummer
relation country of citizenship
type political territorial entity
['Academy Award for Best Supporting Actor', 'country of citizenship', {'concept': 'political territorial entity'}] ['National Society of Film Critics Award for Best Supporting Actor', 'country of citizenship', {'concept': 'political territorial entity'}] ['BAFTA Award for Best Actor in a Supporting Role', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Christopher_Plummer property:country_of_citizenship ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q165313
P1411 P27
Q502895
USER
Which people were nominated for National Society of Film Critics Award for Best Supporting Actor and are a native of United States of America ?
AND((c(Q502895),P1411,Q165313), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q165313
relation P1411
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q165313'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P1411 resource:Q165313 . ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 }
United States of America National Society of Film Critics Award for Best Supporting Actor
action filter_type
action intersection
action find_reverse
entity National Society of Film Critics Award for Best Supporting Actor
relation nominated for
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'National Society of Film Critics Award for Best Supporting Actor'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:nominated_for resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actor . ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
common name
Q104791 Q1375823 Q107249 Q316641 Q23365 Q374065 Q108283 Q125904 Q104061 Q102711
SYSTEM
Ed Harris, Paul Schneider, Tony Shalhoub, Joel Grey, Jeremy Renner, Patton Oswalt, Alan Arkin, Edward Norton, Steve Buscemi, Dennis Hopper
Q104791 Q1375823 Q107249 Q316641 Q23365 Q374065 Q108283 Q125904 Q104061 Q102711
AND((c(Q502895),P1411,Q165313), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q165313
relation P1411
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] were nominated for National Society of Film Critics Award for Best Supporting Actor and are a native of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q165313'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P1411 resource:Q165313 . ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 }
Ed Harris Paul Schneider Tony Shalhoub Joel Grey Jeremy Renner Patton Oswalt Alan Arkin Edward Norton Steve Buscemi Dennis Hopper
Ed Harris, Paul Schneider, Tony Shalhoub, Joel Grey, Jeremy Renner, Patton Oswalt, Alan Arkin, Edward Norton, Steve Buscemi and Dennis Hopper were nominated for National Society of Film Critics Award for Best Supporting Actor and are a native of United States of America
Ed Harris Paul Schneider Tony Shalhoub Joel Grey Jeremy Renner Patton Oswalt Alan Arkin Edward Norton Steve Buscemi Dennis Hopper
action filter_type
action intersection
action find_reverse
entity National Society of Film Critics Award for Best Supporting Actor
relation nominated for
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'National Society of Film Critics Award for Best Supporting Actor'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:nominated_for resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actor . ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q838948 Q11424
USER
How many works of art or films do that person star in ?
(c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104791) (c(Q11424),P161,Q104791) (c(Q838948),P161,Q1375823) (c(Q11424),P161,Q1375823) (c(Q838948),P161,Q107249) (c(Q11424),P161,Q107249) (c(Q838948),P161,Q316641) (c(Q11424),P161,Q316641) (c(Q838948),P161,Q23365) (c(Q11424),P161,Q23365) (c(Q838948),P161,Q374065) (c(Q11424),P161,Q374065) (c(Q838948),P161,Q108283) (c(Q11424),P161,Q108283) (c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104061) (c(Q11424),P161,Q104061) (c(Q838948),P161,Q102711) (c(Q11424),P161,Q102711)
[{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104791'] [{'concept': 'Q11424'}, 'P161', 'Q104791'] [{'concept': 'Q838948'}, 'P161', 'Q1375823'] [{'concept': 'Q11424'}, 'P161', 'Q1375823'] [{'concept': 'Q838948'}, 'P161', 'Q107249'] [{'concept': 'Q11424'}, 'P161', 'Q107249'] [{'concept': 'Q838948'}, 'P161', 'Q316641'] [{'concept': 'Q11424'}, 'P161', 'Q316641'] [{'concept': 'Q838948'}, 'P161', 'Q23365'] [{'concept': 'Q11424'}, 'P161', 'Q23365'] [{'concept': 'Q838948'}, 'P161', 'Q374065'] [{'concept': 'Q11424'}, 'P161', 'Q374065'] [{'concept': 'Q838948'}, 'P161', 'Q108283'] [{'concept': 'Q11424'}, 'P161', 'Q108283'] [{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104061'] [{'concept': 'Q11424'}, 'P161', 'Q104061'] [{'concept': 'Q838948'}, 'P161', 'Q102711'] [{'concept': 'Q11424'}, 'P161', 'Q102711']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104791 } UNION { ?y property:Q3297652 resource:Q104791 } UNION { ?z property:Q3297652 resource:Q18328018 } UNION { ?y property:Q3297652 resource:Q18328018 } UNION { ?z property:Q3297652 resource:Q107249 } UNION { ?y property:Q3297652 resource:Q107249 } UNION { ?z property:Q3297652 resource:Q316641 } UNION { ?y property:Q3297652 resource:Q316641 } UNION { ?z property:Q3297652 resource:Q23365 } UNION { ?y property:Q3297652 resource:Q23365 } UNION { ?z property:Q3297652 resource:Q374065 } UNION { ?y property:Q3297652 resource:Q374065 } UNION { ?z property:Q3297652 resource:Q108283 } UNION { ?y property:Q3297652 resource:Q108283 } UNION { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104061 } UNION { ?y property:Q3297652 resource:Q104061 } UNION { ?z property:Q3297652 resource:Q21161337 } UNION { ?y property:Q3297652 resource:Q21161337 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q11424 }
[{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Ed Harris'] [{'concept': 'film'}, 'cast member', 'Ed Harris'] [{'concept': 'work of art'}, 'cast member', 'Paul Schneider'] [{'concept': 'film'}, 'cast member', 'Paul Schneider'] [{'concept': 'work of art'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'film'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'work of art'}, 'cast member', 'Joel Grey'] [{'concept': 'film'}, 'cast member', 'Joel Grey'] [{'concept': 'work of art'}, 'cast member', 'Jeremy Renner'] [{'concept': 'film'}, 'cast member', 'Jeremy Renner'] [{'concept': 'work of art'}, 'cast member', 'Patton Oswalt'] [{'concept': 'film'}, 'cast member', 'Patton Oswalt'] [{'concept': 'work of art'}, 'cast member', 'Alan Arkin'] [{'concept': 'film'}, 'cast member', 'Alan Arkin'] [{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Steve Buscemi'] [{'concept': 'film'}, 'cast member', 'Steve Buscemi'] [{'concept': 'work of art'}, 'cast member', 'Dennis Hopper'] [{'concept': 'film'}, 'cast member', 'Dennis Hopper']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Ed_Harris } UNION { ?y property:cast_member resource:Ed_Harris } UNION { ?z property:cast_member resource:Paul_Schneider } UNION { ?y property:cast_member resource:Paul_Schneider } UNION { ?z property:cast_member resource:Tony_Shalhoub } UNION { ?y property:cast_member resource:Tony_Shalhoub } UNION { ?z property:cast_member resource:Joel_Grey } UNION { ?y property:cast_member resource:Joel_Grey } UNION { ?z property:cast_member resource:Jeremy_Renner } UNION { ?y property:cast_member resource:Jeremy_Renner } UNION { ?z property:cast_member resource:Patton_Oswalt } UNION { ?y property:cast_member resource:Patton_Oswalt } UNION { ?z property:cast_member resource:Alan_Arkin } UNION { ?y property:cast_member resource:Alan_Arkin } UNION { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Steve_Buscemi } UNION { ?y property:cast_member resource:Steve_Buscemi } UNION { ?z property:cast_member resource:Dennis_Hopper } UNION { ?y property:cast_member resource:Dennis_Hopper } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film }
[]
work of art film
Quantitative|Count|Mult. entity type|Clarification
Q107249
SYSTEM
Did you mean Tony Shalhoub ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104791 } UNION { ?y property:Q3297652 resource:Q104791 } UNION { ?z property:Q3297652 resource:Q18328018 } UNION { ?y property:Q3297652 resource:Q18328018 } UNION { ?z property:Q3297652 resource:Q107249 } UNION { ?y property:Q3297652 resource:Q107249 } UNION { ?z property:Q3297652 resource:Q316641 } UNION { ?y property:Q3297652 resource:Q316641 } UNION { ?z property:Q3297652 resource:Q23365 } UNION { ?y property:Q3297652 resource:Q23365 } UNION { ?z property:Q3297652 resource:Q374065 } UNION { ?y property:Q3297652 resource:Q374065 } UNION { ?z property:Q3297652 resource:Q108283 } UNION { ?y property:Q3297652 resource:Q108283 } UNION { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104061 } UNION { ?y property:Q3297652 resource:Q104061 } UNION { ?z property:Q3297652 resource:Q21161337 } UNION { ?y property:Q3297652 resource:Q21161337 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q11424 }
Did you mean Tony Shalhoub ?
Tony Shalhoub
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Ed_Harris } UNION { ?y property:cast_member resource:Ed_Harris } UNION { ?z property:cast_member resource:Paul_Schneider } UNION { ?y property:cast_member resource:Paul_Schneider } UNION { ?z property:cast_member resource:Tony_Shalhoub } UNION { ?y property:cast_member resource:Tony_Shalhoub } UNION { ?z property:cast_member resource:Joel_Grey } UNION { ?y property:cast_member resource:Joel_Grey } UNION { ?z property:cast_member resource:Jeremy_Renner } UNION { ?y property:cast_member resource:Jeremy_Renner } UNION { ?z property:cast_member resource:Patton_Oswalt } UNION { ?y property:cast_member resource:Patton_Oswalt } UNION { ?z property:cast_member resource:Alan_Arkin } UNION { ?y property:cast_member resource:Alan_Arkin } UNION { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Steve_Buscemi } UNION { ?y property:cast_member resource:Steve_Buscemi } UNION { ?z property:cast_member resource:Dennis_Hopper } UNION { ?y property:cast_member resource:Dennis_Hopper } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Edward Norton. Could you tell me the answer for that?
(c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104791) (c(Q11424),P161,Q104791) (c(Q838948),P161,Q1375823) (c(Q11424),P161,Q1375823) (c(Q838948),P161,Q107249) (c(Q11424),P161,Q107249) (c(Q838948),P161,Q316641) (c(Q11424),P161,Q316641) (c(Q838948),P161,Q23365) (c(Q11424),P161,Q23365) (c(Q838948),P161,Q374065) (c(Q11424),P161,Q374065) (c(Q838948),P161,Q108283) (c(Q11424),P161,Q108283) (c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104061) (c(Q11424),P161,Q104061) (c(Q838948),P161,Q102711) (c(Q11424),P161,Q102711)
Q125904
[{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104791'] [{'concept': 'Q11424'}, 'P161', 'Q104791'] [{'concept': 'Q838948'}, 'P161', 'Q1375823'] [{'concept': 'Q11424'}, 'P161', 'Q1375823'] [{'concept': 'Q838948'}, 'P161', 'Q107249'] [{'concept': 'Q11424'}, 'P161', 'Q107249'] [{'concept': 'Q838948'}, 'P161', 'Q316641'] [{'concept': 'Q11424'}, 'P161', 'Q316641'] [{'concept': 'Q838948'}, 'P161', 'Q23365'] [{'concept': 'Q11424'}, 'P161', 'Q23365'] [{'concept': 'Q838948'}, 'P161', 'Q374065'] [{'concept': 'Q11424'}, 'P161', 'Q374065'] [{'concept': 'Q838948'}, 'P161', 'Q108283'] [{'concept': 'Q11424'}, 'P161', 'Q108283'] [{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104061'] [{'concept': 'Q11424'}, 'P161', 'Q104061'] [{'concept': 'Q838948'}, 'P161', 'Q102711'] [{'concept': 'Q11424'}, 'P161', 'Q102711']
[{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Ed Harris'] [{'concept': 'film'}, 'cast member', 'Ed Harris'] [{'concept': 'work of art'}, 'cast member', 'Paul Schneider'] [{'concept': 'film'}, 'cast member', 'Paul Schneider'] [{'concept': 'work of art'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'film'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'work of art'}, 'cast member', 'Joel Grey'] [{'concept': 'film'}, 'cast member', 'Joel Grey'] [{'concept': 'work of art'}, 'cast member', 'Jeremy Renner'] [{'concept': 'film'}, 'cast member', 'Jeremy Renner'] [{'concept': 'work of art'}, 'cast member', 'Patton Oswalt'] [{'concept': 'film'}, 'cast member', 'Patton Oswalt'] [{'concept': 'work of art'}, 'cast member', 'Alan Arkin'] [{'concept': 'film'}, 'cast member', 'Alan Arkin'] [{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Steve Buscemi'] [{'concept': 'film'}, 'cast member', 'Steve Buscemi'] [{'concept': 'work of art'}, 'cast member', 'Dennis Hopper'] [{'concept': 'film'}, 'cast member', 'Dennis Hopper']
[]
SYSTEM
30
Q494048 Q241941 Q750077 Q9125658 Q178966 Q1253203 Q218458 Q703931 Q602600 Q207698 Q22977777 Q3521099 Q35738 Q217112 Q822057 Q1810793 Q466611 Q190050 Q128854 Q17030810 Q208572 Q464964 Q648312 Q389151 Q1334572 Q1330582 Q13255497 Q1508501 Q832728 Q645735
(c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104791) (c(Q11424),P161,Q104791) (c(Q838948),P161,Q1375823) (c(Q11424),P161,Q1375823) (c(Q838948),P161,Q107249) (c(Q11424),P161,Q107249) (c(Q838948),P161,Q316641) (c(Q11424),P161,Q316641) (c(Q838948),P161,Q23365) (c(Q11424),P161,Q23365) (c(Q838948),P161,Q374065) (c(Q11424),P161,Q374065) (c(Q838948),P161,Q108283) (c(Q11424),P161,Q108283) (c(Q838948),P161,Q125904) (c(Q11424),P161,Q125904) (c(Q838948),P161,Q104061) (c(Q11424),P161,Q104061) (c(Q838948),P161,Q102711) (c(Q11424),P161,Q102711)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104791'] [{'concept': 'Q11424'}, 'P161', 'Q104791'] [{'concept': 'Q838948'}, 'P161', 'Q1375823'] [{'concept': 'Q11424'}, 'P161', 'Q1375823'] [{'concept': 'Q838948'}, 'P161', 'Q107249'] [{'concept': 'Q11424'}, 'P161', 'Q107249'] [{'concept': 'Q838948'}, 'P161', 'Q316641'] [{'concept': 'Q11424'}, 'P161', 'Q316641'] [{'concept': 'Q838948'}, 'P161', 'Q23365'] [{'concept': 'Q11424'}, 'P161', 'Q23365'] [{'concept': 'Q838948'}, 'P161', 'Q374065'] [{'concept': 'Q11424'}, 'P161', 'Q374065'] [{'concept': 'Q838948'}, 'P161', 'Q108283'] [{'concept': 'Q11424'}, 'P161', 'Q108283'] [{'concept': 'Q838948'}, 'P161', 'Q125904'] [{'concept': 'Q11424'}, 'P161', 'Q125904'] [{'concept': 'Q838948'}, 'P161', 'Q104061'] [{'concept': 'Q11424'}, 'P161', 'Q104061'] [{'concept': 'Q838948'}, 'P161', 'Q102711'] [{'concept': 'Q11424'}, 'P161', 'Q102711']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104791 } UNION { ?y property:Q3297652 resource:Q104791 } UNION { ?z property:Q3297652 resource:Q18328018 } UNION { ?y property:Q3297652 resource:Q18328018 } UNION { ?z property:Q3297652 resource:Q107249 } UNION { ?y property:Q3297652 resource:Q107249 } UNION { ?z property:Q3297652 resource:Q316641 } UNION { ?y property:Q3297652 resource:Q316641 } UNION { ?z property:Q3297652 resource:Q23365 } UNION { ?y property:Q3297652 resource:Q23365 } UNION { ?z property:Q3297652 resource:Q374065 } UNION { ?y property:Q3297652 resource:Q374065 } UNION { ?z property:Q3297652 resource:Q108283 } UNION { ?y property:Q3297652 resource:Q108283 } UNION { ?z property:Q3297652 resource:Q125904 } UNION { ?y property:Q3297652 resource:Q125904 } UNION { ?z property:Q3297652 resource:Q104061 } UNION { ?y property:Q3297652 resource:Q104061 } UNION { ?z property:Q3297652 resource:Q21161337 } UNION { ?y property:Q3297652 resource:Q21161337 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q11424 }
The Bourne Legacy The Score The People vs. Larry Flynt Red Dragon The Invention of Lying Down in the Valley 25th Hour Pride and Glory Death to Smoochy Kingdom of Heaven Collateral Beauty The Grand Budapest Hotel Frida Moonrise Kingdom Primal Fear Leaves of Grass The Incredible Hulk Fight Club The Painted Veil Sausage Party American History X The Dictator The Italian Job After the Sunset Everyone Says I Love You Keeping the Faith Birdman Stone Rounders The Illusionist
30
[{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Ed Harris'] [{'concept': 'film'}, 'cast member', 'Ed Harris'] [{'concept': 'work of art'}, 'cast member', 'Paul Schneider'] [{'concept': 'film'}, 'cast member', 'Paul Schneider'] [{'concept': 'work of art'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'film'}, 'cast member', 'Tony Shalhoub'] [{'concept': 'work of art'}, 'cast member', 'Joel Grey'] [{'concept': 'film'}, 'cast member', 'Joel Grey'] [{'concept': 'work of art'}, 'cast member', 'Jeremy Renner'] [{'concept': 'film'}, 'cast member', 'Jeremy Renner'] [{'concept': 'work of art'}, 'cast member', 'Patton Oswalt'] [{'concept': 'film'}, 'cast member', 'Patton Oswalt'] [{'concept': 'work of art'}, 'cast member', 'Alan Arkin'] [{'concept': 'film'}, 'cast member', 'Alan Arkin'] [{'concept': 'work of art'}, 'cast member', 'Edward Norton'] [{'concept': 'film'}, 'cast member', 'Edward Norton'] [{'concept': 'work of art'}, 'cast member', 'Steve Buscemi'] [{'concept': 'film'}, 'cast member', 'Steve Buscemi'] [{'concept': 'work of art'}, 'cast member', 'Dennis Hopper'] [{'concept': 'film'}, 'cast member', 'Dennis Hopper']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Ed_Harris } UNION { ?y property:cast_member resource:Ed_Harris } UNION { ?z property:cast_member resource:Paul_Schneider } UNION { ?y property:cast_member resource:Paul_Schneider } UNION { ?z property:cast_member resource:Tony_Shalhoub } UNION { ?y property:cast_member resource:Tony_Shalhoub } UNION { ?z property:cast_member resource:Joel_Grey } UNION { ?y property:cast_member resource:Joel_Grey } UNION { ?z property:cast_member resource:Jeremy_Renner } UNION { ?y property:cast_member resource:Jeremy_Renner } UNION { ?z property:cast_member resource:Patton_Oswalt } UNION { ?y property:cast_member resource:Patton_Oswalt } UNION { ?z property:cast_member resource:Alan_Arkin } UNION { ?y property:cast_member resource:Alan_Arkin } UNION { ?z property:cast_member resource:Edward_Norton } UNION { ?y property:cast_member resource:Edward_Norton } UNION { ?z property:cast_member resource:Steve_Buscemi } UNION { ?y property:cast_member resource:Steve_Buscemi } UNION { ?z property:cast_member resource:Dennis_Hopper } UNION { ?y property:cast_member resource:Dennis_Hopper } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102711
P69
Q163740
USER
Where was Dennis Hopper educated ?
(Q102711,P69,c(Q163740))
action filter_type
action find
entity Q102711
relation P69
type Q163740
['Q102711', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q163740 . resource:Q102711 property:P69 ?o }
Dennis Hopper
action filter_type
action find
entity Dennis Hopper
relation educated at
type nonprofit organization
['Dennis Hopper', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Dennis_Hopper property:educated_at ?o }
[]
nonprofit organization
Q6364655
SYSTEM
Kansas City Art Institute
Q6364655
(Q102711,P69,c(Q163740))
action filter_type
action find
entity Q102711
relation P69
type Q163740
Dennis Hopper was educated at [ANSWER]
['Q102711', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q163740 . resource:Q102711 property:P69 ?o }
Kansas City Art Institute
Dennis Hopper was educated at Kansas City Art Institute
Kansas City Art Institute
action filter_type
action find
entity Dennis Hopper
relation educated at
type nonprofit organization
['Dennis Hopper', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Dennis_Hopper property:educated_at ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102711
P19
Q56061
USER
Where was that person born ?
(Q6364655,P19,c(Q56061))
action filter_type
action find
entity Q102711
relation P19
type Q56061
['Q6364655', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q102711 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Dennis Hopper
action filter_type
action find
entity Dennis Hopper
relation place of birth
type administrative territorial entity
['Kansas City Art Institute', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dennis_Hopper property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q647127
SYSTEM
Dodge City
Q647127
(Q6364655,P19,c(Q56061))
action filter_type
action find
entity Q102711
relation P19
type Q56061
That person was born in [ANSWER]
['Q6364655', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q102711 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Dodge City
That person was born in Dodge City
Dodge City
action filter_type
action find
entity Dennis Hopper
relation place of birth
type administrative territorial entity
['Kansas City Art Institute', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dennis_Hopper property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q647127
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q647127,P17,c(Q15617994))
action filter_type
action find
entity Q647127
relation P17
type Q15617994
['Q647127', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q647127 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Dodge City
action filter_type
action find
entity Dodge City
relation country
type designation for an administrative territorial entity
['Dodge City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dodge_City property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q647127,P17,c(Q15617994))
action filter_type
action find
entity Q647127
relation P17
type Q15617994
That administrative territory is located the [ANSWER]
['Q647127', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q647127 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
That administrative territory is located the United States of America
United States of America
action filter_type
action find
entity Dodge City
relation country
type designation for an administrative territorial entity
['Dodge City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dodge_City property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q1305705
P495
Q838948
USER
Did The Love Bug originate in that administrative territory ?
(Q1305705,P495,Q30)
action is_in
entity Q30
action find
entity Q1305705
relation P495
['Q1305705', 'P495', 'Q30']
ASK WHERE { resource:Q1305705 property:P495 resource:Q30 }
United States of America The Love Bug
action is_in
entity United States of America
action find
entity The Love Bug
relation country of origin
['The Love Bug', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Love_Bug property:country_of_origin resource:United_States_of_America }
[]
work of art
SYSTEM
YES
(Q1305705,P495,Q30)
action is_in
entity Q30
action find
entity Q1305705
relation P495
[ANSWER]
['Q1305705', 'P495', 'Q30']
ASK WHERE { resource:Q1305705 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Love Bug
relation country of origin
['The Love Bug', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Love_Bug property:country_of_origin resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q104137 Q104061
P1411
Q4220917
USER
Which film awards were Steve Buscemi and Unforgiven nominated for ?
AND((Q104061,P1411,c(Q4220917)), (Q104137,P1411,c(Q4220917)))
action filter_type
action intersection
action find
entity Q104061
relation P1411
action find
entity Q104137
relation P1411
type Q4220917
{'AND': [['Q104061', 'P1411', {'concept': 'Q4220917'}], ['Q104137', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?k WHERE { resource:Q104137 property:P1411 ?k . resource:Q104061 property:P1411 ?k . ?k rdf:type ontology:Q4220917 }
Unforgiven Steve Buscemi
action filter_type
action intersection
action find
entity Steve Buscemi
relation nominated for
action find
entity Unforgiven
relation nominated for
type film award
{'AND': [['Steve Buscemi', 'nominated for', {'concept': 'film award'}], ['Unforgiven', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?k WHERE { resource:Unforgiven property:nominated_for ?k . resource:Steve_Buscemi property:nominated_for ?k . ?k rdf:type ontology:film_award }
[]
film award
Q723830 Q165313
SYSTEM
Golden Globe Award for Best Supporting Actor – Motion Picture, National Society of Film Critics Award for Best Supporting Actor
Q723830 Q165313
AND((Q104061,P1411,c(Q4220917)), (Q104137,P1411,c(Q4220917)))
action filter_type
action intersection
action find
entity Q104061
relation P1411
action find
entity Q104137
relation P1411
type Q4220917
Steve Buscemi and Unforgiven were nominated for [ANSWERS]
{'AND': [['Q104061', 'P1411', {'concept': 'Q4220917'}], ['Q104137', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?k WHERE { resource:Q104137 property:P1411 ?k . resource:Q104061 property:P1411 ?k . ?k rdf:type ontology:Q4220917 }
Golden Globe Award for Best Supporting Actor – Motion Picture National Society of Film Critics Award for Best Supporting Actor
Steve Buscemi and Unforgiven were nominated for Golden Globe Award for Best Supporting Actor – Motion Picture and National Society of Film Critics Award for Best Supporting Actor
Golden Globe Award for Best Supporting Actor – Motion Picture National Society of Film Critics Award for Best Supporting Actor
action filter_type
action intersection
action find
entity Steve Buscemi
relation nominated for
action find
entity Unforgiven
relation nominated for
type film award
{'AND': [['Steve Buscemi', 'nominated for', {'concept': 'film award'}], ['Unforgiven', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?k WHERE { resource:Unforgiven property:nominated_for ?k . resource:Steve_Buscemi property:nominated_for ?k . ?k rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1166180
P1411
Q838948
USER
Were Julia nominated for those film awards ?
(Q1166180,P1411,Q723830) (Q1166180,P1411,Q165313)
action is_in
entity prev_answer
action find
entity Q1166180
relation P1411
['Q1166180', 'P1411', 'Q723830'] ['Q1166180', 'P1411', 'Q165313']
ASK WHERE { resource:Q1166180 property:P1411 ?g . VALUES ( ?g ) { ( resource:Q723830 ) ( resource:Q165313 ) } }
Julia
action is_in
entity prev_answer
action find
entity Julia
relation nominated for
['Julia', 'nominated for', 'Golden Globe Award for Best Supporting Actor – Motion Picture'] ['Julia', 'nominated for', 'National Society of Film Critics Award for Best Supporting Actor']
ASK WHERE { resource:Julia property:nominated_for ?g . VALUES ( ?g ) { ( resource:Golden_Globe_Award_for_Best_Supporting_Actor_–_Motion_Picture ) ( resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actor ) } }
[]
work of art
SYSTEM
YES
(Q1166180,P1411,Q723830) (Q1166180,P1411,Q165313)
action is_in
entity prev_answer
action find
entity Q1166180
relation P1411
[ANSWER]
['Q1166180', 'P1411', 'Q723830'] ['Q1166180', 'P1411', 'Q165313']
ASK WHERE { resource:Q1166180 property:P1411 ?g . VALUES ( ?g ) { ( resource:Q723830 ) ( resource:Q165313 ) } }
Yes
action is_in
entity prev_answer
action find
entity Julia
relation nominated for
['Julia', 'nominated for', 'Golden Globe Award for Best Supporting Actor – Motion Picture'] ['Julia', 'nominated for', 'National Society of Film Critics Award for Best Supporting Actor']
ASK WHERE { resource:Julia property:nominated_for ?g . VALUES ( ?g ) { ( resource:Golden_Globe_Award_for_Best_Supporting_Actor_–_Motion_Picture ) ( resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actor ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5353303 Q914411
P27
Q15617994
USER
Does Elaine Taylor belong to Chengdong District ?
(Q5353303,P27,Q914411)
action is_in
entity Q914411
action find
entity Q5353303
relation P27
['Q5353303', 'P27', 'Q914411']
ASK WHERE { resource:Q5353303 property:P27 resource:Q914411 }
Elaine Taylor Chengdong District
action is_in
entity Chengdong District
action find
entity Elaine Taylor
relation country of citizenship
['Elaine Taylor', 'country of citizenship', 'Chengdong District']
ASK WHERE { resource:Elaine_Taylor property:country_of_citizenship resource:Chengdong_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5353303,P27,Q914411)
action is_in
entity Q914411
action find
entity Q5353303
relation P27
[ANSWER]
['Q5353303', 'P27', 'Q914411']
ASK WHERE { resource:Q5353303 property:P27 resource:Q914411 }
No
action is_in
entity Chengdong District
action find
entity Elaine Taylor
relation country of citizenship
['Elaine Taylor', 'country of citizenship', 'Chengdong District']
ASK WHERE { resource:Elaine_Taylor property:country_of_citizenship resource:Chengdong_District }
[]