Simple Question (Direct)
Simple Question
Q174374
P272
Q43229
USER
Who produced The Secret of NIMH ?
(Q174374,P272,c(Q43229))
action filter_type
action find
entity Q174374
relation P272
type Q43229
['Q174374', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . resource:Q174374 property:P272 ?k }
The Secret of NIMH
action filter_type
action find
entity The Secret of NIMH
relation production company
type organization
['The Secret of NIMH', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . resource:The_Secret_of_NIMH property:production_company ?k }
[]
organization
Q7636396
SYSTEM
Sullivan Bluth Studios
Q7636396
(Q174374,P272,c(Q43229))
action filter_type
action find
entity Q174374
relation P272
type Q43229
[ANSWER] produced The Secret of NIMH
['Q174374', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . resource:Q174374 property:P272 ?k }
Sullivan Bluth Studios
Sullivan Bluth Studios produced The Secret of NIMH
Sullivan Bluth Studios
action filter_type
action find
entity The Secret of NIMH
relation production company
type organization
['The Secret of NIMH', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . resource:The_Secret_of_NIMH property:production_company ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174374
P58
Q502895
USER
Who served as the screenwriter for The Secret of NIMH ?
(Q174374,P58,c(Q502895))
action filter_type
action find
entity Q174374
relation P58
type Q502895
['Q174374', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q174374 property:P58 ?h . ?h rdf:type ontology:Q502895 }
The Secret of NIMH
action filter_type
action find
entity The Secret of NIMH
relation screenwriter
type common name
['The Secret of NIMH', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Secret_of_NIMH property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Q667959 Q922464
SYSTEM
Gary Goldman, John Pomeroy
Q667959 Q922464
(Q174374,P58,c(Q502895))
action filter_type
action find
entity Q174374
relation P58
type Q502895
The [ANSWERS] served as the screenwriter for The Secret of NIMH
['Q174374', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q174374 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Gary Goldman John Pomeroy
The Gary Goldman and John Pomeroy served as the screenwriter for The Secret of NIMH
Gary Goldman John Pomeroy
action filter_type
action find
entity The Secret of NIMH
relation screenwriter
type common name
['The Secret of NIMH', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Secret_of_NIMH property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2625724
Q502895
USER
And how about The Sea Pirate?
(Q2625724,P58,c(Q502895))
action filter_type
action find
entity Q2625724
relation P58
type Q502895
['Q2625724', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2625724 property:P58 ?n . ?n rdf:type ontology:Q502895 }
The Sea Pirate
action filter_type
action find
entity The Sea Pirate
relation screenwriter
type common name
['The Sea Pirate', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:The_Sea_Pirate property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
common name
Q3160049 Q3768144 Q436834
SYSTEM
Jacques Séverac, Giovanni Simonelli, José Antonio de la Loma
Q3160049 Q3768144 Q436834
(Q2625724,P58,c(Q502895))
action filter_type
action find
entity Q2625724
relation P58
type Q502895
[ANSWERS]
['Q2625724', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2625724 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Jacques Séverac Giovanni Simonelli José Antonio de la Loma
Jacques Séverac Giovanni Simonelli José Antonio de la Loma
action filter_type
action find
entity The Sea Pirate
relation screenwriter
type common name
['The Sea Pirate', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:The_Sea_Pirate property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q922464
P162
Q15416 Q11424
USER
How many television programs or films have been produced by John Pomeroy ?
(c(Q15416),P162,Q922464) (c(Q11424),P162,Q922464)
action count
action union
action filter_type
action find_reverse
entity Q922464
relation P162
type Q15416
action filter_type
action find_reverse
entity Q922464
relation P162
type Q11424
[{'concept': 'Q15416'}, 'P162', 'Q922464'] [{'concept': 'Q11424'}, 'P162', 'Q922464']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:P162 resource:Q922464 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P162 resource:Q922464 . ?z rdf:type ontology:Q11424 } }
John Pomeroy
action count
action union
action filter_type
action find_reverse
entity John Pomeroy
relation producer
type television program
action filter_type
action find_reverse
entity John Pomeroy
relation producer
type film
[{'concept': 'television program'}, 'producer', 'John Pomeroy'] [{'concept': 'film'}, 'producer', 'John Pomeroy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:producer resource:John_Pomeroy . ?z rdf:type ontology:television_program } UNION { ?z property:producer resource:John_Pomeroy . ?z rdf:type ontology:film } }
[]
television program film
SYSTEM
7
Q192403 Q965266 Q1134678 Q806586 Q691172 Q1067080 Q174374
(c(Q15416),P162,Q922464) (c(Q11424),P162,Q922464)
action count
action union
action filter_type
action find_reverse
entity Q922464
relation P162
type Q15416
action filter_type
action find_reverse
entity Q922464
relation P162
type Q11424
[ANSWER]
[{'concept': 'Q15416'}, 'P162', 'Q922464'] [{'concept': 'Q11424'}, 'P162', 'Q922464']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:P162 resource:Q922464 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P162 resource:Q922464 . ?z rdf:type ontology:Q11424 } }
The Land Before Time Thumbelina An American Tail Banjo the Woodpile Cat A Troll in Central Park All Dogs Go to Heaven The Secret of NIMH
7
action count
action union
action filter_type
action find_reverse
entity John Pomeroy
relation producer
type television program
action filter_type
action find_reverse
entity John Pomeroy
relation producer
type film
[{'concept': 'television program'}, 'producer', 'John Pomeroy'] [{'concept': 'film'}, 'producer', 'John Pomeroy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:producer resource:John_Pomeroy . ?z rdf:type ontology:television_program } UNION { ?z property:producer resource:John_Pomeroy . ?z rdf:type ontology:film } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q667959
P106
Q28640 Q12737077
USER
How many professions and occupations do Gary Goldman do for a living ?
(Q667959,P106,c(Q28640)) (Q667959,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q667959
relation P106
type Q28640
action filter_type
action find
entity Q667959
relation P106
type Q12737077
['Q667959', 'P106', {'concept': 'Q28640'}] ['Q667959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:Q28640 . resource:Q667959 property:P106 ?n } UNION { ?n rdf:type ontology:Q12737077 . resource:Q667959 property:P106 ?n } }
Gary Goldman
action count
action union
action filter_type
action find
entity Gary Goldman
relation occupation
type profession
action filter_type
action find
entity Gary Goldman
relation occupation
type occupation
['Gary Goldman', 'occupation', {'concept': 'profession'}] ['Gary Goldman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:profession . resource:Gary_Goldman property:occupation ?n } UNION { ?n rdf:type ontology:occupation . resource:Gary_Goldman property:occupation ?n } }
[]
profession occupation
SYSTEM
3 professions and 1 occupations
Q266569 Q2526255 Q3282637 Q28389
(Q667959,P106,c(Q28640)) (Q667959,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q667959
relation P106
type Q28640
action filter_type
action find
entity Q667959
relation P106
type Q12737077
[ANSWER]
['Q667959', 'P106', {'concept': 'Q28640'}] ['Q667959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:Q28640 . resource:Q667959 property:P106 ?n } UNION { ?n rdf:type ontology:Q12737077 . resource:Q667959 property:P106 ?n } }
animator film director film producer screenwriter
3 professions and 1 occupations
action count
action union
action filter_type
action find
entity Gary Goldman
relation occupation
type profession
action filter_type
action find
entity Gary Goldman
relation occupation
type occupation
['Gary Goldman', 'occupation', {'concept': 'profession'}] ['Gary Goldman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:profession . resource:Gary_Goldman property:occupation ?n } UNION { ?n rdf:type ontology:occupation . resource:Gary_Goldman property:occupation ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q667959
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q667959
relation P21
type Q290
SELECT DISTINCT ?a WHERE { resource:Q667959 property:P21 ?a . ?a rdf:type ontology:Q290 }
Gary Goldman
action filter_type
action find
entity Gary Goldman
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Gary_Goldman property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q667959
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q667959 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Gary Goldman
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Gary_Goldman property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q667959
P767
Q95074
USER
Which fictional characters have Gary Goldman as their contributor ?
(c(Q95074),P767,Q667959)
action filter_type
action find_reverse
entity Q667959
relation P767
type Q95074
[{'concept': 'Q95074'}, 'P767', 'Q667959']
SELECT DISTINCT ?p WHERE { ?p property:P767 resource:Q667959 . ?p rdf:type ontology:Q95074 }
Gary Goldman
action filter_type
action find_reverse
entity Gary Goldman
relation contributor
type fictional character
[{'concept': 'fictional character'}, 'contributor', 'Gary Goldman']
SELECT DISTINCT ?p WHERE { ?p property:contributor resource:Gary_Goldman . ?p rdf:type ontology:fictional_character }
[]
fictional character
Q27437569 Q27437110
SYSTEM
Chief, Big Mama
Q27437569 Q27437110
(c(Q95074),P767,Q667959)
action filter_type
action find_reverse
entity Q667959
relation P767
type Q95074
[ANSWERS] have Gary Goldman as their contributor
[{'concept': 'Q95074'}, 'P767', 'Q667959']
SELECT DISTINCT ?p WHERE { ?p property:P767 resource:Q667959 . ?p rdf:type ontology:Q95074 }
Chief Big Mama
Chief and Big Mama have Gary Goldman as their contributor
Chief Big Mama
action filter_type
action find_reverse
entity Gary Goldman
relation contributor
type fictional character
[{'concept': 'fictional character'}, 'contributor', 'Gary Goldman']
SELECT DISTINCT ?p WHERE { ?p property:contributor resource:Gary_Goldman . ?p rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27437569 Q27437110
P175
Q502895
USER
What were performed by those fictional characters ?
(Q27437569,P175,c(Q502895)) (Q27437110,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
['Q27437569', 'P175', {'concept': 'Q502895'}] ['Q27437110', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q27437569 ) ( resource:Q27437110 ) } . ?l property:P175 ?r }
Chief Big Mama
action filter_type
action find
entity prev_answer
relation performer
type common name
['Chief', 'performer', {'concept': 'common name'}] ['Big Mama', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Chief ) ( resource:Big_Mama ) } . ?l property:performer ?r }
[]
common name
Q2451247 Q462118
SYSTEM
Pat Buttram, Pearl Bailey
Q2451247 Q462118
(Q27437569,P175,c(Q502895)) (Q27437110,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
[ANSWERS] were performed by those fictional characters
['Q27437569', 'P175', {'concept': 'Q502895'}] ['Q27437110', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q27437569 ) ( resource:Q27437110 ) } . ?l property:P175 ?r }
Pat Buttram Pearl Bailey
Pat Buttram and Pearl Bailey were performed by those fictional characters
Pat Buttram Pearl Bailey
action filter_type
action find
entity prev_answer
relation performer
type common name
['Chief', 'performer', {'concept': 'common name'}] ['Big Mama', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Chief ) ( resource:Big_Mama ) } . ?l property:performer ?r }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2451247 Q462118
P106
Q12737077
USER
Which occupations have Pat Buttram and Pearl Bailey as his/her 's career ?
(Q2451247,P106,c(Q12737077)) (Q462118,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2451247
relation P106
type Q12737077
action filter_type
action find
entity Q462118
relation P106
type Q12737077
['Q2451247', 'P106', {'concept': 'Q12737077'}] ['Q462118', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?i ) { ( resource:Q2451247 ) ( resource:Q462118 ) } . ?i property:P106 ?r }
Pat Buttram Pearl Bailey
action union
action filter_type
action find
entity Pat Buttram
relation occupation
type occupation
action filter_type
action find
entity Pearl Bailey
relation occupation
type occupation
['Pat Buttram', 'occupation', {'concept': 'occupation'}] ['Pearl Bailey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?i ) { ( resource:Pat_Buttram ) ( resource:Pearl_Bailey ) } . ?i property:occupation ?r }
[]
occupation
Q10798782 Q11481802 Q33999
SYSTEM
television actor, dub actor, actor
Q11481802 Q33999 Q10798782 Q639669 Q2259451 Q33999 Q177220
(Q2451247,P106,c(Q12737077)) (Q462118,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2451247
relation P106
type Q12737077
action filter_type
action find
entity Q462118
relation P106
type Q12737077
The [ANSWERS] have Pat Buttram and Pearl Bailey as his/her 's career
['Q2451247', 'P106', {'concept': 'Q12737077'}] ['Q462118', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?i ) { ( resource:Q2451247 ) ( resource:Q462118 ) } . ?i property:P106 ?r }
dub actor actor television actor musician stage actor actor singer
The television actor, dub actor and actor have Pat Buttram and Pearl Bailey as his/her 's career
television actor dub actor actor
action union
action filter_type
action find
entity Pat Buttram
relation occupation
type occupation
action filter_type
action find
entity Pearl Bailey
relation occupation
type occupation
['Pat Buttram', 'occupation', {'concept': 'occupation'}] ['Pearl Bailey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?i ) { ( resource:Pat_Buttram ) ( resource:Pearl_Bailey ) } . ?i property:occupation ?r }
[]