Simple Question (Direct)
Simple Question
Q194599
P58
Q502895
USER
Who wrote the script for Return to Me ?
(Q194599,P58,c(Q502895))
action filter_type
action find
entity Q194599
relation P58
type Q502895
['Q194599', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q194599 property:P58 ?k . ?k rdf:type ontology:Q502895 }
Return to Me
action filter_type
action find
entity Return to Me
relation screenwriter
type common name
['Return to Me', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Return_to_Me property:screenwriter ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5292954
SYSTEM
Don Lake
Q5292954
(Q194599,P58,c(Q502895))
action filter_type
action find
entity Q194599
relation P58
type Q502895
The [ANSWER] wrote the script for Return to Me
['Q194599', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q194599 property:P58 ?k . ?k rdf:type ontology:Q502895 }
Don Lake
The Don Lake wrote the script for Return to Me
Don Lake
action filter_type
action find
entity Return to Me
relation screenwriter
type common name
['Return to Me', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Return_to_Me property:screenwriter ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5292954
P725
Q1001378
USER
Which cinematic technique did that person dub for ?
(c(Q1001378),P725,Q5292954)
action filter_type
action find_reverse
entity Q5292954
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', 'Q5292954']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1001378 . ?k property:P725 resource:Q5292954 }
Don Lake
action filter_type
action find_reverse
entity Don Lake
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'Don Lake']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cinematic_technique . ?k property:voice_actor resource:Don_Lake }
[]
cinematic technique
Q15270647
SYSTEM
Zootopia
Q15270647
(c(Q1001378),P725,Q5292954)
action filter_type
action find_reverse
entity Q5292954
relation P725
type Q1001378
That person dubbed by [ANSWER]
[{'concept': 'Q1001378'}, 'P725', 'Q5292954']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1001378 . ?k property:P725 resource:Q5292954 }
Zootopia
That person dubbed by Zootopia
Zootopia
action filter_type
action find_reverse
entity Don Lake
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'Don Lake']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cinematic_technique . ?k property:voice_actor resource:Don_Lake }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1441
Q27277631 Q16521
USER
How many fictional mammals or taxons are featured in that cinematic technique ?
(c(Q27277631),P1441,Q15270647) (c(Q16521),P1441,Q15270647) (c(Q27277631),P1441,Q15270647) (c(Q16521),P1441,Q15270647)
action count
action union
action filter_type
action find_reverse
entity Q15270647
relation P1441
type Q27277631
action filter_type
action find_reverse
entity Q15270647
relation P1441
type Q16521
[{'concept': 'Q27277631'}, 'P1441', 'Q15270647'] [{'concept': 'Q16521'}, 'P1441', 'Q15270647'] [{'concept': 'Q27277631'}, 'P1441', 'Q15270647'] [{'concept': 'Q16521'}, 'P1441', 'Q15270647']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P1441 resource:Q15270647 . ?v rdf:type ontology:Q27277631 } UNION { ?v property:P1441 resource:Q15270647 . ?v rdf:type ontology:Q16521 } }
action count
action union
action filter_type
action find_reverse
entity Zootopia
relation present in work
type fictional mammal
action filter_type
action find_reverse
entity Zootopia
relation present in work
type taxon
[{'concept': 'fictional mammal'}, 'present in work', 'Zootopia'] [{'concept': 'taxon'}, 'present in work', 'Zootopia'] [{'concept': 'fictional mammal'}, 'present in work', 'Zootopia'] [{'concept': 'taxon'}, 'present in work', 'Zootopia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:present_in_work resource:Zootopia . ?v rdf:type ontology:fictional_mammal } UNION { ?v property:present_in_work resource:Zootopia . ?v rdf:type ontology:taxon } }
[]
fictional mammal taxon
SYSTEM
5
Q24149345 Q24140189 Q24140056 Q24652551 Q23688159
(c(Q27277631),P1441,Q15270647) (c(Q16521),P1441,Q15270647) (c(Q27277631),P1441,Q15270647) (c(Q16521),P1441,Q15270647)
action count
action union
action filter_type
action find_reverse
entity Q15270647
relation P1441
type Q27277631
action filter_type
action find_reverse
entity Q15270647
relation P1441
type Q16521
[ANSWER]
[{'concept': 'Q27277631'}, 'P1441', 'Q15270647'] [{'concept': 'Q16521'}, 'P1441', 'Q15270647'] [{'concept': 'Q27277631'}, 'P1441', 'Q15270647'] [{'concept': 'Q16521'}, 'P1441', 'Q15270647']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P1441 resource:Q15270647 . ?v rdf:type ontology:Q27277631 } UNION { ?v property:P1441 resource:Q15270647 . ?v rdf:type ontology:Q16521 } }
Mr. Big Stu Hopps Bonnie Hopps Fru Fru Max
5
action count
action union
action filter_type
action find_reverse
entity Zootopia
relation present in work
type fictional mammal
action filter_type
action find_reverse
entity Zootopia
relation present in work
type taxon
[{'concept': 'fictional mammal'}, 'present in work', 'Zootopia'] [{'concept': 'taxon'}, 'present in work', 'Zootopia'] [{'concept': 'fictional mammal'}, 'present in work', 'Zootopia'] [{'concept': 'taxon'}, 'present in work', 'Zootopia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:present_in_work resource:Zootopia . ?v rdf:type ontology:fictional_mammal } UNION { ?v property:present_in_work resource:Zootopia . ?v rdf:type ontology:taxon } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5292954
P19
Q56061
USER
Which administrative territory is the birthplace of Don Lake ?
(Q5292954,P19,c(Q56061))
action filter_type
action find
entity Q5292954
relation P19
type Q56061
['Q5292954', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5292954 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Don Lake
action filter_type
action find
entity Don Lake
relation place of birth
type administrative territorial entity
['Don Lake', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Don_Lake property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q5292954,P19,c(Q56061))
action filter_type
action find
entity Q5292954
relation P19
type Q56061
[ANSWER] is the birthplace of Don Lake
['Q5292954', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5292954 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Toronto
Toronto is the birthplace of Don Lake
Toronto
action filter_type
action find
entity Don Lake
relation place of birth
type administrative territorial entity
['Don Lake', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Don_Lake property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3134048
Q56061
USER
And how about Herman Bosman?
(Q3134048,P19,c(Q56061))
action filter_type
action find
entity Q3134048
relation P19
type Q56061
['Q3134048', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q3134048 property:P19 ?j }
Herman Bosman
action filter_type
action find
entity Herman Bosman
relation place of birth
type administrative territorial entity
['Herman Bosman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Herman_Bosman property:place_of_birth ?j }
[]
administrative territorial entity
Q831326
SYSTEM
Bethlehem, Free State
Q831326
(Q3134048,P19,c(Q56061))
action filter_type
action find
entity Q3134048
relation P19
type Q56061
[ANSWER]
['Q3134048', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q3134048 property:P19 ?j }
Bethlehem, Free State
Bethlehem, Free State
action filter_type
action find
entity Herman Bosman
relation place of birth
type administrative territorial entity
['Herman Bosman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Herman_Bosman property:place_of_birth ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1074542 Q194599
P495 P17
Q15617994
USER
Which administrative territories are the origin of Return to Me or are Patvarc located in ?
OR((Q194599,P495,c(Q15617994)), (Q1074542,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q194599
relation P495
action find
entity Q1074542
relation P17
type Q15617994
{'OR': [['Q194599', 'P495', {'concept': 'Q15617994'}], ['Q1074542', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q194599 property:P495 ?l } UNION { resource:Q1074542 property:P17 ?l } } }
Patvarc Return to Me
action filter_type
action union
action find
entity Return to Me
relation country of origin
action find
entity Patvarc
relation country
type designation for an administrative territorial entity
{'OR': [['Return to Me', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Patvarc', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Return_to_Me property:country_of_origin ?l } UNION { resource:Patvarc property:country ?l } } }
[]
designation for an administrative territorial entity
Q28 Q30
SYSTEM
Hungary, United States of America
Q28 Q30
OR((Q194599,P495,c(Q15617994)), (Q1074542,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q194599
relation P495
action find
entity Q1074542
relation P17
type Q15617994
[ANSWERS] are the origin of Return to Me or are Patvarc located in
{'OR': [['Q194599', 'P495', {'concept': 'Q15617994'}], ['Q1074542', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q194599 property:P495 ?l } UNION { resource:Q1074542 property:P17 ?l } } }
Hungary United States of America
Hungary and United States of America are the origin of Return to Me or are Patvarc located in
Hungary United States of America
action filter_type
action union
action find
entity Return to Me
relation country of origin
action find
entity Patvarc
relation country
type designation for an administrative territorial entity
{'OR': [['Return to Me', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Patvarc', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Return_to_Me property:country_of_origin ?l } UNION { resource:Patvarc property:country ?l } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q5292954
P161 P364
Q838948
USER
Which works of art have Don Lake in their star cast and were done in English language during their inception ?
AND((c(Q838948),P161,Q5292954), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q5292954
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q5292954'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q5292954 . ?a property:P364 resource:Q1860 . ?a rdf:type ontology:Q838948 }
English Don Lake
action filter_type
action intersection
action find_reverse
entity Don Lake
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Don Lake'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Don_Lake . ?a property:original_language_of_work resource:English . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1033497
SYSTEM
Speed Zone!
Q1033497
AND((c(Q838948),P161,Q5292954), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q5292954
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] have Don Lake in their star cast and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q5292954'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q5292954 . ?a property:P364 resource:Q1860 . ?a rdf:type ontology:Q838948 }
Speed Zone!
Speed Zone! have Don Lake in their star cast and were done in English language during their inception
Speed Zone!
action filter_type
action intersection
action find_reverse
entity Don Lake
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Don Lake'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Don_Lake . ?a property:original_language_of_work resource:English . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1033497
P1411
Q618779
USER
What were that work of art nominated for ?
(Q1033497,P1411,c(Q618779))
action filter_type
action find
entity Q1033497
relation P1411
type Q618779
['Q1033497', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1033497 property:P1411 ?u . ?u rdf:type ontology:Q618779 }
Speed Zone!
action filter_type
action find
entity Speed Zone!
relation nominated for
type award
['Speed Zone!', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Speed_Zone! property:nominated_for ?u . ?u rdf:type ontology:award }
[]
award
Q1780634 Q977915 Q1238714
SYSTEM
Golden Raspberry Award for Worst Picture, Golden Raspberry Award for Worst Supporting Actress, Golden Raspberry Award for Worst Director
Q1780634 Q977915 Q1238714
(Q1033497,P1411,c(Q618779))
action filter_type
action find
entity Q1033497
relation P1411
type Q618779
Nominated for the [ANSWERS]
['Q1033497', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1033497 property:P1411 ?u . ?u rdf:type ontology:Q618779 }
Golden Raspberry Award for Worst Picture Golden Raspberry Award for Worst Supporting Actress Golden Raspberry Award for Worst Director
Nominated for the Golden Raspberry Award for Worst Picture, Golden Raspberry Award for Worst Supporting Actress and Golden Raspberry Award for Worst Director
Golden Raspberry Award for Worst Picture Golden Raspberry Award for Worst Supporting Actress Golden Raspberry Award for Worst Director
action filter_type
action find
entity Speed Zone!
relation nominated for
type award
['Speed Zone!', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Speed_Zone! property:nominated_for ?u . ?u rdf:type ontology:award }
[]