Simple Question (Direct)
Simple Question
Q6310729
P27
Q15617994
USER
Which administrative territory does Juma Kapuya belong to ?
(Q6310729,P27,c(Q15617994))
action filter_type
action find
entity Q6310729
relation P27
type Q15617994
['Q6310729', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q6310729 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Juma Kapuya
action filter_type
action find
entity Juma Kapuya
relation country of citizenship
type designation for an administrative territorial entity
['Juma Kapuya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Juma_Kapuya property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q924
SYSTEM
Tanzania
Q924
(Q6310729,P27,c(Q15617994))
action filter_type
action find
entity Q6310729
relation P27
type Q15617994
Juma Kapuya belongs to [ANSWER]
['Q6310729', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q6310729 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Tanzania
Juma Kapuya belongs to Tanzania
Tanzania
action filter_type
action find
entity Juma Kapuya
relation country of citizenship
type designation for an administrative territorial entity
['Juma Kapuya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Juma_Kapuya property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6310729
P69
Q3918
USER
Which university is the alma mater of Juma Kapuya ?
(Q6310729,P69,c(Q3918))
action filter_type
action find
entity Q6310729
relation P69
type Q3918
['Q6310729', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q6310729 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Juma Kapuya
action filter_type
action find
entity Juma Kapuya
relation educated at
type university
['Juma Kapuya', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Juma_Kapuya property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q557597
SYSTEM
University of Dar es Salaam
Q557597
(Q6310729,P69,c(Q3918))
action filter_type
action find
entity Q6310729
relation P69
type Q3918
[ANSWER] is the alma mater of Juma Kapuya
['Q6310729', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q6310729 property:P69 ?n . ?n rdf:type ontology:Q3918 }
University of Dar es Salaam
University of Dar es Salaam is the alma mater of Juma Kapuya
University of Dar es Salaam
action filter_type
action find
entity Juma Kapuya
relation educated at
type university
['Juma Kapuya', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Juma_Kapuya property:educated_at ?n . ?n rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4723739
Q3918
USER
And what about Alfredo Chavez Marquez?
(Q4723739,P69,c(Q3918))
action filter_type
action find
entity Q4723739
relation P69
type Q3918
['Q4723739', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q4723739 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Alfredo Chavez Marquez
action filter_type
action find
entity Alfredo Chavez Marquez
relation educated at
type university
['Alfredo Chavez Marquez', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Alfredo_Chavez_Marquez property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q6133193 Q503419
SYSTEM
James E. Rogers College of Law, University of Arizona
Q6133193 Q503419
(Q4723739,P69,c(Q3918))
action filter_type
action find
entity Q4723739
relation P69
type Q3918
[ANSWERS]
['Q4723739', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q4723739 property:P69 ?t . ?t rdf:type ontology:Q3918 }
James E. Rogers College of Law University of Arizona
James E. Rogers College of Law University of Arizona
action filter_type
action find
entity Alfredo Chavez Marquez
relation educated at
type university
['Alfredo Chavez Marquez', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Alfredo_Chavez_Marquez property:educated_at ?t . ?t rdf:type ontology:university }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P69
Q3918 Q502895
USER
How many universities were more number of people educated at than that university ?
(c(Q502895),P69,c(Q3918))
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P69 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3918 }
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:educated_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:university }
[]
university common name
Comparative|Count over More/Less|Single entity type|Clarification
Q503419
SYSTEM
Did you mean University of Arizona ?
(c(Q502895),P69,c(Q3918))
[ANSWER]
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P69 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3918 }
Did you mean University of Arizona ?
University of Arizona
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:educated_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:university }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P69,c(Q3918))
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
[]
SYSTEM
22
Q838330 Q1143289 Q174570 Q1149089 Q1145306 Q7842 Q35794 Q309331 Q235034 Q34433 Q49213 Q391028 Q245247 Q1521725 Q911830 Q230492 Q258464 Q174710 Q213439 Q192334 Q457281 Q219563
(c(Q502895),P69,c(Q3918))
[ANSWER]
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P69 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3918 }
University of Wisconsin–Madison Yale Law School London School of Economics Columbia Law School University of Calcutta University of Tokyo University of Cambridge Ohio State University University of Pittsburgh University of Oxford University of Texas at Austin University of British Columbia King's College London Louisiana State University University of Michigan Law School University of Michigan Trinity College Dublin University of California, Los Angeles University of Virginia University of North Carolina at Chapel Hill University of Illinois at Urbana–Champaign University of Washington
22
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:educated_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:university }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q502895 Q3745054 Q502895
USER
Which people ride on a around 6 people or horse breeds ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 6
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?n rdf:type ?q } GROUP BY ?h } . FILTER ( ?p = 6 ) }
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?n rdf:type ?q } GROUP BY ?h } . FILTER ( ?p = 6 ) }
[]
common name horse breed common name
Q724288
SYSTEM
Rodrigo Pessoa
Q724288
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 6
[ANSWER] ride on a around 6 people or horse breeds
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?n rdf:type ?q } GROUP BY ?h } . FILTER ( ?p = 6 ) }
Rodrigo Pessoa
Rodrigo Pessoa ride on a around 6 people or horse breeds
Rodrigo Pessoa
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?n rdf:type ?q } GROUP BY ?h } . FILTER ( ?p = 6 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q724288 Q93295 Q155
P27
Q15617994
USER
Is that person a citizen of Sohland an der Spree and Brazil ?
(Q724288,P27,Q93295) (Q724288,P27,Q155)
action is_in
entity Q724288
action intersection
action find_reverse
entity Q93295
relation P27
action find_reverse
entity Q155
relation P27
['Q724288', 'P27', 'Q93295'] ['Q724288', 'P27', 'Q155']
ASK WHERE { resource:Q724288 property:P27 resource:Q93295 . resource:Q724288 property:P27 resource:Q155 }
Rodrigo Pessoa Sohland an der Spree Brazil
action is_in
entity Rodrigo Pessoa
action intersection
action find_reverse
entity Sohland an der Spree
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
['Rodrigo Pessoa', 'country of citizenship', 'Sohland an der Spree'] ['Rodrigo Pessoa', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship resource:Sohland_an_der_Spree . resource:Rodrigo_Pessoa property:country_of_citizenship resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q724288,P27,Q93295) (Q724288,P27,Q155)
action is_in
entity Q724288
action intersection
action find_reverse
entity Q93295
relation P27
action find_reverse
entity Q155
relation P27
[ANSWER]
['Q724288', 'P27', 'Q93295'] ['Q724288', 'P27', 'Q155']
ASK WHERE { resource:Q724288 property:P27 resource:Q93295 . resource:Q724288 property:P27 resource:Q155 }
NO and YES respectively
action is_in
entity Rodrigo Pessoa
action intersection
action find_reverse
entity Sohland an der Spree
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
['Rodrigo Pessoa', 'country of citizenship', 'Sohland an der Spree'] ['Rodrigo Pessoa', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship resource:Sohland_an_der_Spree . resource:Rodrigo_Pessoa property:country_of_citizenship resource:Brazil }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9019373
P725
Q502895 Q11424
USER
Which films have been dubbed by approximately the same number of people as The Legend of the North Wind ?
(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 Q9019373
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:Q11424 . ?a rdf:type ontology:Q502895 . ?u property:P725 ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q9019373 property:P725 ?e . ?e rdf:type ontology:Q11424 } } . FILTER ( ?o = ?f ) }
The Legend of the North Wind
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Legend of the North Wind
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:film . ?a rdf:type ontology:common_name . ?u property:voice_actor ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:The_Legend_of_the_North_Wind property:voice_actor ?e . ?e rdf:type ontology:film } } . FILTER ( ?o = ?f ) }
[]
common name film
Q4341553 Q134430 Q1494230
SYSTEM
Pinocchio, Snow White and the Seven Dwarfs, Garfield Gets Real
Q1235519 Q378913 Q4499813 Q3038714 Q1138751 Q6296387 Q713543 Q752301 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q44817 Q29355 Q9019373 Q223359 Q611739 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q4189838 Q943192 Q1361113 Q736731 Q318428 Q172284 Q19703751 Q1513926 Q336012 Q2299779 Q1494230 Q1406374 Q2068444 Q1634740 Q3190021 Q1102410 Q543486 Q3226633 Q1195096 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 Q9019373
relation P725
type Q11424
[ANSWERS] have been dubbed by approximately the same number of people as The Legend of the North Wind
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:Q11424 . ?a rdf:type ontology:Q502895 . ?u property:P725 ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q9019373 property:P725 ?e . ?e rdf:type ontology:Q11424 } } . FILTER ( ?o = ?f ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run The Plague Dogs Rio 2 Cat City Flushed Away The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin The Little Fox Space Dogs The Legend of the North Wind Rio The Ballad of the Daltons The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Starchaser: The Legend of Orin Fantasia Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Lady and the Tramp Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Garfield Gets Real Piglet's Big Movie Felix the Cat: The Movie Jungledyret Hugo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
Pinocchio, Snow White and the Seven Dwarfs and Garfield Gets Real have been dubbed by approximately the same number of people as The Legend of the North Wind
Pinocchio Snow White and the Seven Dwarfs Garfield Gets Real
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Legend of the North Wind
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:film . ?a rdf:type ontology:common_name . ?u property:voice_actor ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:The_Legend_of_the_North_Wind property:voice_actor ?e . ?e rdf:type ontology:film } } . FILTER ( ?o = ?f ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1441
Q11424 Q15707583
USER
Which films do greater number of fictional taxons appear than that film ?
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
film fictional taxon
Comparative|More/Less|Single entity type|Clarification
Q4341553
SYSTEM
Did you mean Pinocchio ?
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Did you mean Pinocchio ?
Pinocchio
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Comparative Reasoning (All)
USER
No, I meant Snow White and the Seven Dwarfs. Could you tell me the answer for that?
(c(Q15707583),P1441,c(Q11424))
Q134430
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
[]
Q40895 Q172284 Q498434
SYSTEM
Dumbo, Lady and the Tramp, The Many Adventures of Winnie the Pooh
Q250378 Q498434 Q40895 Q172284
(c(Q15707583),P1441,c(Q11424))
Greater number of fictional taxons appear than that film in [ANSWERS]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
The Transformers: The Movie The Many Adventures of Winnie the Pooh Dumbo Lady and the Tramp
Greater number of fictional taxons appear than that film in Dumbo, Lady and the Tramp and The Many Adventures of Winnie the Pooh
Dumbo Lady and the Tramp The Many Adventures of Winnie the Pooh
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P941
Q234460 Q2342494 Q11424
USER
Which films were inspired by less number of texts or collectables than that film ?
(c(Q11424),P941,c(Q234460)|c(Q2342494))
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q234460 . ?x rdf:type ontology:Q2342494 }
[{'concept': 'film'}, 'inspired by', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:text . ?x rdf:type ontology:collectable }
[]
text collectable film
Comparative|More/Less|Mult. entity type|Clarification
Q498434
SYSTEM
Did you mean The Many Adventures of Winnie the Pooh ?
(c(Q11424),P941,c(Q234460)|c(Q2342494))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q234460 . ?x rdf:type ontology:Q2342494 }
Did you mean The Many Adventures of Winnie the Pooh ?
The Many Adventures of Winnie the Pooh
[{'concept': 'film'}, 'inspired by', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:text . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant Lady and the Tramp. Could you tell me the answer for that?
(c(Q11424),P941,c(Q234460)|c(Q2342494))
Q172284
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
[{'concept': 'film'}, 'inspired by', [{'concept': 'text'}, {'concept': 'collectable'}]]
[]
SYSTEM
10
Q39722 Q334132 Q19090 Q185831 Q172284 Q199839 Q215617 Q216929 Q40302 Q218894
(c(Q11424),P941,c(Q234460)|c(Q2342494))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q234460 . ?x rdf:type ontology:Q2342494 }
The Rescuers The Great Mouse Detective Robin Hood Space Pilot 3000 Lady and the Tramp The Jungle Book Sleeping Beauty Oliver & Company The Fox and the Hound Pocahontas
10
[{'concept': 'film'}, 'inspired by', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:text . ?x rdf:type ontology:collectable }
[]