Simple Question (Direct)
Simple Question
Q506007
P106
Q28640
USER
What does Leonard Starr do for a living ?
(Q506007,P106,c(Q28640))
action filter_type
action find
entity Q506007
relation P106
type Q28640
['Q506007', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q506007 property:P106 ?v . ?v rdf:type ontology:Q28640 }
Leonard Starr
action filter_type
action find
entity Leonard Starr
relation occupation
type profession
['Leonard Starr', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Leonard_Starr property:occupation ?v . ?v rdf:type ontology:profession }
[]
profession
Q28389
SYSTEM
screenwriter
Q28389
(Q506007,P106,c(Q28640))
action filter_type
action find
entity Q506007
relation P106
type Q28640
Leonard Starr does for a living as [ANSWER]
['Q506007', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q506007 property:P106 ?v . ?v rdf:type ontology:Q28640 }
screenwriter
Leonard Starr does for a living as screenwriter
screenwriter
action filter_type
action find
entity Leonard Starr
relation occupation
type profession
['Leonard Starr', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Leonard_Starr property:occupation ?v . ?v rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506007
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q28389,P27,c(Q15617994))
action filter_type
action find
entity Q506007
relation P27
type Q15617994
['Q28389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q506007 property:P27 ?d }
Leonard Starr
action filter_type
action find
entity Leonard Starr
relation country of citizenship
type designation for an administrative territorial entity
['screenwriter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Leonard_Starr property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q28389,P27,c(Q15617994))
action filter_type
action find
entity Q506007
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q28389', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q506007 property:P27 ?d }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Leonard Starr
relation country of citizenship
type designation for an administrative territorial entity
['screenwriter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Leonard_Starr property:country_of_citizenship ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q7275 Q15617994
USER
How many states and administrative territories are next to the border of United States of America ?
(c(Q7275),P47,Q30) (c(Q15617994),P47,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P47
type Q7275
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[{'concept': 'Q7275'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q30']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P47 resource:Q30 . ?s rdf:type ontology:Q7275 } UNION { ?s property:P47 resource:Q30 . ?s rdf:type ontology:Q15617994 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation shares border with
type state
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'state'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:shares_border_with resource:United_States_of_America . ?s rdf:type ontology:state } UNION { ?s property:shares_border_with resource:United_States_of_America . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
state designation for an administrative territorial entity
SYSTEM
2 states and 5 administrative territories
Q248452 Q804 Q717 Q96 Q241 Q159 Q1152445
(c(Q7275),P47,Q30) (c(Q15617994),P47,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P47
type Q7275
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q7275'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q30']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P47 resource:Q30 . ?s rdf:type ontology:Q7275 } UNION { ?s property:P47 resource:Q30 . ?s rdf:type ontology:Q15617994 } }
British North America Panama Venezuela Mexico Cuba Russia Aerican Empire
2 states and 5 administrative territories
action count
action union
action filter_type
action find_reverse
entity United States of America
relation shares border with
type state
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'state'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:shares_border_with resource:United_States_of_America . ?s rdf:type ontology:state } UNION { ?s property:shares_border_with resource:United_States_of_America . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P108
Q502895
USER
Who works for that administrative territory ?
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q30 . ?e rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
SELECT DISTINCT ?e WHERE { ?e property:employer resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
common name
Q231417
SYSTEM
Barbara Walters
Q231417
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[ANSWER] works for that administrative territory
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q30 . ?e rdf:type ontology:Q502895 }
Barbara Walters
Barbara Walters works for that administrative territory
Barbara Walters
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
SELECT DISTINCT ?e WHERE { ?e property:employer resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 2898 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2898
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?e ) WHERE { ?f rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?f } GROUP BY ?f } . FILTER ( ?e = 2898 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2898
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?e ) WHERE { ?f rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?f } GROUP BY ?f } . FILTER ( ?e = 2898 ) }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2898
[ANSWERS] are played by approximately 2898 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?e ) WHERE { ?f rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?f } GROUP BY ?f } . FILTER ( ?e = 2898 ) }
trumpet organ drum kit
Trumpet, organ and drum kit are played by approximately 2898 people
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2898
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?e ) WHERE { ?f rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?f } GROUP BY ?f } . FILTER ( ?e = 2898 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 1168 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1168
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?e = 1168 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1168
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?e = 1168 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1168
[ANSWERS] are played by approximately 1168 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?e = 1168 ) }
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
Davul, harpsichord and Wurlitzer electric piano are played by approximately 1168 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1168
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?e = 1168 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Which people can play 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 ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P1303 ?r . VALUES ( ?r ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
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 ?g WHERE { ?g rdf:type ontology:common_name . ?g property:instrument ?r . VALUES ( ?r ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
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] can play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P1303 ?r . VALUES ( ?r ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
İ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 can 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 ?g WHERE { ?g rdf:type ontology:common_name . ?g property:instrument ?r . VALUES ( ?r ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45909
P734
Q82799
USER
Who has the surname John Cale ?
(Q45909,P734,c(Q82799))
action filter_type
action find
entity Q45909
relation P734
type Q82799
['Q45909', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q45909 property:P734 ?m . ?m rdf:type ontology:Q82799 }
John Cale
action filter_type
action find
entity John Cale
relation family name
type name
['John Cale', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:John_Cale property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q26868860
SYSTEM
Cale
Q26868860
(Q45909,P734,c(Q82799))
action filter_type
action find
entity Q45909
relation P734
type Q82799
John [ANSWER] has the surname John [ANSWER]
['Q45909', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q45909 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Cale
John Cale has the surname John Cale
Cale
action filter_type
action find
entity John Cale
relation family name
type name
['John Cale', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:John_Cale property:family_name ?m . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are around 77 names in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 77
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 . ?x property:P407 ?z } GROUP BY ?z } . FILTER ( ?l = 77 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 77
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z rdf:type ontology:language . ?x rdf:type ontology:name . ?x property:language_of_work_or_name ?z } GROUP BY ?z } . FILTER ( ?l = 77 ) }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 77
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 . ?x property:P407 ?z } GROUP BY ?z } . FILTER ( ?l = 77 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 77
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z rdf:type ontology:language . ?x rdf:type ontology:name . ?x property:language_of_work_or_name ?z } GROUP BY ?z } . FILTER ( ?l = 77 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for max number of names ?
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P407 ?z . ?z rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?z } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?q ) WHERE { ?t rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 . ?l property:P407 ?t } GROUP BY ?t } . FILTER ( ?q = ?s ) }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?z } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?q ) WHERE { ?t rdf:type ontology:language . ?l rdf:type ontology:name . ?l property:language_of_work_or_name ?t } GROUP BY ?t } . FILTER ( ?q = ?s ) }
[]
language name
Q1860
SYSTEM
English
Q1860
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWER] is the languages of work for max number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P407 ?z . ?z rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?z } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?q ) WHERE { ?t rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 . ?l property:P407 ?t } GROUP BY ?t } . FILTER ( ?q = ?s ) }
English
English is the languages of work for max number of names
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?z } } . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?q ) WHERE { ?t rdf:type ontology:language . ?l rdf:type ontology:name . ?l property:language_of_work_or_name ?t } GROUP BY ?t } . FILTER ( ?q = ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45909
P161
Q838948
USER
Which works of art have John Cale in their star cast ?
(c(Q838948),P161,Q45909)
action filter_type
action find_reverse
entity Q45909
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q45909']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q45909 . ?x rdf:type ontology:Q838948 }
John Cale
action filter_type
action find_reverse
entity John Cale
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Cale']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:John_Cale . ?x rdf:type ontology:work_of_art }
[]
work of art
Q3339863 Q765419 Q18536141
SYSTEM
Nico Icon, Andy Warhol: The Complete Picture, Dancing Barefoot
Q12104098 Q20049358 Q3935956 Q765419 Q13127774 Q4877773 Q15427674 Q3281636 Q26902705 Q26789055 Q3339863 Q15119983 Q15061875 Q18536141 Q3602829 Q23935037
(c(Q838948),P161,Q45909)
action filter_type
action find_reverse
entity Q45909
relation P161
type Q838948
[ANSWERS] have John Cale in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q45909']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q45909 . ?x rdf:type ontology:Q838948 }
Brian Wilson: I Just Wasn't Made for These Times Words for the Dying Antártida Andy Warhol: The Complete Picture Still: Here/Now Beautiful Mistake The Houseguest The Velvet Underground and Nico: A Symphony of Sound Love Twice Once Upon a Time in New York: The Birth of Hip Hop, Disco and Punk Nico Icon Salamandra New Scenes from America Dancing Barefoot A Walk Into the Sea: Danny Williams and the Warhol Factory Moe Gets Tied Up
Nico Icon, Andy Warhol: The Complete Picture and Dancing Barefoot have John Cale in their star cast
Nico Icon Andy Warhol: The Complete Picture Dancing Barefoot
action filter_type
action find_reverse
entity John Cale
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Cale']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:John_Cale . ?x rdf:type ontology:work_of_art }
[]