Simple Question (Direct)
Simple Question
Q7332925
P364
Q34770
USER
Which language was used originally for the creation of Ridin' on a Rainbow ?
(Q7332925,P364,c(Q34770))
action filter_type
action find
entity Q7332925
relation P364
type Q34770
['Q7332925', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q7332925 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Ridin' on a Rainbow
action filter_type
action find
entity Ridin' on a Rainbow
relation original language of work
type language
["Ridin' on a Rainbow", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ridin'_on_a_Rainbow property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7332925,P364,c(Q34770))
action filter_type
action find
entity Q7332925
relation P364
type Q34770
[ANSWER] was used originally for the creation of Ridin' on a Rainbow
['Q7332925', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q7332925 property:P364 ?u . ?u rdf:type ontology:Q34770 }
English
English was used originally for the creation of Ridin' on a Rainbow
English
action filter_type
action find
entity Ridin' on a Rainbow
relation original language of work
type language
["Ridin' on a Rainbow", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ridin'_on_a_Rainbow property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7332925
P57
Q502895
USER
Who was that work of art directed by ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q7332925
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q7332925 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Ridin' on a Rainbow
action filter_type
action find
entity Ridin' on a Rainbow
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ridin'_on_a_Rainbow property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3237273
SYSTEM
Lew Landers
Q3237273
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q7332925
relation P57
type Q502895
By that work of art directed was by [ANSWER]
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q7332925 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Lew Landers
By that work of art directed was by Lew Landers
Lew Landers
action filter_type
action find
entity Ridin' on a Rainbow
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ridin'_on_a_Rainbow property:director ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q15306159 Q7332925
P57
Q502895
USER
Or Taman Lawang?
OR((Q7332925,P57,c(Q502895)), (Q15306159,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7332925
relation P57
action find
entity Q15306159
relation P57
type Q502895
{'OR': [['Q7332925', 'P57', {'concept': 'Q502895'}], ['Q15306159', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q7332925 property:P57 ?f } UNION { resource:Q15306159 property:P57 ?f } } }
Taman Lawang Ridin' on a Rainbow
action filter_type
action union
action find
entity Ridin' on a Rainbow
relation director
action find
entity Taman Lawang
relation director
type common name
{'OR': [["Ridin' on a Rainbow", 'director', {'concept': 'common name'}], ['Taman Lawang', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Ridin'_on_a_Rainbow property:director ?f } UNION { resource:Taman_Lawang property:director ?f } } }
[]
common name
Q3237273 Q323201
SYSTEM
Lew Landers, Keenen Ivory Wayans
Q3237273 Q323201
OR((Q7332925,P57,c(Q502895)), (Q15306159,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7332925
relation P57
action find
entity Q15306159
relation P57
type Q502895
[ANSWERS]
{'OR': [['Q7332925', 'P57', {'concept': 'Q502895'}], ['Q15306159', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q7332925 property:P57 ?f } UNION { resource:Q15306159 property:P57 ?f } } }
Lew Landers Keenen Ivory Wayans
Lew Landers Keenen Ivory Wayans
action filter_type
action union
action find
entity Ridin' on a Rainbow
relation director
action find
entity Taman Lawang
relation director
type common name
{'OR': [["Ridin' on a Rainbow", 'director', {'concept': 'common name'}], ['Taman Lawang', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Ridin'_on_a_Rainbow property:director ?f } UNION { resource:Taman_Lawang property:director ?f } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15306159
P136
Q1792379
USER
What can be considered as category for Taman Lawang ?
(Q3237273,P136,c(Q1792379)) (Q323201,P136,c(Q1792379))
action filter_type
action find
entity Q15306159
relation P136
type Q1792379
['Q3237273', 'P136', {'concept': 'Q1792379'}] ['Q323201', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q15306159 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
Taman Lawang
action filter_type
action find
entity Taman Lawang
relation genre
type art genre
['Lew Landers', 'genre', {'concept': 'art genre'}] ['Keenen Ivory Wayans', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Taman_Lawang property:genre ?p . ?p rdf:type ontology:art_genre }
[]
art genre
Q157443
SYSTEM
comedy film
Q157443
(Q3237273,P136,c(Q1792379)) (Q323201,P136,c(Q1792379))
action filter_type
action find
entity Q15306159
relation P136
type Q1792379
The [ANSWER] can be considered as category for Taman Lawang
['Q3237273', 'P136', {'concept': 'Q1792379'}] ['Q323201', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q15306159 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
comedy film
The comedy film can be considered as category for Taman Lawang
comedy film
action filter_type
action find
entity Taman Lawang
relation genre
type art genre
['Lew Landers', 'genre', {'concept': 'art genre'}] ['Keenen Ivory Wayans', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Taman_Lawang property:genre ?p . ?p rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q498442 Q15306159
P136
Q1792379
USER
And also Spaceballs
AND((Q15306159,P136,c(Q1792379)), (Q498442,P136,c(Q1792379)))
action filter_type
action intersection
action find
entity Q15306159
relation P136
action find
entity Q498442
relation P136
type Q1792379
{'AND': [['Q15306159', 'P136', {'concept': 'Q1792379'}], ['Q498442', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15306159 property:P136 ?n . resource:Q498442 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
Spaceballs Taman Lawang
action filter_type
action intersection
action find
entity Taman Lawang
relation genre
action find
entity Spaceballs
relation genre
type art genre
{'AND': [['Taman Lawang', 'genre', {'concept': 'art genre'}], ['Spaceballs', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?n WHERE { resource:Taman_Lawang property:genre ?n . resource:Spaceballs property:genre ?n . ?n rdf:type ontology:art_genre }
[]
art genre
Q157443
SYSTEM
comedy film
Q157443
AND((Q15306159,P136,c(Q1792379)), (Q498442,P136,c(Q1792379)))
action filter_type
action intersection
action find
entity Q15306159
relation P136
action find
entity Q498442
relation P136
type Q1792379
[ANSWER]
{'AND': [['Q15306159', 'P136', {'concept': 'Q1792379'}], ['Q498442', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15306159 property:P136 ?n . resource:Q498442 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
comedy film
comedy film
action filter_type
action intersection
action find
entity Taman Lawang
relation genre
action find
entity Spaceballs
relation genre
type art genre
{'AND': [['Taman Lawang', 'genre', {'concept': 'art genre'}], ['Spaceballs', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?n WHERE { resource:Taman_Lawang property:genre ?n . resource:Spaceballs property:genre ?n . ?n rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q498442
P162
Q502895
USER
Who are the creators of Spaceballs ?
(Q157443,P162,c(Q502895))
action filter_type
action find
entity Q498442
relation P162
type Q502895
['Q157443', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q498442 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Spaceballs
action filter_type
action find
entity Spaceballs
relation producer
type common name
['comedy film', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spaceballs property:producer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q3062856 Q104266
SYSTEM
Ezra Swerdlow, Mel Brooks
Q3062856 Q104266
(Q157443,P162,c(Q502895))
action filter_type
action find
entity Q498442
relation P162
type Q502895
The creators of Spaceballs are the [ANSWERS]
['Q157443', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q498442 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Ezra Swerdlow Mel Brooks
The creators of Spaceballs are the Ezra Swerdlow and Mel Brooks
Ezra Swerdlow Mel Brooks
action filter_type
action find
entity Spaceballs
relation producer
type common name
['comedy film', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spaceballs property:producer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q498442
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q3062856,P58,c(Q502895)) (Q104266,P58,c(Q502895))
action filter_type
action find
entity Q498442
relation P58
type Q502895
['Q3062856', 'P58', {'concept': 'Q502895'}] ['Q104266', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q498442 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Spaceballs
action filter_type
action find
entity Spaceballs
relation screenwriter
type common name
['Ezra Swerdlow', 'screenwriter', {'concept': 'common name'}] ['Mel Brooks', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Spaceballs property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7792371 Q104266 Q3441813
SYSTEM
Thomas Meehan, Mel Brooks, Ronny Graham
Q7792371 Q104266 Q3441813
(Q3062856,P58,c(Q502895)) (Q104266,P58,c(Q502895))
action filter_type
action find
entity Q498442
relation P58
type Q502895
[ANSWERS] wrote the script for that work of art
['Q3062856', 'P58', {'concept': 'Q502895'}] ['Q104266', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q498442 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Thomas Meehan Mel Brooks Ronny Graham
Thomas Meehan, Mel Brooks and Ronny Graham wrote the script for that work of art
Thomas Meehan Mel Brooks Ronny Graham
action filter_type
action find
entity Spaceballs
relation screenwriter
type common name
['Ezra Swerdlow', 'screenwriter', {'concept': 'common name'}] ['Mel Brooks', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Spaceballs property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q498442
P58
Q838948
USER
Do Spaceballs have those people as screenwriter ?
(Q498442,P58,Q7792371) (Q498442,P58,Q104266) (Q498442,P58,Q3441813)
action is_in
entity prev_answer
action find
entity Q498442
relation P58
['Q498442', 'P58', 'Q7792371'] ['Q498442', 'P58', 'Q104266'] ['Q498442', 'P58', 'Q3441813']
ASK WHERE { VALUES ( ?d ) { ( resource:Q7792371 ) ( resource:Q104266 ) ( resource:Q3441813 ) } . resource:Q498442 property:P58 ?d }
Spaceballs
action is_in
entity prev_answer
action find
entity Spaceballs
relation screenwriter
['Spaceballs', 'screenwriter', 'Thomas Meehan'] ['Spaceballs', 'screenwriter', 'Mel Brooks'] ['Spaceballs', 'screenwriter', 'Ronny Graham']
ASK WHERE { VALUES ( ?d ) { ( resource:Thomas_Meehan ) ( resource:Mel_Brooks ) ( resource:Ronny_Graham ) } . resource:Spaceballs property:screenwriter ?d }
[]
work of art
SYSTEM
YES
(Q498442,P58,Q7792371) (Q498442,P58,Q104266) (Q498442,P58,Q3441813)
action is_in
entity prev_answer
action find
entity Q498442
relation P58
[ANSWER]
['Q498442', 'P58', 'Q7792371'] ['Q498442', 'P58', 'Q104266'] ['Q498442', 'P58', 'Q3441813']
ASK WHERE { VALUES ( ?d ) { ( resource:Q7792371 ) ( resource:Q104266 ) ( resource:Q3441813 ) } . resource:Q498442 property:P58 ?d }
Yes
action is_in
entity prev_answer
action find
entity Spaceballs
relation screenwriter
['Spaceballs', 'screenwriter', 'Thomas Meehan'] ['Spaceballs', 'screenwriter', 'Mel Brooks'] ['Spaceballs', 'screenwriter', 'Ronny Graham']
ASK WHERE { VALUES ( ?d ) { ( resource:Thomas_Meehan ) ( resource:Mel_Brooks ) ( resource:Ronny_Graham ) } . resource:Spaceballs property:screenwriter ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q785294
P725
Q502895 Q11424
USER
Which films did approximately the same number of people do the dubbing for as Captain of the Forest ?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q785294
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?j rdf:type ontology:Q11424 . ?y rdf:type ontology:Q502895 . ?j property:P725 ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q785294 property:P725 ?h . ?h rdf:type ontology:Q11424 } } . FILTER ( ?x = ?q ) }
Captain of the Forest
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Captain of the Forest
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?j rdf:type ontology:film . ?y rdf:type ontology:common_name . ?j property:voice_actor ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Captain_of_the_Forest property:voice_actor ?h . ?h rdf:type ontology:film } } . FILTER ( ?x = ?q ) }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q378913 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q215518 Q1160649 Q134430 Q215617 Q853718 Q12084660 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q3226633
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q785294
relation P725
type Q11424
Approximately the same number of people did the dubbing of [ANSWERS] for as Captain of the Forest
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?j rdf:type ontology:Q11424 . ?y rdf:type ontology:Q502895 . ?j property:P725 ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q785294 property:P725 ?h . ?h rdf:type ontology:Q11424 } } . FILTER ( ?x = ?q ) }
The Lord of the Rings Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty Fun and Fancy Free The Princess and the Goblin Paprika Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The Movie Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Renart the Fox
Approximately the same number of people did the dubbing of Robin Hood, Peter Pan and The Rescuers for as Captain of the Forest
Robin Hood Peter Pan The Rescuers
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Captain of the Forest
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?j rdf:type ontology:film . ?y rdf:type ontology:common_name . ?j property:voice_actor ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Captain_of_the_Forest property:voice_actor ?h . ?h rdf:type ontology:film } } . FILTER ( ?x = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q752301
P725
Q502895 Q11424
USER
And how about Flushed Away?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q752301
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q752301 property:P725 ?q . ?q rdf:type ontology:Q11424 } } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?w ) WHERE { ?u rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 . ?u property:P725 ?f } GROUP BY ?u } }
Flushed Away
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Flushed Away
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Flushed_Away property:voice_actor ?q . ?q rdf:type ontology:film } } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?w ) WHERE { ?u rdf:type ontology:film . ?f rdf:type ontology:common_name . ?u property:voice_actor ?f } GROUP BY ?u } }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q752301
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q752301 property:P725 ?q . ?q rdf:type ontology:Q11424 } } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?w ) WHERE { ?u rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 . ?u property:P725 ?f } GROUP BY ?u } }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Renart the Fox FernGully: The Last Rainforest
Robin Hood Peter Pan The Rescuers
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Flushed Away
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Flushed_Away property:voice_actor ?q . ?q rdf:type ontology:film } } . FILTER ( ?w = ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?w ) WHERE { ?u rdf:type ontology:film . ?f rdf:type ontology:common_name . ?u property:voice_actor ?f } GROUP BY ?u } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q270470
P1441
Q95074
USER
Which fictional characters are present in that film ?
(c(Q95074),P1441,Q270470)
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q270470']
SELECT DISTINCT ?n WHERE { ?n property:P1441 resource:Q270470 . ?n rdf:type ontology:Q95074 }
Peter Pan
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Peter Pan']
SELECT DISTINCT ?n WHERE { ?n property:present_in_work resource:Peter_Pan . ?n rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q39722
SYSTEM
Did you mean The Rescuers ?
Q19090 Q270470 Q39722
(c(Q95074),P1441,Q19090) (c(Q95074),P1441,Q270470) (c(Q95074),P1441,Q39722)
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q19090'] [{'concept': 'Q95074'}, 'P1441', 'Q270470'] [{'concept': 'Q95074'}, 'P1441', 'Q39722']
SELECT DISTINCT ?n WHERE { ?n property:P1441 resource:Q270470 . ?n rdf:type ontology:Q95074 }
Robin Hood Peter Pan The Rescuers
Did you mean The Rescuers ?
The Rescuers
[{'concept': 'fictional character'}, 'present in work', 'Robin Hood'] [{'concept': 'fictional character'}, 'present in work', 'Peter Pan'] [{'concept': 'fictional character'}, 'present in work', 'The Rescuers']
SELECT DISTINCT ?n WHERE { ?n property:present_in_work resource:Peter_Pan . ?n rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Peter Pan. Could you tell me the answer for that?
(c(Q95074),P1441,Q270470)
Q270470
[{'concept': 'Q95074'}, 'P1441', 'Q270470']
[{'concept': 'fictional character'}, 'present in work', 'Peter Pan']
[]
Q27663642 Q27663814 Q27666260
SYSTEM
Wendy Darling, Captain Hook, Mr. Smee
Q27666260 Q27663545 Q27666386 Q27663642 Q27666036 Q27666236 Q27666317 Q27666118 Q27663814 Q27666216 Q27666446 Q27666068 Q27666112
(c(Q95074),P1441,Q270470)
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
[ANSWERS] are present in that film
[{'concept': 'Q95074'}, 'P1441', 'Q270470']
SELECT DISTINCT ?n WHERE { ?n property:P1441 resource:Q270470 . ?n rdf:type ontology:Q95074 }
Mr. Smee Peter Pan Indian Chief Wendy Darling George Darling Nana Crocodile Michael Darling Captain Hook Tinker Bell Tiger Lily John Darling Mary Darling
Wendy Darling, Captain Hook and Mr. Smee are present in that film
Wendy Darling Captain Hook Mr. Smee
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Peter Pan']
SELECT DISTINCT ?n WHERE { ?n property:present_in_work resource:Peter_Pan . ?n rdf:type ontology:fictional_character }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q270470
P674
Q11424
USER
Do Peter Pan have the character those fictional characters ?
(Q270470,P674,Q27663642) (Q270470,P674,Q27663814) (Q270470,P674,Q27666260)
action is_in
entity prev_answer
action find
entity Q270470
relation P674
['Q270470', 'P674', 'Q27663642'] ['Q270470', 'P674', 'Q27663814'] ['Q270470', 'P674', 'Q27666260']
ASK WHERE { resource:Q270470 property:P674 ?n . VALUES ( ?n ) { ( resource:Q27666260 ) ( resource:Q27663545 ) ( resource:Q27666386 ) } }
Peter Pan
action is_in
entity prev_answer
action find
entity Peter Pan
relation characters
['Peter Pan', 'characters', 'Wendy Darling'] ['Peter Pan', 'characters', 'Captain Hook'] ['Peter Pan', 'characters', 'Mr. Smee']
ASK WHERE { resource:Peter_Pan property:characters ?n . VALUES ( ?n ) { ( resource:Mr._Smee ) ( resource:Peter_Pan ) ( resource:Indian_Chief ) } }
[]
film
SYSTEM
YES
(Q270470,P674,Q27663642) (Q270470,P674,Q27663814) (Q270470,P674,Q27666260)
action is_in
entity prev_answer
action find
entity Q270470
relation P674
[ANSWER]
['Q270470', 'P674', 'Q27663642'] ['Q270470', 'P674', 'Q27663814'] ['Q270470', 'P674', 'Q27666260']
ASK WHERE { resource:Q270470 property:P674 ?n . VALUES ( ?n ) { ( resource:Q27666260 ) ( resource:Q27663545 ) ( resource:Q27666386 ) } }
Yes
action is_in
entity prev_answer
action find
entity Peter Pan
relation characters
['Peter Pan', 'characters', 'Wendy Darling'] ['Peter Pan', 'characters', 'Captain Hook'] ['Peter Pan', 'characters', 'Mr. Smee']
ASK WHERE { resource:Peter_Pan property:characters ?n . VALUES ( ?n ) { ( resource:Mr._Smee ) ( resource:Peter_Pan ) ( resource:Indian_Chief ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q27666260 Q4676861
P1441
Q11424
USER
Does Acting Sheriff contain Mr. Smee ?
(Q27666260,P1441,Q4676861)
action is_in
entity Q4676861
action find
entity Q27666260
relation P1441
['Q27666260', 'P1441', 'Q4676861']
ASK WHERE { resource:Q27666260 property:P1441 resource:Q4676861 }
Mr. Smee Acting Sheriff
action is_in
entity Acting Sheriff
action find
entity Mr. Smee
relation present in work
['Mr. Smee', 'present in work', 'Acting Sheriff']
ASK WHERE { resource:Mr._Smee property:present_in_work resource:Acting_Sheriff }
[]
film
SYSTEM
NO
(Q27666260,P1441,Q4676861)
action is_in
entity Q4676861
action find
entity Q27666260
relation P1441
[ANSWER]
['Q27666260', 'P1441', 'Q4676861']
ASK WHERE { resource:Q27666260 property:P1441 resource:Q4676861 }
No
action is_in
entity Acting Sheriff
action find
entity Mr. Smee
relation present in work
['Mr. Smee', 'present in work', 'Acting Sheriff']
ASK WHERE { resource:Mr._Smee property:present_in_work resource:Acting_Sheriff }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7897366 Q498442
P161
Q502895
USER
Which people were casted in Spaceballs or Unrelated ?
OR((Q498442,P161,c(Q502895)), (Q7897366,P161,c(Q502895)))
action filter_type
action union
action find
entity Q498442
relation P161
action find
entity Q7897366
relation P161
type Q502895
{'OR': [['Q498442', 'P161', {'concept': 'Q502895'}], ['Q7897366', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?x ) { ( resource:Q498442 ) ( resource:Q7897366 ) } . ?x property:P161 ?i } . ?i rdf:type ontology:Q502895 }
Unrelated Spaceballs
action filter_type
action union
action find
entity Spaceballs
relation cast member
action find
entity Unrelated
relation cast member
type common name
{'OR': [['Spaceballs', 'cast member', {'concept': 'common name'}], ['Unrelated', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?x ) { ( resource:Spaceballs ) ( resource:Unrelated ) } . ?x property:cast_member ?i } . ?i rdf:type ontology:common_name }
[]
common name
Q522533 Q5725010 Q958791 Q236204 Q31970 Q1820751 Q104266 Q4801740 Q5372837 Q17288405
SYSTEM
Some of them are Michael Winslow, Henry Lloyd-Hughes, George Wyner, Daphne Zuniga, Brenda Strong, Leslie Bevis, Mel Brooks, Arturo Gil, Emma Hiddleston, Lorene Yarnell
Q104266 Q1689123 Q3467428 Q6780635 Q295803 Q522533 Q315763 Q236204 Q17288405 Q519488 Q318938 Q958791 Q336282 Q218532 Q348209 Q4801740 Q452232 Q1209826 Q240933 Q200405 Q5725010 Q273137 Q31970 Q5372837 Q1820751 Q3441813
OR((Q498442,P161,c(Q502895)), (Q7897366,P161,c(Q502895)))
action filter_type
action union
action find
entity Q498442
relation P161
action find
entity Q7897366
relation P161
type Q502895
[ANSWERS] were casted in Spaceballs or Unrelated
{'OR': [['Q498442', 'P161', {'concept': 'Q502895'}], ['Q7897366', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?x ) { ( resource:Q498442 ) ( resource:Q7897366 ) } . ?x property:P161 ?i } . ?i rdf:type ontology:Q502895 }
Mel Brooks Jim J. Bullock Sal Viscuso Mary Roscoe Tom Hiddleston Michael Winslow Bill Pullman Daphne Zuniga Lorene Yarnell David Rintoul Bubba Smith George Wyner Rick Moranis John Candy Dom DeLuise Arturo Gil Tim Russ Dick Van Patten Joan Rivers John Hurt Henry Lloyd-Hughes Dey Young Brenda Strong Emma Hiddleston Leslie Bevis Ronny Graham
Michael Winslow, Henry Lloyd-Hughes, George Wyner, Daphne Zuniga, Brenda Strong, Leslie Bevis, Mel Brooks, Arturo Gil, Emma Hiddleston and Lorene Yarnell were casted in Spaceballs or Unrelated
Michael Winslow Henry Lloyd-Hughes George Wyner Daphne Zuniga Brenda Strong Leslie Bevis Mel Brooks Arturo Gil Emma Hiddleston Lorene Yarnell
action filter_type
action union
action find
entity Spaceballs
relation cast member
action find
entity Unrelated
relation cast member
type common name
{'OR': [['Spaceballs', 'cast member', {'concept': 'common name'}], ['Unrelated', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?x ) { ( resource:Spaceballs ) ( resource:Unrelated ) } . ?x property:cast_member ?i } . ?i rdf:type ontology:common_name }
[]