Simple Question (Direct)
Simple Question
Q1119583
P162
Q502895
USER
Who is the creator of Machine-Gun Kelly ?
(Q1119583,P162,c(Q502895))
action filter_type
action find
entity Q1119583
relation P162
type Q502895
['Q1119583', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1119583 property:P162 ?i . ?i rdf:type ontology:Q502895 }
Machine-Gun Kelly
action filter_type
action find
entity Machine-Gun Kelly
relation producer
type common name
['Machine-Gun Kelly', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Machine-Gun_Kelly property:producer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q318292
SYSTEM
Roger Corman
Q318292
(Q1119583,P162,c(Q502895))
action filter_type
action find
entity Q1119583
relation P162
type Q502895
The creator of Machine-Gun Kelly is about [ANSWER]
['Q1119583', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1119583 property:P162 ?i . ?i rdf:type ontology:Q502895 }
Roger Corman
The creator of Machine-Gun Kelly is about Roger Corman
Roger Corman
action filter_type
action find
entity Machine-Gun Kelly
relation producer
type common name
['Machine-Gun Kelly', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Machine-Gun_Kelly property:producer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1119583
P58
Q502895
USER
Who wrote the script for Machine-Gun Kelly ?
(Q1119583,P58,c(Q502895))
action filter_type
action find
entity Q1119583
relation P58
type Q502895
['Q1119583', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1119583 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Machine-Gun Kelly
action filter_type
action find
entity Machine-Gun Kelly
relation screenwriter
type common name
['Machine-Gun Kelly', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Machine-Gun_Kelly property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
common name
Q7351271
SYSTEM
Robert Wright Campbell
Q7351271
(Q1119583,P58,c(Q502895))
action filter_type
action find
entity Q1119583
relation P58
type Q502895
The [ANSWER] wrote the script for Machine-Gun Kelly
['Q1119583', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1119583 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Robert Wright Campbell
The Robert Wright Campbell wrote the script for Machine-Gun Kelly
Robert Wright Campbell
action filter_type
action find
entity Machine-Gun Kelly
relation screenwriter
type common name
['Machine-Gun Kelly', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Machine-Gun_Kelly property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7351271 Q6073473 Q30
P27
Q15617994
USER
Is that person a civilian of Iroquois School District and United States of America ?
(Q7351271,P27,Q6073473) (Q7351271,P27,Q30)
action is_in
entity Q7351271
action intersection
action find_reverse
entity Q6073473
relation P27
action find_reverse
entity Q30
relation P27
['Q7351271', 'P27', 'Q6073473'] ['Q7351271', 'P27', 'Q30']
ASK WHERE { resource:Q7351271 property:P27 resource:Q6073473 . resource:Q7351271 property:P27 resource:Q30 }
Robert Wright Campbell Iroquois School District United States of America
action is_in
entity Robert Wright Campbell
action intersection
action find_reverse
entity Iroquois School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Robert Wright Campbell', 'country of citizenship', 'Iroquois School District'] ['Robert Wright Campbell', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_Wright_Campbell property:country_of_citizenship resource:Iroquois_School_District . resource:Robert_Wright_Campbell property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7351271,P27,Q6073473) (Q7351271,P27,Q30)
action is_in
entity Q7351271
action intersection
action find_reverse
entity Q6073473
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q7351271', 'P27', 'Q6073473'] ['Q7351271', 'P27', 'Q30']
ASK WHERE { resource:Q7351271 property:P27 resource:Q6073473 . resource:Q7351271 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Robert Wright Campbell
action intersection
action find_reverse
entity Iroquois School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Robert Wright Campbell', 'country of citizenship', 'Iroquois School District'] ['Robert Wright Campbell', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_Wright_Campbell property:country_of_citizenship resource:Iroquois_School_District . resource:Robert_Wright_Campbell property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1119583 Q57765
P495
Q15617994
USER
Is Gornsdorf the origin of Machine-Gun Kelly ?
(Q1119583,P495,Q57765)
action is_in
entity Q57765
action find
entity Q1119583
relation P495
['Q1119583', 'P495', 'Q57765']
ASK WHERE { resource:Q1119583 property:P495 resource:Q57765 }
Machine-Gun Kelly Gornsdorf
action is_in
entity Gornsdorf
action find
entity Machine-Gun Kelly
relation country of origin
['Machine-Gun Kelly', 'country of origin', 'Gornsdorf']
ASK WHERE { resource:Machine-Gun_Kelly property:country_of_origin resource:Gornsdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1119583,P495,Q57765)
action is_in
entity Q57765
action find
entity Q1119583
relation P495
[ANSWER]
['Q1119583', 'P495', 'Q57765']
ASK WHERE { resource:Q1119583 property:P495 resource:Q57765 }
No
action is_in
entity Gornsdorf
action find
entity Machine-Gun Kelly
relation country of origin
['Machine-Gun Kelly', 'country of origin', 'Gornsdorf']
ASK WHERE { resource:Machine-Gun_Kelly property:country_of_origin resource:Gornsdorf }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did atleast 18 people dub for ?
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 18
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?d ) WHERE { ?f property:P725 ?h . ?f rdf:type ontology:Q11424 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?d >= 18 ) }
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 18
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?d ) WHERE { ?f property:voice_actor ?h . ?f rdf:type ontology:film . ?h rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?d >= 18 ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q191753 Q179673 Q216929 Q165512 Q933887 Q213787 Q19090 Q184701 Q190135 Q15270775 Q189875 Q199839 Q36479 Q39722 Q271189
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 18
Atleast 18 people dubbed [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?d ) WHERE { ?f property:P725 ?h . ?f rdf:type ontology:Q11424 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?d >= 18 ) }
Cinderella Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Hunchback of Notre Dame Robin Hood The Aristocats The Little Mermaid Hotel Transylvania 2 Alice in Wonderland The Jungle Book The Lion King The Rescuers Hercules
Atleast 18 people dubbed The Little Mermaid, Robin Hood and Hercules
The Little Mermaid Robin Hood Hercules
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 18
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?d ) WHERE { ?f property:voice_actor ?h . ?f rdf:type ontology:film . ?h rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?d >= 18 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q190135 Q19090 Q271189
P57
Q502895
USER
Who were the director of those films ?
(Q190135,P57,c(Q502895)) (Q19090,P57,c(Q502895)) (Q271189,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q190135', 'P57', {'concept': 'Q502895'}] ['Q19090', 'P57', {'concept': 'Q502895'}] ['Q271189', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?m property:P57 ?k . VALUES ( ?m ) { ( resource:Q191753 ) ( resource:Q179673 ) ( resource:Q216929 ) } }
The Little Mermaid Robin Hood Hercules
action filter_type
action find
entity prev_answer
relation director
type common name
['The Little Mermaid', 'director', {'concept': 'common name'}] ['Robin Hood', 'director', {'concept': 'common name'}] ['Hercules', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?m property:director ?k . VALUES ( ?m ) { ( resource:Cinderella ) ( resource:Beauty_and_the_Beast ) ( resource:Oliver_&_Company ) } }
[]
common name
Q703588 Q930209 Q735440
SYSTEM
Wolfgang Reitherman, Ron Clements, John Musker
Q930209 Q735440 Q703588 Q930209 Q735440
(Q190135,P57,c(Q502895)) (Q19090,P57,c(Q502895)) (Q271189,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
The director of those films were [ANSWERS]
['Q190135', 'P57', {'concept': 'Q502895'}] ['Q19090', 'P57', {'concept': 'Q502895'}] ['Q271189', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?m property:P57 ?k . VALUES ( ?m ) { ( resource:Q191753 ) ( resource:Q179673 ) ( resource:Q216929 ) } }
Ron Clements John Musker Wolfgang Reitherman Ron Clements John Musker
The director of those films were Wolfgang Reitherman, Ron Clements and John Musker
Wolfgang Reitherman Ron Clements John Musker
action filter_type
action find
entity prev_answer
relation director
type common name
['The Little Mermaid', 'director', {'concept': 'common name'}] ['Robin Hood', 'director', {'concept': 'common name'}] ['Hercules', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?m property:director ?k . VALUES ( ?m ) { ( resource:Cinderella ) ( resource:Beauty_and_the_Beast ) ( resource:Oliver_&_Company ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q318292
P26
Q502895
USER
Who is the spouse of Roger Corman ?
(Q318292,P26,c(Q502895))
action filter_type
action find
entity Q318292
relation P26
type Q502895
['Q318292', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q318292 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Roger Corman
action filter_type
action find
entity Roger Corman
relation spouse
type common name
['Roger Corman', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Corman property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6308099
SYSTEM
Julie Corman
Q6308099
(Q318292,P26,c(Q502895))
action filter_type
action find
entity Q318292
relation P26
type Q502895
The spouse of Roger Corman is the [ANSWER]
['Q318292', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q318292 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Julie Corman
The spouse of Roger Corman is the Julie Corman
Julie Corman
action filter_type
action find
entity Roger Corman
relation spouse
type common name
['Roger Corman', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Corman property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1339628
Q502895
USER
And what about Juan López de Padilla?
(Q1339628,P26,c(Q502895))
action filter_type
action find
entity Q1339628
relation P26
type Q502895
['Q1339628', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1339628 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Juan López de Padilla
action filter_type
action find
entity Juan López de Padilla
relation spouse
type common name
['Juan López de Padilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Juan_López_de_Padilla property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2742060
SYSTEM
María Pacheco
Q2742060
(Q1339628,P26,c(Q502895))
action filter_type
action find
entity Q1339628
relation P26
type Q502895
[ANSWER]
['Q1339628', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1339628 property:P26 ?a . ?a rdf:type ontology:Q502895 }
María Pacheco
María Pacheco
action filter_type
action find
entity Juan López de Padilla
relation spouse
type common name
['Juan López de Padilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Juan_López_de_Padilla property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2742060 Q6397482
P40
Q502895
USER
Does Kevin Shaw have that one as a child ?
(Q6397482,P40,Q2742060)
action is_in
entity Q6397482
action find
entity Q2742060
relation P40
['Q6397482', 'P40', 'Q2742060']
ASK WHERE { resource:Q2742060 property:P40 resource:Q6397482 }
María Pacheco Kevin Shaw
action is_in
entity Kevin Shaw
action find
entity María Pacheco
relation child
['Kevin Shaw', 'child', 'María Pacheco']
ASK WHERE { resource:María_Pacheco property:child resource:Kevin_Shaw }
[]
common name
SYSTEM
NO
(Q6397482,P40,Q2742060)
action is_in
entity Q6397482
action find
entity Q2742060
relation P40
[ANSWER]
['Q6397482', 'P40', 'Q2742060']
ASK WHERE { resource:Q2742060 property:P40 resource:Q6397482 }
No
action is_in
entity Kevin Shaw
action find
entity María Pacheco
relation child
['Kevin Shaw', 'child', 'María Pacheco']
ASK WHERE { resource:María_Pacheco property:child resource:Kevin_Shaw }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q735440 Q30 Q62101
P27
Q15617994
USER
Is John Musker a native of United States of America and Mundelsheim ?
(Q735440,P27,Q30) (Q735440,P27,Q62101)
action is_in
entity Q735440
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q62101
relation P27
['Q735440', 'P27', 'Q30'] ['Q735440', 'P27', 'Q62101']
ASK WHERE { resource:Q735440 property:P27 resource:Q30 . resource:Q735440 property:P27 resource:Q62101 }
John Musker United States of America Mundelsheim
action is_in
entity John Musker
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Mundelsheim
relation country of citizenship
['John Musker', 'country of citizenship', 'United States of America'] ['John Musker', 'country of citizenship', 'Mundelsheim']
ASK WHERE { resource:John_Musker property:country_of_citizenship resource:United_States_of_America . resource:John_Musker property:country_of_citizenship resource:Mundelsheim }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q735440,P27,Q30) (Q735440,P27,Q62101)
action is_in
entity Q735440
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q62101
relation P27
[ANSWER]
['Q735440', 'P27', 'Q30'] ['Q735440', 'P27', 'Q62101']
ASK WHERE { resource:Q735440 property:P27 resource:Q30 . resource:Q735440 property:P27 resource:Q62101 }
YES and NO respectively
action is_in
entity John Musker
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Mundelsheim
relation country of citizenship
['John Musker', 'country of citizenship', 'United States of America'] ['John Musker', 'country of citizenship', 'Mundelsheim']
ASK WHERE { resource:John_Musker property:country_of_citizenship resource:United_States_of_America . resource:John_Musker property:country_of_citizenship resource:Mundelsheim }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190135
P86
Q502895
USER
Who did the compostion for The Little Mermaid ?
(Q190135,P86,c(Q502895))
action filter_type
action find
entity Q190135
relation P86
type Q502895
['Q190135', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q190135 property:P86 ?f . ?f rdf:type ontology:Q502895 }
The Little Mermaid
action filter_type
action find
entity The Little Mermaid
relation composer
type common name
['The Little Mermaid', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Little_Mermaid property:composer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q317272
SYSTEM
Alan Menken
Q317272
(Q190135,P86,c(Q502895))
action filter_type
action find
entity Q190135
relation P86
type Q502895
[ANSWER] did the compostion for The Little Mermaid
['Q190135', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q190135 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Alan Menken
Alan Menken did the compostion for The Little Mermaid
Alan Menken
action filter_type
action find
entity The Little Mermaid
relation composer
type common name
['The Little Mermaid', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Little_Mermaid property:composer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1728088
Q502895
USER
And also tell me about Minsara Kanavu?
(Q1728088,P86,c(Q502895))
action filter_type
action find
entity Q1728088
relation P86
type Q502895
['Q1728088', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1728088 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Minsara Kanavu
action filter_type
action find
entity Minsara Kanavu
relation composer
type common name
['Minsara Kanavu', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Minsara_Kanavu property:composer ?n . ?n rdf:type ontology:common_name }
[]
common name
Q108560
SYSTEM
A. R. Rahman
Q108560
(Q1728088,P86,c(Q502895))
action filter_type
action find
entity Q1728088
relation P86
type Q502895
[ANSWER]
['Q1728088', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1728088 property:P86 ?n . ?n rdf:type ontology:Q502895 }
A. R. Rahman
A. R. Rahman
action filter_type
action find
entity Minsara Kanavu
relation composer
type common name
['Minsara Kanavu', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Minsara_Kanavu property:composer ?n . ?n rdf:type ontology:common_name }
[]