Simple Question (Direct)
Simple Question
Q665908
P170
Q502895
USER
Who is credited with the creation of Cars Toons: Mater's Tall Tales ?
(Q665908,P170,c(Q502895))
action filter_type
action find
entity Q665908
relation P170
type Q502895
['Q665908', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q665908 property:P170 ?b . ?b rdf:type ontology:Q502895 }
Cars Toons: Mater's Tall Tales
action filter_type
action find
entity Cars Toons: Mater's Tall Tales
relation creator
type common name
["Cars Toons: Mater's Tall Tales", 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Cars_Toons:_Mater's_Tall_Tales property:creator ?b . ?b rdf:type ontology:common_name }
[]
common name
Q269214
SYSTEM
John Lasseter
Q269214
(Q665908,P170,c(Q502895))
action filter_type
action find
entity Q665908
relation P170
type Q502895
[ANSWER] is credited with the creation of Cars Toons: Mater's Tall Tales
['Q665908', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q665908 property:P170 ?b . ?b rdf:type ontology:Q502895 }
John Lasseter
John Lasseter is credited with the creation of Cars Toons: Mater's Tall Tales
John Lasseter
action filter_type
action find
entity Cars Toons: Mater's Tall Tales
relation creator
type common name
["Cars Toons: Mater's Tall Tales", 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Cars_Toons:_Mater's_Tall_Tales property:creator ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q269214
P58
Q201658
USER
Which film genres are that person a screenwriter of ?
(c(Q201658),P58,Q269214)
action filter_type
action find_reverse
entity Q269214
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q269214']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q269214 . ?w rdf:type ontology:Q201658 }
John Lasseter
action filter_type
action find_reverse
entity John Lasseter
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'John Lasseter']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:John_Lasseter . ?w rdf:type ontology:film_genre }
[]
film genre
Q2219678 Q914155 Q549465
SYSTEM
Mater and the Ghostlight, Luxo Jr., Tin Toy
Q549465 Q2219678 Q914155 Q1112582 Q508712
(c(Q201658),P58,Q269214)
action filter_type
action find_reverse
entity Q269214
relation P58
type Q201658
[ANSWERS] are that person a screenwriter of
[{'concept': 'Q201658'}, 'P58', 'Q269214']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q269214 . ?w rdf:type ontology:Q201658 }
Tin Toy Mater and the Ghostlight Luxo Jr. Red's Dream Knick Knack
Mater and the Ghostlight, Luxo Jr. and Tin Toy are that person a screenwriter of
Mater and the Ghostlight Luxo Jr. Tin Toy
action filter_type
action find_reverse
entity John Lasseter
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'John Lasseter']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:John_Lasseter . ?w rdf:type ontology:film_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2219678
P364
Q34770
USER
Which language was used originally for the creation of that film genre ?
(Q2219678,P364,c(Q34770))
action filter_type
action find
entity Q2219678
relation P364
type Q34770
['Q2219678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q2219678 property:P364 ?t . ?t rdf:type ontology:Q34770 }
Mater and the Ghostlight
action filter_type
action find
entity Mater and the Ghostlight
relation original language of work
type language
['Mater and the Ghostlight', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Mater_and_the_Ghostlight property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q549465
SYSTEM
Did you mean Tin Toy ?
Q2219678 Q914155 Q549465
(Q2219678,P364,c(Q34770)) (Q914155,P364,c(Q34770)) (Q549465,P364,c(Q34770))
[ANSWER]
['Q2219678', 'P364', {'concept': 'Q34770'}] ['Q914155', 'P364', {'concept': 'Q34770'}] ['Q549465', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q2219678 property:P364 ?t . ?t rdf:type ontology:Q34770 }
Mater and the Ghostlight Luxo Jr. Tin Toy
Did you mean Tin Toy ?
Tin Toy
['Mater and the Ghostlight', 'original language of work', {'concept': 'language'}] ['Luxo Jr.', 'original language of work', {'concept': 'language'}] ['Tin Toy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Mater_and_the_Ghostlight property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant Mater and the Ghostlight. Could you tell me the answer for that?
(Q2219678,P364,c(Q34770))
Q2219678
['Q2219678', 'P364', {'concept': 'Q34770'}]
['Mater and the Ghostlight', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q2219678,P364,c(Q34770))
action filter_type
action find
entity Q2219678
relation P364
type Q34770
[ANSWER] was used originally for the creation of that film genre
['Q2219678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q2219678 property:P364 ?t . ?t rdf:type ontology:Q34770 }
English
English was used originally for the creation of that film genre
English
action filter_type
action find
entity Mater and the Ghostlight
relation original language of work
type language
['Mater and the Ghostlight', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Mater_and_the_Ghostlight property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4502515 Q549465
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of Tin Toy or do Mian Arshad Hussain belong to ?
OR((Q549465,P495,c(Q15617994)), (Q4502515,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q549465
relation P495
action find
entity Q4502515
relation P27
type Q15617994
{'OR': [['Q549465', 'P495', {'concept': 'Q15617994'}], ['Q4502515', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4502515 property:P27 ?w } UNION { resource:Q549465 property:P495 ?w } } . ?w rdf:type ontology:Q15617994 }
Mian Arshad Hussain Tin Toy
action filter_type
action union
action find
entity Tin Toy
relation country of origin
action find
entity Mian Arshad Hussain
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tin Toy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Mian Arshad Hussain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mian_Arshad_Hussain property:country_of_citizenship ?w } UNION { resource:Tin_Toy property:country_of_origin ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q30
SYSTEM
Pakistan, United States of America
Q843 Q30
OR((Q549465,P495,c(Q15617994)), (Q4502515,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q549465
relation P495
action find
entity Q4502515
relation P27
type Q15617994
[ANSWERS] are the countries of origin of Tin Toy or do Mian Arshad Hussain belong to
{'OR': [['Q549465', 'P495', {'concept': 'Q15617994'}], ['Q4502515', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4502515 property:P27 ?w } UNION { resource:Q549465 property:P495 ?w } } . ?w rdf:type ontology:Q15617994 }
Pakistan United States of America
Pakistan and United States of America are the countries of origin of Tin Toy or do Mian Arshad Hussain belong to
Pakistan United States of America
action filter_type
action union
action find
entity Tin Toy
relation country of origin
action find
entity Mian Arshad Hussain
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tin Toy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Mian Arshad Hussain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mian_Arshad_Hussain property:country_of_citizenship ?w } UNION { resource:Tin_Toy property:country_of_origin ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q269214
P170
Q2424752 Q2235021
USER
How many products and characters from Toy Story were developed by John Lasseter ?
(c(Q2424752),P170,Q269214) (c(Q2235021),P170,Q269214)
action count
action union
action filter_type
action find_reverse
entity Q269214
relation P170
type Q2424752
action filter_type
action find_reverse
entity Q269214
relation P170
type Q2235021
[{'concept': 'Q2424752'}, 'P170', 'Q269214'] [{'concept': 'Q2235021'}, 'P170', 'Q269214']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P170 resource:Q269214 . ?b rdf:type ontology:Q2235021 } UNION { ?b property:P170 resource:Q269214 . ?b rdf:type ontology:Q2424752 } }
John Lasseter
action count
action union
action filter_type
action find_reverse
entity John Lasseter
relation creator
type product
action filter_type
action find_reverse
entity John Lasseter
relation creator
type character from Toy Story
[{'concept': 'product'}, 'creator', 'John Lasseter'] [{'concept': 'character from Toy Story'}, 'creator', 'John Lasseter']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:creator resource:John_Lasseter . ?b rdf:type ontology:character_from_Toy_Story } UNION { ?b property:creator resource:John_Lasseter . ?b rdf:type ontology:product } }
[]
product character from Toy Story
SYSTEM
1 products and 1 characters from Toy Story
Q2200623 Q1986193
(c(Q2424752),P170,Q269214) (c(Q2235021),P170,Q269214)
action count
action union
action filter_type
action find_reverse
entity Q269214
relation P170
type Q2424752
action filter_type
action find_reverse
entity Q269214
relation P170
type Q2235021
[ANSWER]
[{'concept': 'Q2424752'}, 'P170', 'Q269214'] [{'concept': 'Q2235021'}, 'P170', 'Q269214']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P170 resource:Q269214 . ?b rdf:type ontology:Q2235021 } UNION { ?b property:P170 resource:Q269214 . ?b rdf:type ontology:Q2424752 } }
Jessie Buzz Lightyear
1 products and 1 characters from Toy Story
action count
action union
action filter_type
action find_reverse
entity John Lasseter
relation creator
type product
action filter_type
action find_reverse
entity John Lasseter
relation creator
type character from Toy Story
[{'concept': 'product'}, 'creator', 'John Lasseter'] [{'concept': 'character from Toy Story'}, 'creator', 'John Lasseter']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:creator resource:John_Lasseter . ?b rdf:type ontology:character_from_Toy_Story } UNION { ?b property:creator resource:John_Lasseter . ?b rdf:type ontology:product } }
[]