Simple Question (Direct)
Simple Question
Q4460119
P750
Q43229
USER
Which organization is the distributor of Tom and Jerry and the Wizard of Oz ?
(Q4460119,P750,c(Q43229))
action filter_type
action find
entity Q4460119
relation P750
type Q43229
['Q4460119', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q4460119 property:P750 ?j . ?j rdf:type ontology:Q43229 }
Tom and Jerry and the Wizard of Oz
action filter_type
action find
entity Tom and Jerry and the Wizard of Oz
relation distributor
type organization
['Tom and Jerry and the Wizard of Oz', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:distributor ?j . ?j rdf:type ontology:organization }
[]
organization
Q1188361
SYSTEM
Warner Home Video
Q1188361
(Q4460119,P750,c(Q43229))
action filter_type
action find
entity Q4460119
relation P750
type Q43229
[ANSWER] is the distributor of Tom and Jerry and the Wizard of Oz
['Q4460119', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q4460119 property:P750 ?j . ?j rdf:type ontology:Q43229 }
Warner Home Video
Warner Home Video is the distributor of Tom and Jerry and the Wizard of Oz
Warner Home Video
action filter_type
action find
entity Tom and Jerry and the Wizard of Oz
relation distributor
type organization
['Tom and Jerry and the Wizard of Oz', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:distributor ?j . ?j rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4460119
P364
Q34770
USER
Which language was used originally for the creation of Tom and Jerry and the Wizard of Oz ?
(Q4460119,P364,c(Q34770))
action filter_type
action find
entity Q4460119
relation P364
type Q34770
['Q4460119', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4460119 property:P364 ?h . ?h rdf:type ontology:Q34770 }
Tom and Jerry and the Wizard of Oz
action filter_type
action find
entity Tom and Jerry and the Wizard of Oz
relation original language of work
type language
['Tom and Jerry and the Wizard of Oz', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4460119,P364,c(Q34770))
action filter_type
action find
entity Q4460119
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Tom and Jerry and the Wizard of Oz
['Q4460119', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4460119 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Tom and Jerry and the Wizard of Oz
English
action filter_type
action find
entity Tom and Jerry and the Wizard of Oz
relation original language of work
type language
['Tom and Jerry and the Wizard of Oz', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q6150136
P1412
Q502895
USER
Does Jan Viviani used that language ?
(Q6150136,P1412,Q1860)
action is_in
entity Q6150136
action find
entity Q1860
relation P1412
['Q6150136', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q6150136 }
English Jan Viviani
action is_in
entity Jan Viviani
action find
entity English
relation languages spoken, written or signed
['Jan Viviani', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Jan_Viviani }
[]
common name
SYSTEM
NO
(Q6150136,P1412,Q1860)
action is_in
entity Q6150136
action find
entity Q1860
relation P1412
[ANSWER]
['Q6150136', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q6150136 }
No
action is_in
entity Jan Viviani
action find
entity English
relation languages spoken, written or signed
['Jan Viviani', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Jan_Viviani }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q242928 Q4460119
P161 P7
Q502895
USER
Which people starred in Tom and Jerry and the Wizard of Oz or are the brother of Princess Henriette Adelaide of Savoy ?
OR((Q4460119,P161,c(Q502895)), (Q242928,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4460119
relation P161
action find
entity Q242928
relation P7
type Q502895
{'OR': [['Q4460119', 'P161', {'concept': 'Q502895'}], ['Q242928', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q4460119 property:P161 ?s } UNION { resource:Q242928 property:P7 ?s } } }
Princess Henriette Adelaide of Savoy Tom and Jerry and the Wizard of Oz
action filter_type
action union
action find
entity Tom and Jerry and the Wizard of Oz
relation cast member
action find
entity Princess Henriette Adelaide of Savoy
relation brother
type common name
{'OR': [['Tom and Jerry and the Wizard of Oz', 'cast member', {'concept': 'common name'}], ['Princess Henriette Adelaide of Savoy', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:cast_member ?s } UNION { resource:Princess_Henriette_Adelaide_of_Savoy property:brother ?s } } }
[]
common name
Q3277683 Q262910 Q5357354 Q472186 Q1691318 Q464320 Q446290 Q311987 Q13938 Q355755
SYSTEM
Some of them are Michael Gough, Kath Soucie, Todd Stashwick, Francis Hyacinth, Duke of Savoy, Joe Alaskey, Stephen Root, Laraine Newman, Rob Paulsen, Grey DeLisle, Charles Emmanuel II, Duke of Savoy
Q3277683 Q472186 Q446290 Q5357354 Q1691318 Q233882 Q262910 Q355755 Q464320 Q13938 Q311987
OR((Q4460119,P161,c(Q502895)), (Q242928,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4460119
relation P161
action find
entity Q242928
relation P7
type Q502895
[ANSWERS]
{'OR': [['Q4460119', 'P161', {'concept': 'Q502895'}], ['Q242928', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q4460119 property:P161 ?s } UNION { resource:Q242928 property:P7 ?s } } }
Michael Gough Francis Hyacinth, Duke of Savoy Laraine Newman Todd Stashwick Joe Alaskey Frances Conroy Kath Soucie Charles Emmanuel II, Duke of Savoy Stephen Root Grey DeLisle Rob Paulsen
Michael Gough, Kath Soucie, Todd Stashwick, Francis Hyacinth, Duke of Savoy, Joe Alaskey, Stephen Root, Laraine Newman, Rob Paulsen, Grey DeLisle and Charles Emmanuel II, Duke of Savoy starred in Tom and Jerry and the Wizard of Oz or are the brother of Princess Henriette Adelaide of Savoy
Michael Gough Kath Soucie Todd Stashwick Francis Hyacinth, Duke of Savoy Joe Alaskey Stephen Root Laraine Newman Rob Paulsen Grey DeLisle Charles Emmanuel II, Duke of Savoy
action filter_type
action union
action find
entity Tom and Jerry and the Wizard of Oz
relation cast member
action find
entity Princess Henriette Adelaide of Savoy
relation brother
type common name
{'OR': [['Tom and Jerry and the Wizard of Oz', 'cast member', {'concept': 'common name'}], ['Princess Henriette Adelaide of Savoy', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:Tom_and_Jerry_and_the_Wizard_of_Oz property:cast_member ?s } UNION { resource:Princess_Henriette_Adelaide_of_Savoy property:brother ?s } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 1106 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1106
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?v >= 1106 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1106
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?v >= 1106 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1106
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?v >= 1106 ) }
bass guitar piano trumpet violin organ drum kit
6
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1106
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?v >= 1106 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q355755
P53
Q8436
USER
What dynasty does Charles Emmanuel II, Duke of Savoy belong to ?
(Q355755,P53,c(Q8436))
action filter_type
action find
entity Q355755
relation P53
type Q8436
['Q355755', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?r WHERE { resource:Q355755 property:P53 ?r . ?r rdf:type ontology:Q8436 }
Charles Emmanuel II, Duke of Savoy
action filter_type
action find
entity Charles Emmanuel II, Duke of Savoy
relation noble family
type family
['Charles Emmanuel II, Duke of Savoy', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Emmanuel_II,_Duke_of_Savoy property:noble_family ?r . ?r rdf:type ontology:family }
[]
family
Q200229
SYSTEM
House of Savoy
Q200229
(Q355755,P53,c(Q8436))
action filter_type
action find
entity Q355755
relation P53
type Q8436
Charles Emmanuel II , Duke of Savoy belongs to the [ANSWER]
['Q355755', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?r WHERE { resource:Q355755 property:P53 ?r . ?r rdf:type ontology:Q8436 }
House of Savoy
Charles Emmanuel II , Duke of Savoy belongs to the House of Savoy
House of Savoy
action filter_type
action find
entity Charles Emmanuel II, Duke of Savoy
relation noble family
type family
['Charles Emmanuel II, Duke of Savoy', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Emmanuel_II,_Duke_of_Savoy property:noble_family ?r . ?r rdf:type ontology:family }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q200229 Q2626231
P53
Q502895
USER
Is Bonne of Bourbon a member of that family ?
(Q2626231,P53,Q200229)
action is_in
entity Q200229
action find
entity Q2626231
relation P53
['Q2626231', 'P53', 'Q200229']
ASK WHERE { resource:Q2626231 property:P53 resource:Q200229 }
House of Savoy Bonne of Bourbon
action is_in
entity House of Savoy
action find
entity Bonne of Bourbon
relation noble family
['Bonne of Bourbon', 'noble family', 'House of Savoy']
ASK WHERE { resource:Bonne_of_Bourbon property:noble_family resource:House_of_Savoy }
[]
common name
SYSTEM
YES
(Q2626231,P53,Q200229)
action is_in
entity Q200229
action find
entity Q2626231
relation P53
[ANSWER]
['Q2626231', 'P53', 'Q200229']
ASK WHERE { resource:Q2626231 property:P53 resource:Q200229 }
Yes
action is_in
entity House of Savoy
action find
entity Bonne of Bourbon
relation noble family
['Bonne of Bourbon', 'noble family', 'House of Savoy']
ASK WHERE { resource:Bonne_of_Bourbon property:noble_family resource:House_of_Savoy }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q242928
P9 P21
Q502895
USER
Which people had Princess Henriette Adelaide of Savoy as their sibling and have male as the sex ?
AND((c(Q502895),P9,Q242928), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q242928
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q242928'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P9 resource:Q242928 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Princess Henriette Adelaide of Savoy
action filter_type
action intersection
action find_reverse
entity Princess Henriette Adelaide of Savoy
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Princess Henriette Adelaide of Savoy'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:sister resource:Princess_Henriette_Adelaide_of_Savoy . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q355755 Q472186
SYSTEM
Charles Emmanuel II, Duke of Savoy, Francis Hyacinth, Duke of Savoy
Q355755 Q472186
AND((c(Q502895),P9,Q242928), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q242928
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q242928'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P9 resource:Q242928 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Charles Emmanuel II, Duke of Savoy Francis Hyacinth, Duke of Savoy
Charles Emmanuel II, Duke of Savoy and Francis Hyacinth, Duke of Savoy had Princess Henriette Adelaide of Savoy as their sibling and have male as the sex
Charles Emmanuel II, Duke of Savoy Francis Hyacinth, Duke of Savoy
action filter_type
action intersection
action find_reverse
entity Princess Henriette Adelaide of Savoy
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Princess Henriette Adelaide of Savoy'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:sister resource:Princess_Henriette_Adelaide_of_Savoy . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q242928
P7
Q502895
USER
Did Princess Henriette Adelaide of Savoy have those ones as brother ?
(Q242928,P7,Q355755) (Q242928,P7,Q472186)
action is_in
entity prev_answer
action find
entity Q242928
relation P7
['Q242928', 'P7', 'Q355755'] ['Q242928', 'P7', 'Q472186']
ASK WHERE { resource:Q242928 property:P7 ?e . VALUES ( ?e ) { ( resource:Q355755 ) ( resource:Q472186 ) } }
Princess Henriette Adelaide of Savoy
action is_in
entity prev_answer
action find
entity Princess Henriette Adelaide of Savoy
relation brother
['Princess Henriette Adelaide of Savoy', 'brother', 'Charles Emmanuel II, Duke of Savoy'] ['Princess Henriette Adelaide of Savoy', 'brother', 'Francis Hyacinth, Duke of Savoy']
ASK WHERE { resource:Princess_Henriette_Adelaide_of_Savoy property:brother ?e . VALUES ( ?e ) { ( resource:Charles_Emmanuel_II,_Duke_of_Savoy ) ( resource:Francis_Hyacinth,_Duke_of_Savoy ) } }
[]
common name
SYSTEM
YES
(Q242928,P7,Q355755) (Q242928,P7,Q472186)
action is_in
entity prev_answer
action find
entity Q242928
relation P7
[ANSWER]
['Q242928', 'P7', 'Q355755'] ['Q242928', 'P7', 'Q472186']
ASK WHERE { resource:Q242928 property:P7 ?e . VALUES ( ?e ) { ( resource:Q355755 ) ( resource:Q472186 ) } }
Yes
action is_in
entity prev_answer
action find
entity Princess Henriette Adelaide of Savoy
relation brother
['Princess Henriette Adelaide of Savoy', 'brother', 'Charles Emmanuel II, Duke of Savoy'] ['Princess Henriette Adelaide of Savoy', 'brother', 'Francis Hyacinth, Duke of Savoy']
ASK WHERE { resource:Princess_Henriette_Adelaide_of_Savoy property:brother ?e . VALUES ( ?e ) { ( resource:Charles_Emmanuel_II,_Duke_of_Savoy ) ( resource:Francis_Hyacinth,_Duke_of_Savoy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464320
P734
Q82799
USER
Which name is associated with Stephen Root ?
(Q464320,P734,c(Q82799))
action filter_type
action find
entity Q464320
relation P734
type Q82799
['Q464320', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q464320 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Stephen Root
action filter_type
action find
entity Stephen Root
relation family name
type name
['Stephen Root', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Stephen_Root property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q23308483
SYSTEM
Root
Q23308483
(Q464320,P734,c(Q82799))
action filter_type
action find
entity Q464320
relation P734
type Q82799
[ANSWER] is associated with Stephen [ANSWER]
['Q464320', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q464320 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Root
Root is associated with Stephen Root
Root
action filter_type
action find
entity Stephen Root
relation family name
type name
['Stephen Root', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Stephen_Root property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q464320
P725
Q1001378
USER
Which cinematic technique had its voice dubbing done by that person ?
(c(Q1001378),P725,Q23308483)
action filter_type
action find_reverse
entity Q464320
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', 'Q23308483']
SELECT DISTINCT ?y WHERE { ?y property:P725 resource:Q464320 . ?y rdf:type ontology:Q1001378 }
Stephen Root
action filter_type
action find_reverse
entity Stephen Root
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'Root']
SELECT DISTINCT ?y WHERE { ?y property:voice_actor resource:Stephen_Root . ?y rdf:type ontology:cinematic_technique }
[]
cinematic technique
Q9321426
SYSTEM
Finding Dory
Q9321426
(c(Q1001378),P725,Q23308483)
action filter_type
action find_reverse
entity Q464320
relation P725
type Q1001378
[ANSWER] had its voice dubbing done by that person
[{'concept': 'Q1001378'}, 'P725', 'Q23308483']
SELECT DISTINCT ?y WHERE { ?y property:P725 resource:Q464320 . ?y rdf:type ontology:Q1001378 }
Finding Dory
Finding Dory had its voice dubbing done by that person
Finding Dory
action filter_type
action find_reverse
entity Stephen Root
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'Root']
SELECT DISTINCT ?y WHERE { ?y property:voice_actor resource:Stephen_Root . ?y rdf:type ontology:cinematic_technique }
[]