Simple Question (Direct)
Simple Question
Q1340899
P47
Q20667921
USER
Which french administrative divisions share border with Gouaux-de-Luchon ?
(Q1340899,P47,c(Q20667921))
action filter_type
action find
entity Q1340899
relation P47
type Q20667921
['Q1340899', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q1340899 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Gouaux-de-Luchon
action filter_type
action find
entity Gouaux-de-Luchon
relation shares border with
type type of french administrative division
['Gouaux-de-Luchon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Gouaux-de-Luchon property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q691595 Q1341025 Q1143923
SYSTEM
Baren, Cier-de-Luchon, Salles-et-Pratviel
Q691595 Q1341025 Q1088729 Q1143923 Q1344773 Q1088702 Q572414
(Q1340899,P47,c(Q20667921))
action filter_type
action find
entity Q1340899
relation P47
type Q20667921
[ANSWERS] share border with Gouaux-de-Luchon
['Q1340899', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q1340899 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Baren Cier-de-Luchon Artigue Salles-et-Pratviel Cazaux-Layrisse Arlos Marignac
Baren, Cier-de-Luchon and Salles-et-Pratviel share border with Gouaux-de-Luchon
Baren Cier-de-Luchon Salles-et-Pratviel
action filter_type
action find
entity Gouaux-de-Luchon
relation shares border with
type type of french administrative division
['Gouaux-de-Luchon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Gouaux-de-Luchon property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q691595 Q1341025 Q1143923
P17
Q15617994
USER
Which administrative territories are Baren, Cier-de-Luchon and Salles-et-Pratviel a part of ?
(Q691595,P17,c(Q15617994)) (Q1341025,P17,c(Q15617994)) (Q1143923,P17,c(Q15617994))
action union
action filter_type
action find
entity Q691595
relation P17
type Q15617994
action filter_type
action find
entity Q1341025
relation P17
type Q15617994
action filter_type
action find
entity Q1143923
relation P17
type Q15617994
['Q691595', 'P17', {'concept': 'Q15617994'}] ['Q1341025', 'P17', {'concept': 'Q15617994'}] ['Q1143923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { resource:Q691595 property:P17 ?g . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q15617994 . resource:Q1341025 property:P17 ?g } }
Baren Cier-de-Luchon Salles-et-Pratviel
action union
action filter_type
action find
entity Baren
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cier-de-Luchon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Salles-et-Pratviel
relation country
type designation for an administrative territorial entity
['Baren', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cier-de-Luchon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Salles-et-Pratviel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Baren property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cier-de-Luchon property:country ?g } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q691595,P17,c(Q15617994)) (Q1341025,P17,c(Q15617994)) (Q1143923,P17,c(Q15617994))
action union
action filter_type
action find
entity Q691595
relation P17
type Q15617994
action filter_type
action find
entity Q1341025
relation P17
type Q15617994
action filter_type
action find
entity Q1143923
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Baren, Cier-de-Luchon and Salles-et-Pratviel a part of
['Q691595', 'P17', {'concept': 'Q15617994'}] ['Q1341025', 'P17', {'concept': 'Q15617994'}] ['Q1143923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { resource:Q691595 property:P17 ?g . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q15617994 . resource:Q1341025 property:P17 ?g } }
France France France
France, France and France are Baren, Cier-de-Luchon and Salles-et-Pratviel a part of
France France France
action union
action filter_type
action find
entity Baren
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cier-de-Luchon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Salles-et-Pratviel
relation country
type designation for an administrative territorial entity
['Baren', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cier-de-Luchon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Salles-et-Pratviel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Baren property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cier-de-Luchon property:country ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P159
Q43229
USER
Which organizations have HQ at France ?
(c(Q43229),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q142']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q142 . ?v rdf:type ontology:Q43229 }
France
action filter_type
action find_reverse
entity France
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'France']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:France . ?v rdf:type ontology:organization }
[]
organization
Q1709809 Q3061374 Q3091815
SYSTEM
Mercure Hotels, Evellin, goldsmith, French Federation of Go
Q3416319 Q1226101 Q677981 Q1139471 Q18399687 Q3117501 Q2870251 Q3060834 Q3091815 Q3278187 Q814159 Q3485752 Q3488411 Q6850204 Q1644618 Q3555267 Q2672003 Q17496248 Q3338976 Q3381405 Q16542990 Q2990198 Q3235433 Q3146572 Q4815856 Q2817899 Q3154424 Q2943995 Q3317698 Q5157361 Q3575210 Q3415957 Q3489793 Q1706670 Q3300085 Q598867 Q14467396 Q3117600 Q2829511 Q546542 Q3460509 Q4828922 Q2596455 Q3075445 Q3214394 Q3124710 Q2961620 Q7552905 Q3559968 Q2935922 Q5515092 Q3434112 Q1709809 Q4668726 Q942875 Q17355557 Q2998607 Q4045593 Q3067421 Q3327023 Q3200337 Q5122418 Q822975 Q3579356 Q5412773 Q3498746 Q1634317 Q20775532 Q2992778 Q16908664 Q2904085 Q3214517 Q7179600 Q3560638 Q2876680 Q3365297 Q3574548 Q19903645 Q962626 Q3061374 Q2925142 Q3570929 Q3236436 Q3568929 Q5639156 Q3488869 Q3459501 Q15138646 Q2990868 Q4831588 Q5484721 Q3011096
(c(Q43229),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q43229
[ANSWERS] have HQ at France
[{'concept': 'Q43229'}, 'P159', 'Q142']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q142 . ?v rdf:type ontology:Q43229 }
Rackham Radiodiffusion-Télévision Française Armand de Brignac Creed Groupe Chantelle La Mère Poulard Au Départ Europorte Channel French Federation of Go Tonkam Beez Entertainment Sixpack France Société industrielle des téléphones Mikroelektronika Timex Group USA Veja Sneakers Celio Creusot-Loire new man clothing honeAndPhone.com Compagnie générale transsaharienne Compagnie générale transaérienne Les Sept Couleurs DigiWorld by IDATE Atisreal 5asec Iris Pharma, an ophthalmology-focused CRO Cellectis Norauto Computer's Dream Zenith Data Systems Rabot Dutilleul Someca Wasabi Records Mauboussin Deberny & Peignot Bolloré Africa Logistics Groupe Zannier Alain Afflelou A.P.C. Sabena technics Avions Mauboussin MultiThématiques Fondation Gabriel-Péri Urgo H3 Pharma Chaumet Société Astra Vinci Airports Agence française de coopération médias GYS Roady Mercure Hotels Abraham International Union of Guides and Scouts of Europe Société française de transmissions florales Cottin SAS OPEN CASCADE Fauré Le Page Moynat Kulte Citer SA Mephisto Éditions Hortus European Language Resources Association Avions Voisin Lioré et Olivier Universciné Confédération Nationale de la Mutualité, de la Coopération et du Crédit Agricoles Hoka One One acetylleucine Laboratoires Lehning Peyret-Mauboussin Virgin Mobile France BAC Films Paris Store Zadig & Voltaire Simplex Beneteau Evellin, goldsmith Bricoman Xerfi Les réveils Bayard William Saurin Haiku Studios Sofradir Société française pour le commerce avec l'Outre-mer TeamTO Comptoir des Cotonniers Ayotle Francophonie Diffusion D3M
Mercure Hotels, Evellin, goldsmith and French Federation of Go have HQ at France
Mercure Hotels Evellin, goldsmith French Federation of Go
action filter_type
action find_reverse
entity France
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'France']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:France . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P463
Q484652
USER
Which organizations were that administrative territory a member of ?
(Q1709809,P463,c(Q484652)) (Q3061374,P463,c(Q484652)) (Q3091815,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
['Q1709809', 'P463', {'concept': 'Q484652'}] ['Q3061374', 'P463', {'concept': 'Q484652'}] ['Q3091815', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q484652 }
France
action filter_type
action find
entity France
relation member of
type international organization
['Mercure Hotels', 'member of', {'concept': 'international organization'}] ['Evellin, goldsmith', 'member of', {'concept': 'international organization'}] ['French Federation of Go', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:France property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q1065 Q19771 Q188822 Q37143 Q134102 Q7184 Q42262 Q1043527
(Q1709809,P463,c(Q484652)) (Q3061374,P463,c(Q484652)) (Q3091815,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
[ANSWERS] were that administrative territory a member of
['Q1709809', 'P463', {'concept': 'Q484652'}] ['Q3061374', 'P463', {'concept': 'Q484652'}] ['Q3091815', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and European Space Agency were that administrative territory a member of
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity France
relation member of
type international organization
['Mercure Hotels', 'member of', {'concept': 'international organization'}] ['Evellin, goldsmith', 'member of', {'concept': 'international organization'}] ['French Federation of Go', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:France property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q81299,P6,c(Q502895)) (Q19771,P6,c(Q502895)) (Q42262,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q81299', 'P6', {'concept': 'Q502895'}] ['Q19771', 'P6', {'concept': 'Q502895'}] ['Q42262', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P6 ?h . ?h rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of government
type common name
['Organization for Security and Co-operation in Europe', 'head of government', {'concept': 'common name'}] ['G20', 'head of government', {'concept': 'common name'}] ['European Space Agency', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:France property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
(Q81299,P6,c(Q502895)) (Q19771,P6,c(Q502895)) (Q42262,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q81299', 'P6', {'concept': 'Q502895'}] ['Q19771', 'P6', {'concept': 'Q502895'}] ['Q42262', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Manuel Valls Jean-Marc Ayrault
Manuel Valls and Jean-Marc Ayrault have that administrative territory as their heads of government
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
['Organization for Security and Co-operation in Europe', 'head of government', {'concept': 'common name'}] ['G20', 'head of government', {'concept': 'common name'}] ['European Space Agency', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:France property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 1309 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1309
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?o = 1309 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1309
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?o = 1309 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1309
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?o = 1309 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1309
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?o = 1309 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did atleast 7 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 7
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?s ) WHERE { ?p property:P725 ?v . ?p rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?s >= 7 ) }
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 7
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?s ) WHERE { ?p property:voice_actor ?v . ?p rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?s >= 7 ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q4341553 Q215518 Q1160649 Q134430 Q215617 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q190135 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q1406374 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q271189 Q3226633
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 7
Atleast 7 people did the dubbing of [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?s ) WHERE { ?p property:P725 ?v . ?p rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?s >= 7 ) }
The Lord of the Rings Home 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 Pinocchio Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians 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 The Little Mermaid 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 Piglet's Big Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Hercules Renart the Fox
Atleast 7 people did the dubbing of The Little Mermaid, Robin Hood and Hercules
The Little Mermaid Robin Hood Hercules
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 7
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?s ) WHERE { ?p property:voice_actor ?v . ?p rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?s >= 7 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P941
Q386724 Q234460 Q11424
USER
How many films have approximately the same number of works and texts as source of inspiration as that film ?
(c(Q11424),P941,c(Q386724)|c(Q234460))
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q386724'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q234460 }
[{'concept': 'film'}, 'inspired by', [{'concept': 'work'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:work . ?x rdf:type ontology:text }
[]
work text film
Comparative|Count over More/Less|Mult. entity type|Clarification
Q271189
SYSTEM
Did you mean Hercules ?
(c(Q11424),P941,c(Q386724)|c(Q234460))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q386724'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q234460 }
Did you mean Hercules ?
Hercules
[{'concept': 'film'}, 'inspired by', [{'concept': 'work'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:work . ?x rdf:type ontology:text }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Robin Hood. Could you tell me the answer for that?
(c(Q11424),P941,c(Q386724)|c(Q234460))
Q19090
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q386724'}, {'concept': 'Q234460'}]]
[{'concept': 'film'}, 'inspired by', [{'concept': 'work'}, {'concept': 'text'}]]
[]
SYSTEM
6
Q334132 Q185831 Q199839 Q215617 Q216929 Q218894
(c(Q11424),P941,c(Q386724)|c(Q234460))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', [{'concept': 'Q386724'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P941 ?y } UNION { ?z property:P941 ?x } } . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q234460 }
The Great Mouse Detective Space Pilot 3000 The Jungle Book Sleeping Beauty Oliver & Company Pocahontas
6
[{'concept': 'film'}, 'inspired by', [{'concept': 'work'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:inspired_by ?y } UNION { ?z property:inspired_by ?x } } . ?z rdf:type ontology:film . ?y rdf:type ontology:work . ?x rdf:type ontology:text }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1125282 Q271189
P161 P725
Q502895
USER
Which people did the dubbing for Hercules and were casted in Man on the Moon ?
AND((Q271189,P725,c(Q502895)), (Q1125282,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q271189
relation P725
action find
entity Q1125282
relation P161
type Q502895
{'AND': [['Q271189', 'P725', {'concept': 'Q502895'}], ['Q1125282', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { resource:Q271189 property:P725 ?r . resource:Q1125282 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Man on the Moon Hercules
action filter_type
action intersection
action find
entity Hercules
relation voice actor
action find
entity Man on the Moon
relation cast member
type common name
{'AND': [['Hercules', 'voice actor', {'concept': 'common name'}], ['Man on the Moon', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { resource:Hercules property:voice_actor ?r . resource:Man_on_the_Moon property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q963626 Q26806
SYSTEM
Paul Shaffer, Danny DeVito
Q963626 Q26806
AND((Q271189,P725,c(Q502895)), (Q1125282,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q271189
relation P725
action find
entity Q1125282
relation P161
type Q502895
[ANSWERS] did the dubbing for Hercules and were casted in Man on the Moon
{'AND': [['Q271189', 'P725', {'concept': 'Q502895'}], ['Q1125282', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { resource:Q271189 property:P725 ?r . resource:Q1125282 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Paul Shaffer Danny DeVito
Paul Shaffer and Danny DeVito did the dubbing for Hercules and were casted in Man on the Moon
Paul Shaffer Danny DeVito
action filter_type
action intersection
action find
entity Hercules
relation voice actor
action find
entity Man on the Moon
relation cast member
type common name
{'AND': [['Hercules', 'voice actor', {'concept': 'common name'}], ['Man on the Moon', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { resource:Hercules property:voice_actor ?r . resource:Man_on_the_Moon property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15176855
P725
Q502895 Q15416
USER
Which television programs had their voice dubbing done by greater number of people than Wizard Barristers: Benmashi Cecil ?
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q15176855
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q15176855 property:P725 ?f . ?f rdf:type ontology:Q15416 } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?j property:P725 ?e . ?j rdf:type ontology:Q15416 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } }
Wizard Barristers: Benmashi Cecil
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Wizard Barristers: Benmashi Cecil
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Wizard_Barristers:_Benmashi_Cecil property:voice_actor ?f . ?f rdf:type ontology:television_program } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?j property:voice_actor ?e . ?j rdf:type ontology:television_program . ?e rdf:type ontology:common_name } GROUP BY ?j } }
[]
common name television program
Q23558 Q15863567 Q15863577
SYSTEM
House, K-On!, K-On!!
Q689114 Q467722 Q2042834 Q23558 Q15863567 Q951078 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q18558839 Q428130 Q18559016 Q17183708 Q18575654 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q15176855
relation P725
type Q15416
[ANSWERS] had their voice dubbing done by greater number of people than Wizard Barristers: Benmashi Cecil
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q15176855 property:P725 ?f . ?f rdf:type ontology:Q15416 } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?j property:P725 ?e . ?j rdf:type ontology:Q15416 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie House K-On! Hellsing The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Soul Eater Not! Sonic X Berserk The 7D Trigun Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
House, K-On! and K-On!! had their voice dubbing done by greater number of people than Wizard Barristers: Benmashi Cecil
House K-On! K-On!!
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Wizard Barristers: Benmashi Cecil
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Wizard_Barristers:_Benmashi_Cecil property:voice_actor ?f . ?f rdf:type ontology:television_program } } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?j property:voice_actor ?e . ?j rdf:type ontology:television_program . ?e rdf:type ontology:common_name } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18553975
P725
Q502895 Q15416
USER
And also tell me about Soul Eater?
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18553975
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b property:P725 ?g . ?b rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q15416 . resource:Q18553975 property:P725 ?a } } . FILTER ( ?s > ?i ) }
Soul Eater
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b property:voice_actor ?g . ?b rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:television_program . resource:Soul_Eater property:voice_actor ?a } } . FILTER ( ?s > ?i ) }
[]
common name television program
Q23558 Q18571935
SYSTEM
House, The Big O
Q23558 Q18571935
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18553975
relation P725
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b property:P725 ?g . ?b rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q15416 . resource:Q18553975 property:P725 ?a } } . FILTER ( ?s > ?i ) }
House The Big O
House The Big O
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?s ) WHERE { ?b property:voice_actor ?g . ?b rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:television_program . resource:Soul_Eater property:voice_actor ?a } } . FILTER ( ?s > ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q392734 Q963626
P725 P144
Q11424
USER
Which films did Paul Shaffer dub for or build on Toccata and Fugue in D minor, BWV 565 ?
OR((c(Q11424),P725,Q963626), (c(Q11424),P144,Q392734))
action filter_type
action union
action find_reverse
entity Q963626
relation P725
action find_reverse
entity Q392734
relation P144
type Q11424
{'OR': [[{'concept': 'Q11424'}, 'P725', 'Q963626'], [{'concept': 'Q11424'}, 'P144', 'Q392734']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P725 resource:Q963626 } UNION { ?l property:P144 resource:Q392734 } } . ?l rdf:type ontology:Q11424 }
Toccata and Fugue in D minor, BWV 565 Paul Shaffer
action filter_type
action union
action find_reverse
entity Paul Shaffer
relation voice actor
action find_reverse
entity Toccata and Fugue in D minor, BWV 565
relation based on
type film
{'OR': [[{'concept': 'film'}, 'voice actor', 'Paul Shaffer'], [{'concept': 'film'}, 'based on', 'Toccata and Fugue in D minor, BWV 565']]}
SELECT DISTINCT ?l WHERE { { { ?l property:voice_actor resource:Paul_Shaffer } UNION { ?l property:based_on resource:Toccata_and_Fugue_in_D_minor,_BWV_565 } } . ?l rdf:type ontology:film }
[]
film
Q271189 Q943192
SYSTEM
Hercules, Fantasia
Q271189 Q943192
OR((c(Q11424),P725,Q963626), (c(Q11424),P144,Q392734))
action filter_type
action union
action find_reverse
entity Q963626
relation P725
action find_reverse
entity Q392734
relation P144
type Q11424
Paul Shaffer dubbed [ANSWERS]
{'OR': [[{'concept': 'Q11424'}, 'P725', 'Q963626'], [{'concept': 'Q11424'}, 'P144', 'Q392734']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P725 resource:Q963626 } UNION { ?l property:P144 resource:Q392734 } } . ?l rdf:type ontology:Q11424 }
Hercules Fantasia
Paul Shaffer dubbed Hercules and Fantasia
Hercules Fantasia
action filter_type
action union
action find_reverse
entity Paul Shaffer
relation voice actor
action find_reverse
entity Toccata and Fugue in D minor, BWV 565
relation based on
type film
{'OR': [[{'concept': 'film'}, 'voice actor', 'Paul Shaffer'], [{'concept': 'film'}, 'based on', 'Toccata and Fugue in D minor, BWV 565']]}
SELECT DISTINCT ?l WHERE { { { ?l property:voice_actor resource:Paul_Shaffer } UNION { ?l property:based_on resource:Toccata_and_Fugue_in_D_minor,_BWV_565 } } . ?l rdf:type ontology:film }
[]