Simple Question (Direct)
Simple Question
Q7991344
P364
Q34770
USER
Which language was used originally for the creation of What Now, Catherine Curtis? ?
(Q7991344,P364,c(Q34770))
action filter_type
action find
entity Q7991344
relation P364
type Q34770
['Q7991344', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q7991344 property:P364 ?i . ?i rdf:type ontology:Q34770 }
What Now, Catherine Curtis?
action filter_type
action find
entity What Now, Catherine Curtis?
relation original language of work
type language
['What Now, Catherine Curtis?', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:What_Now,_Catherine_Curtis? property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7991344,P364,c(Q34770))
action filter_type
action find
entity Q7991344
relation P364
type Q34770
[ANSWER] was used originally for the creation of What Now, Catherine Curtis
['Q7991344', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q7991344 property:P364 ?i . ?i rdf:type ontology:Q34770 }
English
English was used originally for the creation of What Now, Catherine Curtis
English
action filter_type
action find
entity What Now, Catherine Curtis?
relation original language of work
type language
['What Now, Catherine Curtis?', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:What_Now,_Catherine_Curtis? property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7991344
P57
Q502895
USER
Who directed that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q7991344
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7991344 property:P57 ?i . ?i rdf:type ontology:Q502895 }
What Now, Catherine Curtis?
action filter_type
action find
entity What Now, Catherine Curtis?
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:What_Now,_Catherine_Curtis? property:director ?i . ?i rdf:type ontology:common_name }
[]
common name
Q953753
SYSTEM
Charles Walters
Q953753
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q7991344
relation P57
type Q502895
[ANSWER] directed that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7991344 property:P57 ?i . ?i rdf:type ontology:Q502895 }
Charles Walters
Charles Walters directed that work of art
Charles Walters
action filter_type
action find
entity What Now, Catherine Curtis?
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:What_Now,_Catherine_Curtis? property:director ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q953753 Q382576 Q30
P27
Q15617994
USER
Is Charles Walters a civilian of Ardauli and United States of America ?
(Q953753,P27,Q382576) (Q953753,P27,Q30)
action is_in
entity Q953753
action intersection
action find_reverse
entity Q382576
relation P27
action find_reverse
entity Q30
relation P27
['Q953753', 'P27', 'Q382576'] ['Q953753', 'P27', 'Q30']
ASK WHERE { resource:Q953753 property:P27 resource:Q382576 . resource:Q953753 property:P27 resource:Q30 }
Charles Walters Ardauli United States of America
action is_in
entity Charles Walters
action intersection
action find_reverse
entity Ardauli
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Charles Walters', 'country of citizenship', 'Ardauli'] ['Charles Walters', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Charles_Walters property:country_of_citizenship resource:Ardauli . resource:Charles_Walters property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q953753,P27,Q382576) (Q953753,P27,Q30)
action is_in
entity Q953753
action intersection
action find_reverse
entity Q382576
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q953753', 'P27', 'Q382576'] ['Q953753', 'P27', 'Q30']
ASK WHERE { resource:Q953753 property:P27 resource:Q382576 . resource:Q953753 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Charles Walters
action intersection
action find_reverse
entity Ardauli
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Charles Walters', 'country of citizenship', 'Ardauli'] ['Charles Walters', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Charles_Walters property:country_of_citizenship resource:Ardauli . resource:Charles_Walters property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7991344 Q961851
P86
Q502895
USER
Did Nelson Riddle compose that work of art ?
(Q7991344,P86,Q961851)
action is_in
entity Q961851
action find
entity Q7991344
relation P86
['Q7991344', 'P86', 'Q961851']
ASK WHERE { resource:Q7991344 property:P86 resource:Q961851 }
What Now, Catherine Curtis? Nelson Riddle
action is_in
entity Nelson Riddle
action find
entity What Now, Catherine Curtis?
relation composer
['What Now, Catherine Curtis?', 'composer', 'Nelson Riddle']
ASK WHERE { resource:What_Now,_Catherine_Curtis? property:composer resource:Nelson_Riddle }
[]
common name
SYSTEM
YES
(Q7991344,P86,Q961851)
action is_in
entity Q961851
action find
entity Q7991344
relation P86
[ANSWER]
['Q7991344', 'P86', 'Q961851']
ASK WHERE { resource:Q7991344 property:P86 resource:Q961851 }
Yes
action is_in
entity Nelson Riddle
action find
entity What Now, Catherine Curtis?
relation composer
['What Now, Catherine Curtis?', 'composer', 'Nelson Riddle']
ASK WHERE { resource:What_Now,_Catherine_Curtis? property:composer resource:Nelson_Riddle }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q201658 Q15416
USER
Which works of art were min number of film genres or television programs inspired by ?
(c(Q201658)|c(Q15416),P941,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?e rdf:type ?v } GROUP BY ?x } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?w WHERE { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?k rdf:type ?z } GROUP BY ?w } }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?x WHERE { VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?e rdf:type ?v } GROUP BY ?x } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?w WHERE { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?k rdf:type ?z } GROUP BY ?w } }
[]
work of art film genre television program
Q17738 Q107724 Q201293
SYSTEM
Star Wars Episode IV: A New Hope, Thunderball, Roman Holiday
Q125191 Q1136305 Q107724 Q1217787 Q1856846 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q41567 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q375786 Q83186 Q465478 Q493755 Q214619
(c(Q201658)|c(Q15416),P941,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
[ANSWERS] were min number of film genres or television programs inspired by
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?e rdf:type ?v } GROUP BY ?x } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?w WHERE { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } . ?k rdf:type ?z } GROUP BY ?w } }
photograph Doryphoros Thunderball The Time Machine The Ballad of Cable Hogue Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso Hamlet The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan Coming to America The Little Mermaid
Star Wars Episode IV: A New Hope, Thunderball and Roman Holiday were min number of film genres or television programs inspired by
Star Wars Episode IV: A New Hope Thunderball Roman Holiday
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?x WHERE { VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?e rdf:type ?v } GROUP BY ?x } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?w WHERE { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:film_genre ) } . ?k rdf:type ?z } GROUP BY ?w } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q6619679
USER
How many fictional humanoids are from the works of that work of art ?
(c(Q6619679),P1441,Q107724)
[{'concept': 'Q6619679'}, 'P1441', 'Q107724']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q655082 . ?z rdf:type ontology:Q6619679 }
[{'concept': 'fictional humanoid'}, 'present in work', 'Thunderball']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Thunderball . ?z rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Quantitative|Count|Single entity type|Clarification
Q107724
SYSTEM
Did you mean Thunderball ?
(c(Q6619679),P1441,Q17738) (c(Q6619679),P1441,Q107724) (c(Q6619679),P1441,Q201293)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q17738'] [{'concept': 'Q6619679'}, 'P1441', 'Q107724'] [{'concept': 'Q6619679'}, 'P1441', 'Q201293']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q655082 . ?z rdf:type ontology:Q6619679 }
Did you mean Thunderball ?
Thunderball
[{'concept': 'fictional humanoid'}, 'present in work', 'Star Wars Episode IV: A New Hope'] [{'concept': 'fictional humanoid'}, 'present in work', 'Thunderball'] [{'concept': 'fictional humanoid'}, 'present in work', 'Roman Holiday']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Thunderball . ?z rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q6619679),P1441,Q107724)
[{'concept': 'Q6619679'}, 'P1441', 'Q107724']
[{'concept': 'fictional humanoid'}, 'present in work', 'Thunderball']
[]
SYSTEM
14
Q3898185 Q2696235 Q3897705 Q9615315 Q2056815 Q287297 Q10389214 Q2142742 Q1104987 Q246154 Q1779543 Q18244917 Q2009573 Q211414
(c(Q6619679),P1441,Q107724)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q107724']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q655082 . ?z rdf:type ontology:Q6619679 }
Paula Caplan Domino Vitali Patricia Fearing Angelo Palazzi Fiona Volpe Q Vargas Emilio Largo Ernst Stavro Blofeld M Felix Leiter Count Lippe James Bond Miss Moneypenny
14
[{'concept': 'fictional humanoid'}, 'present in work', 'Thunderball']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Thunderball . ?z rdf:type ontology:fictional_humanoid }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1738793 Q107724
P161 P1346
Q502895
USER
Which people starred in Thunderball and won Kennedy Center Honors ?
AND((Q107724,P161,c(Q502895)), (Q1738793,P1346,c(Q502895)))
action filter_type
action intersection
action find
entity Q107724
relation P161
action find
entity Q1738793
relation P1346
type Q502895
{'AND': [['Q107724', 'P161', {'concept': 'Q502895'}], ['Q1738793', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q107724 property:P161 ?i . resource:Q1738793 property:P1346 ?i }
Kennedy Center Honors Thunderball
action filter_type
action intersection
action find
entity Thunderball
relation cast member
action find
entity Kennedy Center Honors
relation winner
type common name
{'AND': [['Thunderball', 'cast member', {'concept': 'common name'}], ['Kennedy Center Honors', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Thunderball property:cast_member ?i . resource:Kennedy_Center_Honors property:winner ?i }
[]
common name
Q4573
SYSTEM
Sean Connery
Q4573
AND((Q107724,P161,c(Q502895)), (Q1738793,P1346,c(Q502895)))
action filter_type
action intersection
action find
entity Q107724
relation P161
action find
entity Q1738793
relation P1346
type Q502895
[ANSWER] starred in Thunderball and won Kennedy Center Honors
{'AND': [['Q107724', 'P161', {'concept': 'Q502895'}], ['Q1738793', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q107724 property:P161 ?i . resource:Q1738793 property:P1346 ?i }
Sean Connery
Sean Connery starred in Thunderball and won Kennedy Center Honors
Sean Connery
action filter_type
action intersection
action find
entity Thunderball
relation cast member
action find
entity Kennedy Center Honors
relation winner
type common name
{'AND': [['Thunderball', 'cast member', {'concept': 'common name'}], ['Kennedy Center Honors', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Thunderball property:cast_member ?i . resource:Kennedy_Center_Honors property:winner ?i }
[]