Simple Question (Direct)
Simple Question
Q3251169
P21
Q290
USER
What is the sex of Makoto Takeya ?
(Q3251169,P21,c(Q290))
action filter_type
action find
entity Q3251169
relation P21
type Q290
['Q3251169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3251169 property:P21 ?q . ?q rdf:type ontology:Q290 }
Makoto Takeya
action filter_type
action find
entity Makoto Takeya
relation gender
type sex
['Makoto Takeya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Makoto_Takeya property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3251169,P21,c(Q290))
action filter_type
action find
entity Q3251169
relation P21
type Q290
The sex of Makoto Takeya is the [ANSWER]
['Q3251169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3251169 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Makoto Takeya is the male
male
action filter_type
action find
entity Makoto Takeya
relation gender
type sex
['Makoto Takeya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Makoto_Takeya property:gender ?q . ?q rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q644440
P1303
Q34379 Q502895
USER
Which musical instruments do around the same number of people know to play as Lap steel guitar ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q644440 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } . FILTER ( ?s = ?g ) }
Lap steel guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Lap_steel_guitar property:instrument ?f . ?f rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?g ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[ANSWERS] around the same number of people know to play as Lap steel guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q644440 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } . FILTER ( ?s = ?g ) }
viola 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 Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano around the same number of people know to play as Lap steel guitar
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Lap_steel_guitar property:instrument ?f . ?f rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q290951
P1303
Q34379 Q502895
USER
And how about Kamancheh?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q290951 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?m = ?b ) }
Kamancheh
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Kamancheh property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?b ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q290951 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?m = ?b ) }
viola 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 Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Kamancheh property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Which people plays those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } . ?k property:P1303 ?m . ?k rdf:type ontology:Q502895 }
davul harpsichord Wurlitzer electric piano
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } . ?k property:instrument ?m . ?k rdf:type ontology:common_name }
[]
common name
Q45909 Q1339 Q254
SYSTEM
John Cale, Johann Sebastian Bach, Wolfgang Amadeus Mozart
Q343394 Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546 Q7281591
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } . ?k property:P1303 ?m . ?k rdf:type ontology:Q502895 }
İbrahim Tatlıses Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin Radoslav Lorković
John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart play those musical instruments
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } . ?k property:instrument ?m . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45909
P86
Q7725634
USER
What were composed by John Cale ?
(c(Q7725634),P86,Q45909)
action filter_type
action find_reverse
entity Q45909
relation P86
type Q7725634
[{'concept': 'Q7725634'}, 'P86', 'Q45909']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q45909 . ?u rdf:type ontology:Q7725634 }
John Cale
action filter_type
action find_reverse
entity John Cale
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'John Cale']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:John_Cale . ?u rdf:type ontology:literary_work }
[]
literary work
Q2279058 Q26326868 Q26334169
SYSTEM
Sister Ray, Magritte, Crazy Egypt
Q26418527 Q26309232 Q26307892 Q15063164 Q26418730 Q14954920 Q26920925 Q15114755 Q26307784 Q15114022 Q26307621 Q14948421 Q25936378 Q19829700 Q14951082 Q26418835 Q15114137 Q15079766 Q14954632 Q25936408 Q25936405 Q25936404 Q25936406 Q25936401 Q25936403 Q25936402 Q26326867 Q26326865 Q26326863 Q26326868 Q26334169 Q26334168 Q26418846 Q26334167 Q26334166 Q23936612 Q26306418 Q26418516 Q26326879 Q26326871 Q26326872 Q26326875 Q26326877 Q26418576 Q26334178 Q26334172 Q26334170 Q26334171 Q26334176 Q26334177 Q26334174 Q26334175 Q26418749 Q26418503 Q26309126 Q26418564 Q23730985 Q2647563 Q26326880 Q15114551 Q26418773 Q20713216 Q26308305 Q26309132 Q26309133 Q18342920 Q26309136 Q26309137 Q26309134 Q26309135 Q26418553 Q14948465 Q26309235 Q26309234 Q26309237 Q26309236 Q26309231 Q26309230 Q26309233 Q26308288 Q25796507 Q26309239 Q26309238 Q26307851 Q26418760 Q26418786 Q26307606 Q26418543 Q15140017 Q15043943 Q26920946 Q26309131 Q26920940 Q26920943 Q15114262 Q26418718 Q26418490 Q2279058 Q26418799 Q26920931 Q26920933 Q26920937 Q26920952 Q26418428 Q26307527 Q26307630
(c(Q7725634),P86,Q45909)
action filter_type
action find_reverse
entity Q45909
relation P86
type Q7725634
Her [ANSWERS] were composed by John Cale
[{'concept': 'Q7725634'}, 'P86', 'Q45909']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q45909 . ?u rdf:type ontology:Q7725634 }
Chinese Takeaway (Hong Kong 1997) Satisfied Ghost Story Cleo Hemingway All Summer Long My Maria Turn the Lights On Bring It on Up Big White Cloud Please I'm Not the Loving Kind Child's Christmas in Wales Close Watch Face to the Sky Midnight Feast Jumbo (In Tha Modern World) Things Living with You Antarctica Starts Here Graham Greene Paris 1919 Half Past France Hanky Panky Nohow Macbeth The Endless Plain of Fortune Look Horizon Reading My Mind Zen Magritte Crazy Egypt So What Sandman (Flying Dutchman) Set Me Free Dancing Undercover Dead or Alive Hello There Vigilante Lover Things X Archimedes Caravan Twilight Zone Letter from Abroad Satellite Walk Entre Nous Indistinct Notion of Cool So Much for Love Tell Me Why Gatorville & Points East Some Friends Secret Corrida Circus Nookie Wood The Sleeper Fear Is a Man's Best Friend Black Rose Catastrofuk The Gift Over Her Head Perfect Mary Andalucia King Harry Barracuda Emily If You Were Still Around The Man Who Couldn't Afford to Orgy Momamma Scuba Ship of Fools Gun Fadeaway Tomorrow I Wanna Talk 2 U Gravel Drive Hush Woman Sold-Motel Brotherman For a Ride In a Flood Legs Larry at Television Centre You Know More Than I Know Mailman (The Lying Song) Wasteland Amsterdam December Rains Vampire Cafe Adelaide Song of the Valley Bicycle Whaddya Mean by That Sudden Death Buffalo Ballet Save Us Cable Hogue Outta the Bag Scotland Yard Dying on the Vine Sister Ray Mothra Helen of Troy China Sea Engine Leaving It Up to You Everytime the Dogs Bark Gideon's Bible Charlemagne
Her Sister Ray, Magritte and Crazy Egypt were composed by John Cale
Sister Ray Magritte Crazy Egypt
action filter_type
action find_reverse
entity John Cale
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'John Cale']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:John_Cale . ?u rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2279058 Q26326868 Q26334169
P676
Q502895
USER
Who wrote the lyrics for Sister Ray, Magritte and Crazy Egypt ?
(Q2279058,P676,c(Q502895)) (Q26326868,P676,c(Q502895)) (Q26334169,P676,c(Q502895))
action union
action filter_type
action find
entity Q2279058
relation P676
type Q502895
action filter_type
action find
entity Q26326868
relation P676
type Q502895
action filter_type
action find
entity Q26334169
relation P676
type Q502895
['Q2279058', 'P676', {'concept': 'Q502895'}] ['Q26326868', 'P676', {'concept': 'Q502895'}] ['Q26334169', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q2279058 property:P676 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q26326868 property:P676 ?q . ?q rdf:type ontology:Q502895 } }
Sister Ray Magritte Crazy Egypt
action union
action filter_type
action find
entity Sister Ray
relation lyrics by
type common name
action filter_type
action find
entity Magritte
relation lyrics by
type common name
action filter_type
action find
entity Crazy Egypt
relation lyrics by
type common name
['Sister Ray', 'lyrics by', {'concept': 'common name'}] ['Magritte', 'lyrics by', {'concept': 'common name'}] ['Crazy Egypt', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Sister_Ray property:lyrics_by ?q . ?q rdf:type ontology:common_name } UNION { resource:Magritte property:lyrics_by ?q . ?q rdf:type ontology:common_name } }
[]
common name
Q45909 Q45909 Q336640
SYSTEM
David Byrne for 3rd, John Cale for 1st, 2nd
Q189080 Q45909 Q336640 Q45909
(Q2279058,P676,c(Q502895)) (Q26326868,P676,c(Q502895)) (Q26334169,P676,c(Q502895))
action union
action filter_type
action find
entity Q2279058
relation P676
type Q502895
action filter_type
action find
entity Q26326868
relation P676
type Q502895
action filter_type
action find
entity Q26334169
relation P676
type Q502895
[ANSWERS]
['Q2279058', 'P676', {'concept': 'Q502895'}] ['Q26326868', 'P676', {'concept': 'Q502895'}] ['Q26334169', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q2279058 property:P676 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q26326868 property:P676 ?q . ?q rdf:type ontology:Q502895 } }
Lou Reed John Cale David Byrne John Cale
John Cale, John Cale and David Byrne wrote the lyrics for Sister Ray, Magritte and Crazy Egypt
John Cale John Cale David Byrne
action union
action filter_type
action find
entity Sister Ray
relation lyrics by
type common name
action filter_type
action find
entity Magritte
relation lyrics by
type common name
action filter_type
action find
entity Crazy Egypt
relation lyrics by
type common name
['Sister Ray', 'lyrics by', {'concept': 'common name'}] ['Magritte', 'lyrics by', {'concept': 'common name'}] ['Crazy Egypt', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Sister_Ray property:lyrics_by ?q . ?q rdf:type ontology:common_name } UNION { resource:Magritte property:lyrics_by ?q . ?q rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2279058
P495
Q15617994
USER
Which administrative territory is the origin of that literary work ?
(Q2279058,P495,c(Q15617994))
action filter_type
action find
entity Q2279058
relation P495
type Q15617994
['Q2279058', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q2279058 property:P495 ?v }
Sister Ray
action filter_type
action find
entity Sister Ray
relation country of origin
type designation for an administrative territorial entity
['Sister Ray', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sister_Ray property:country_of_origin ?v }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q2279058
SYSTEM
Did you mean Sister Ray ?
Q45909 Q45909 Q336640
(Q45909,P495,c(Q15617994)) (Q45909,P495,c(Q15617994)) (Q336640,P495,c(Q15617994))
[ANSWER]
['Q45909', 'P495', {'concept': 'Q15617994'}] ['Q45909', 'P495', {'concept': 'Q15617994'}] ['Q336640', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q2279058 property:P495 ?v }
John Cale John Cale David Byrne
Did you mean Sister Ray ?
Sister Ray
['John Cale', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['John Cale', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['David Byrne', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sister_Ray property:country_of_origin ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2279058,P495,c(Q15617994))
['Q2279058', 'P495', {'concept': 'Q15617994'}]
['Sister Ray', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q2279058,P495,c(Q15617994))
action filter_type
action find
entity Q2279058
relation P495
type Q15617994
The [ANSWER] is the origin of that literary work
['Q2279058', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q2279058 property:P495 ?v }
United States of America
The United States of America is the origin of that literary work
United States of America
action filter_type
action find
entity Sister Ray
relation country of origin
type designation for an administrative territorial entity
['Sister Ray', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sister_Ray property:country_of_origin ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P937
Q502895 Q151885
USER
How many people and concepts have United States of America as their work location ?
(c(Q502895),P937,Q30) (c(Q151885),P937,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
action filter_type
action find_reverse
entity Q30
relation P937
type Q151885
[{'concept': 'Q502895'}, 'P937', 'Q30'] [{'concept': 'Q151885'}, 'P937', 'Q30']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q151885 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
action filter_type
action find_reverse
entity United States of America
relation work location
type concept
[{'concept': 'common name'}, 'work location', 'United States of America'] [{'concept': 'concept'}, 'work location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:concept ) } }
[]
common name concept
SYSTEM
11 people and 1 concepts
Q20006819 Q12017811 Q20747363 Q20829615 Q20879213 Q21705837 Q4426737 Q20894879 Q276879 Q21155013 Q23775987 Q26198053
(c(Q502895),P937,Q30) (c(Q151885),P937,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
action filter_type
action find_reverse
entity Q30
relation P937
type Q151885
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q30'] [{'concept': 'Q151885'}, 'P937', 'Q30']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q151885 ) } }
Albert van Beest Diana Phipps Cecilia Sternberg Conrad Buff II Nicolino Calyo Eliana Machado Meugé Cesare Sodero Ejnar Hansen Korean American Samuel Valentine Hunt DonkeyHotey Henry Jorden
11 people and 1 concepts
action count
action union
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
action filter_type
action find_reverse
entity United States of America
relation work location
type concept
[{'concept': 'common name'}, 'work location', 'United States of America'] [{'concept': 'concept'}, 'work location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:common_name ) ( ontology:concept ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q45909 Q721030
P166
Q2003221
USER
How many chivalric orders were John Cale or Order of the Thistle awarded with ?
(Q45909,P166,c(Q2003221)) (Q721030,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q45909
relation P166
type Q2003221
action filter_type
action find
entity Q721030
relation P166
type Q2003221
['Q45909', 'P166', {'concept': 'Q2003221'}] ['Q721030', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?z ) { ( resource:Q45909 ) ( resource:Q721030 ) } . ?z property:P166 ?p }
John Cale Order of the Thistle
action count
action union
action filter_type
action find
entity John Cale
relation award received
type chivalric order
action filter_type
action find
entity Order of the Thistle
relation award received
type chivalric order
['John Cale', 'award received', {'concept': 'chivalric order'}] ['Order of the Thistle', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?z ) { ( resource:John_Cale ) ( resource:Order_of_the_Thistle ) } . ?z property:award_received ?p }
[]
chivalric order
SYSTEM
2
Q12201445 Q10762848
(Q45909,P166,c(Q2003221)) (Q721030,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q45909
relation P166
type Q2003221
action filter_type
action find
entity Q721030
relation P166
type Q2003221
[ANSWER]
['Q45909', 'P166', {'concept': 'Q2003221'}] ['Q721030', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?z ) { ( resource:Q45909 ) ( resource:Q721030 ) } . ?z property:P166 ?p }
Knight Commander of the Order of the British Empire Officer of the Order of the British Empire
2
action count
action union
action filter_type
action find
entity John Cale
relation award received
type chivalric order
action filter_type
action find
entity Order of the Thistle
relation award received
type chivalric order
['John Cale', 'award received', {'concept': 'chivalric order'}] ['Order of the Thistle', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?z ) { ( resource:John_Cale ) ( resource:Order_of_the_Thistle ) } . ?z property:award_received ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q858
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Syria ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q858 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?a ) }
Syria
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Syria property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?a ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q858 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?a ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Syria property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q928
P530
Q15617994 Q15617994
USER
And what about Philippines?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q928
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P530 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q928 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?n ) }
Philippines
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Philippines
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:diplomatic_relation ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Philippines property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q928
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P530 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q928 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?n ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Philippines
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:diplomatic_relation ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Philippines property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?k rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?k property:P530 ?t } GROUP BY ?k } }
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?t } GROUP BY ?k } }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q778
SYSTEM
Gabon, Grenada, The Bahamas
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWERS] have a diplomatic relationship with exactly 1 administrative territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?k rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?k property:P530 ?t } GROUP BY ?k } }
Gabon Antigua and Barbuda The Bahamas Grenada
Gabon, Grenada and The Bahamas have a diplomatic relationship with exactly 1 administrative territory
Gabon Grenada The Bahamas
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?t } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q45909
P175
Q188451 Q2031291
USER
How many music genres or releases presented John Cale ?
(c(Q188451),P175,Q45909) (c(Q2031291),P175,Q45909)
action count
action union
action filter_type
action find_reverse
entity Q45909
relation P175
type Q188451
action filter_type
action find_reverse
entity Q45909
relation P175
type Q2031291
[{'concept': 'Q188451'}, 'P175', 'Q45909'] [{'concept': 'Q2031291'}, 'P175', 'Q45909']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q188451 ) ( ontology:Q2031291 ) } . ?k rdf:type ?y }
John Cale
action count
action union
action filter_type
action find_reverse
entity John Cale
relation performer
type music genre
action filter_type
action find_reverse
entity John Cale
relation performer
type release
[{'concept': 'music genre'}, 'performer', 'John Cale'] [{'concept': 'release'}, 'performer', 'John Cale']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:music_genre ) ( ontology:release ) } . ?k rdf:type ?y }
[]
music genre release
SYSTEM
37
Q128441 Q2907255 Q2259878 Q128455 Q12034048 Q2758096 Q3495681 Q605647 Q12050827 Q209103 Q26308290 Q3495623 Q127286 Q26308293 Q7473521 Q3028340 Q128940 Q127290 Q26308298 Q128447 Q26308284 Q127288 Q26308281 Q12032840 Q24199789 Q12058868 Q6494291 Q7473529 Q685052 Q12039466 Q2359129 Q11774192 Q11868197 Q126988 Q12043825 Q26308303 Q26308312
(c(Q188451),P175,Q45909) (c(Q2031291),P175,Q45909)
action count
action union
action filter_type
action find_reverse
entity Q45909
relation P175
type Q188451
action filter_type
action find_reverse
entity Q45909
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q188451'}, 'P175', 'Q45909'] [{'concept': 'Q2031291'}, 'P175', 'Q45909']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:Q188451 ) ( ontology:Q2031291 ) } . ?k rdf:type ?y }
Caribbean Sunset BlackAcetate Vintage Violence Walking on Locusts Love Me Fear Extra Playful HoboSapiens Saint-Cyr Music for a New Society The Academy in Peril Honi Soit Words for the Dying Intro 5 Tracks Church of Anthrax Wrong Way Up Helen of Troy Days of Steam Artificial Intelligence Brahms Slow Dazzle The Philosopher Le Vent de la nuit Villa Albani The Unknown Last Day on Earth Animal Justice Paris 1919 N'oublie pas que tu vas mourir Shifty Adventures in Nookie Wood Dance Music Eat/Kiss: Music for the Films by Andy Warhol The Academy in Peril Paris s'eveille - suivi d'autres compositions 3 Orchestral Pieces John Milton
37
action count
action union
action filter_type
action find_reverse
entity John Cale
relation performer
type music genre
action filter_type
action find_reverse
entity John Cale
relation performer
type release
[{'concept': 'music genre'}, 'performer', 'John Cale'] [{'concept': 'release'}, 'performer', 'John Cale']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?y ) { ( ontology:music_genre ) ( ontology:release ) } . ?k rdf:type ?y }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q26334169
P658 P407
Q2031291
USER
Which releases were the tracklist that had the Crazy Egypt and are created in language English ?
AND((c(Q2031291),P658,Q26334169), (c(Q2031291),P407,Q1860))
action filter_type
action intersection
action find_reverse
entity Q26334169
relation P658
action find_reverse
entity Q1860
relation P407
type Q2031291
{'AND': [[{'concept': 'Q2031291'}, 'P658', 'Q26334169'], [{'concept': 'Q2031291'}, 'P407', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P407 resource:Q1860 . ?u property:P658 resource:Q26334169 . ?u rdf:type ontology:Q2031291 }
English Crazy Egypt
action filter_type
action intersection
action find_reverse
entity Crazy Egypt
relation tracklist
action find_reverse
entity English
relation language of work or name
type release
{'AND': [[{'concept': 'release'}, 'tracklist', 'Crazy Egypt'], [{'concept': 'release'}, 'language of work or name', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:language_of_work_or_name resource:English . ?u property:tracklist resource:Crazy_Egypt . ?u rdf:type ontology:release }
[]
release
Q128455
SYSTEM
Walking on Locusts
Q128455
AND((c(Q2031291),P658,Q26334169), (c(Q2031291),P407,Q1860))
action filter_type
action intersection
action find_reverse
entity Q26334169
relation P658
action find_reverse
entity Q1860
relation P407
type Q2031291
[ANSWER] was the tracklist that had the Crazy Egypt and are created in language English
{'AND': [[{'concept': 'Q2031291'}, 'P658', 'Q26334169'], [{'concept': 'Q2031291'}, 'P407', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P407 resource:Q1860 . ?u property:P658 resource:Q26334169 . ?u rdf:type ontology:Q2031291 }
Walking on Locusts
Walking on Locusts was the tracklist that had the Crazy Egypt and are created in language English
Walking on Locusts
action filter_type
action intersection
action find_reverse
entity Crazy Egypt
relation tracklist
action find_reverse
entity English
relation language of work or name
type release
{'AND': [[{'concept': 'release'}, 'tracklist', 'Crazy Egypt'], [{'concept': 'release'}, 'language of work or name', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:language_of_work_or_name resource:English . ?u property:tracklist resource:Crazy_Egypt . ?u rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q128455 Q26334167
P361
Q7725634
USER
Is Set Me Free a part of that release ?
(Q26334167,P361,Q128455)
action is_in
entity Q128455
action find
entity Q26334167
relation P361
['Q26334167', 'P361', 'Q128455']
ASK WHERE { resource:Q26334167 property:P361 resource:Q128455 }
Walking on Locusts Set Me Free
action is_in
entity Walking on Locusts
action find
entity Set Me Free
relation part of
['Set Me Free', 'part of', 'Walking on Locusts']
ASK WHERE { resource:Set_Me_Free property:part_of resource:Walking_on_Locusts }
[]
literary work
SYSTEM
YES
(Q26334167,P361,Q128455)
action is_in
entity Q128455
action find
entity Q26334167
relation P361
[ANSWER]
['Q26334167', 'P361', 'Q128455']
ASK WHERE { resource:Q26334167 property:P361 resource:Q128455 }
Yes
action is_in
entity Walking on Locusts
action find
entity Set Me Free
relation part of
['Set Me Free', 'part of', 'Walking on Locusts']
ASK WHERE { resource:Set_Me_Free property:part_of resource:Walking_on_Locusts }
[]