Simple Question (Direct)
Simple Question
Q23662248
P106
Q12737077
USER
What do Josef Eckert-Labin do for a living ?
(Q23662248,P106,c(Q12737077))
action filter_type
action find
entity Q23662248
relation P106
type Q12737077
['Q23662248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q23662248 property:P106 ?e }
Josef Eckert-Labin
action filter_type
action find
entity Josef Eckert-Labin
relation occupation
type occupation
['Josef Eckert-Labin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Josef_Eckert-Labin property:occupation ?e }
[]
occupation
Q1906857 Q1622272
SYSTEM
mechanical engineer, university teacher
Q1906857 Q1622272
(Q23662248,P106,c(Q12737077))
action filter_type
action find
entity Q23662248
relation P106
type Q12737077
Josef Eckert-Labin do for a living as [ANSWERS]
['Q23662248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q23662248 property:P106 ?e }
mechanical engineer university teacher
Josef Eckert-Labin do for a living as mechanical engineer and university teacher
mechanical engineer university teacher
action filter_type
action find
entity Josef Eckert-Labin
relation occupation
type occupation
['Josef Eckert-Labin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Josef_Eckert-Labin property:occupation ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1622272
P512
Q502895
USER
Which people have the diploma that occupation ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j property:P512 resource:Q1622272 . ?j rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j property:academic_degree resource:university_teacher . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1622272
SYSTEM
Did you mean university teacher ?
Q1906857 Q1622272
(c(Q502895),P512,Q1906857) (c(Q502895),P512,Q1622272)
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q1906857'] [{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j property:P512 resource:Q1622272 . ?j rdf:type ontology:Q502895 }
mechanical engineer university teacher
Did you mean university teacher ?
university teacher
[{'concept': 'common name'}, 'academic degree', 'mechanical engineer'] [{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j property:academic_degree resource:university_teacher . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P512,Q1622272)
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
[{'concept': 'common name'}, 'academic degree', 'university teacher']
[]
Q1631650 Q1362287 Q4074760
SYSTEM
Hovhannes Barseghian, Manolis Andronikos, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the diploma that occupation
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j property:P512 resource:Q1622272 . ?j rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Hovhannes Barseghian, Manolis Andronikos and Edvard Baghdasaryan have the diploma that occupation
Hovhannes Barseghian Manolis Andronikos Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j property:academic_degree resource:university_teacher . ?j 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 do atmost 3173 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3173
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?w <= 3173 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3173
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?w <= 3173 ) }
[]
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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3173
Atmost 3173 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?w <= 3173 ) }
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
Atmost 3173 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3173
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?w <= 3173 ) }
[]
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 ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1303 ?y . VALUES ( ?y ) { ( 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 ?b WHERE { ?b rdf:type ontology:common_name . ?b property:instrument ?y . VALUES ( ?y ) { ( 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] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1303 ?y . VALUES ( ?y ) { ( 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 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 ?b WHERE { ?b rdf:type ontology:common_name . ?b property:instrument ?y . VALUES ( ?y ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254
P737
Q502895
USER
Which person influenced that one ?
(Q254,P737,c(Q502895))
action filter_type
action find
entity Q254
relation P737
type Q502895
['Q254', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q254 property:P737 ?n . ?n rdf:type ontology:Q502895 }
Wolfgang Amadeus Mozart
action filter_type
action find
entity Wolfgang Amadeus Mozart
relation influenced by
type common name
['Wolfgang Amadeus Mozart', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Wolfgang_Amadeus_Mozart property:influenced_by ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1339
SYSTEM
Did you mean Johann Sebastian Bach ?
Q45909 Q1339 Q254
(Q45909,P737,c(Q502895)) (Q1339,P737,c(Q502895)) (Q254,P737,c(Q502895))
[ANSWER]
['Q45909', 'P737', {'concept': 'Q502895'}] ['Q1339', 'P737', {'concept': 'Q502895'}] ['Q254', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q254 property:P737 ?n . ?n rdf:type ontology:Q502895 }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
Did you mean Johann Sebastian Bach ?
Johann Sebastian Bach
['John Cale', 'influenced by', {'concept': 'common name'}] ['Johann Sebastian Bach', 'influenced by', {'concept': 'common name'}] ['Wolfgang Amadeus Mozart', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Wolfgang_Amadeus_Mozart property:influenced_by ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Wolfgang Amadeus Mozart. Could you tell me the answer for that?
(Q254,P737,c(Q502895))
Q254
['Q254', 'P737', {'concept': 'Q502895'}]
['Wolfgang Amadeus Mozart', 'influenced by', {'concept': 'common name'}]
[]
Q311378
SYSTEM
Johann Joseph Fux
Q311378
(Q254,P737,c(Q502895))
action filter_type
action find
entity Q254
relation P737
type Q502895
The [ANSWER] influenced that one
['Q254', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q254 property:P737 ?n . ?n rdf:type ontology:Q502895 }
Johann Joseph Fux
The Johann Joseph Fux influenced that one
Johann Joseph Fux
action filter_type
action find
entity Wolfgang Amadeus Mozart
relation influenced by
type common name
['Wolfgang Amadeus Mozart', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Wolfgang_Amadeus_Mozart property:influenced_by ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311378
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q311378,P27,c(Q1048835))
action filter_type
action find
entity Q311378
relation P27
type Q1048835
['Q311378', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q311378 property:P27 ?z }
Johann Joseph Fux
action filter_type
action find
entity Johann Joseph Fux
relation country of citizenship
type political territorial entity
['Johann Joseph Fux', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Johann_Joseph_Fux property:country_of_citizenship ?z }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q311378,P27,c(Q1048835))
action filter_type
action find
entity Q311378
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q311378', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q311378 property:P27 ?z }
Austria
Austria is that person an inhabitant of
Austria
action filter_type
action find
entity Johann Joseph Fux
relation country of citizenship
type political territorial entity
['Johann Joseph Fux', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Johann_Joseph_Fux property:country_of_citizenship ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P30
Q2221906
USER
Where is that political territory situated ?
(Q40,P30,c(Q2221906))
action filter_type
action find
entity Q40
relation P30
type Q2221906
['Q40', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q40 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
Austria
action filter_type
action find
entity Austria
relation continent
type geographic location
['Austria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Austria property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q40,P30,c(Q2221906))
action filter_type
action find
entity Q40
relation P30
type Q2221906
That political territory is situated in [ANSWER]
['Q40', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q40 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
Europe
That political territory is situated in Europe
Europe
action filter_type
action find
entity Austria
relation continent
type geographic location
['Austria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Austria property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P6
Q502895
USER
Which people have that political territory as their heads of government ?
(Q46,P6,c(Q502895))
action filter_type
action find
entity Q40
relation P6
type Q502895
['Q46', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q40 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Austria
action filter_type
action find
entity Austria
relation head of government
type common name
['Europe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Austria property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q2125645 Q11726 Q44517
SYSTEM
Wolfgang Schüssel, Karl Renner, Bruno Kreisky
Q29008 Q11715 Q78538 Q78539 Q44517 Q260037 Q241131 Q18135060 Q84190 Q2125645 Q53282 Q158123 Q11726
(Q46,P6,c(Q502895))
action filter_type
action find
entity Q40
relation P6
type Q502895
[ANSWERS] have that political territory as their heads of government
['Q46', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q40 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Alfons Gorbach Leopold Figl Viktor Klima Julius Raab Bruno Kreisky Alfred Gusenbauer Josef Klaus Christian Kern Fred Sinowatz Wolfgang Schüssel Werner Faymann Franz Vranitzky Karl Renner
Wolfgang Schüssel, Karl Renner and Bruno Kreisky have that political territory as their heads of government
Wolfgang Schüssel Karl Renner Bruno Kreisky
action filter_type
action find
entity Austria
relation head of government
type common name
['Europe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Austria property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q670740
P6
Q1048835
USER
Do Valdecasa have those people as their administrative leader ?
(Q670740,P6,Q2125645) (Q670740,P6,Q11726) (Q670740,P6,Q44517)
action is_in
entity prev_answer
action find
entity Q670740
relation P6
['Q670740', 'P6', 'Q2125645'] ['Q670740', 'P6', 'Q11726'] ['Q670740', 'P6', 'Q44517']
ASK WHERE { resource:Q670740 property:P6 ?r . VALUES ( ?r ) { ( resource:Q29008 ) ( resource:Q11715 ) ( resource:Q78538 ) } }
Valdecasa
action is_in
entity prev_answer
action find
entity Valdecasa
relation head of government
['Valdecasa', 'head of government', 'Wolfgang Schüssel'] ['Valdecasa', 'head of government', 'Karl Renner'] ['Valdecasa', 'head of government', 'Bruno Kreisky']
ASK WHERE { resource:Valdecasa property:head_of_government ?r . VALUES ( ?r ) { ( resource:Alfons_Gorbach ) ( resource:Leopold_Figl ) ( resource:Viktor_Klima ) } }
[]
political territorial entity
SYSTEM
NO
(Q670740,P6,Q2125645) (Q670740,P6,Q11726) (Q670740,P6,Q44517)
action is_in
entity prev_answer
action find
entity Q670740
relation P6
[ANSWER]
['Q670740', 'P6', 'Q2125645'] ['Q670740', 'P6', 'Q11726'] ['Q670740', 'P6', 'Q44517']
ASK WHERE { resource:Q670740 property:P6 ?r . VALUES ( ?r ) { ( resource:Q29008 ) ( resource:Q11715 ) ( resource:Q78538 ) } }
No
action is_in
entity prev_answer
action find
entity Valdecasa
relation head of government
['Valdecasa', 'head of government', 'Wolfgang Schüssel'] ['Valdecasa', 'head of government', 'Karl Renner'] ['Valdecasa', 'head of government', 'Bruno Kreisky']
ASK WHERE { resource:Valdecasa property:head_of_government ?r . VALUES ( ?r ) { ( resource:Alfons_Gorbach ) ( resource:Leopold_Figl ) ( resource:Viktor_Klima ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q1048835 Q201658 Q2342494
USER
Which political territories are the origin of max number of film genres and collectables ?
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?n WHERE { { ?p property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q201658 } UNION { ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2342494 . ?p property:P495 ?n } } GROUP BY ?n } . FILTER ( ?k = ?a ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?e WHERE { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } GROUP BY ?e } } }
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?n WHERE { { ?p property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:film_genre } UNION { ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:collectable . ?p property:country_of_origin ?n } } GROUP BY ?n } . FILTER ( ?k = ?a ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?e WHERE { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } } GROUP BY ?e } } }
[]
political territorial entity film genre collectable
Q408
SYSTEM
Australia
Q408
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
[ANSWER] is the origin of max number of film genres and collectables
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?n WHERE { { ?p property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q201658 } UNION { ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2342494 . ?p property:P495 ?n } } GROUP BY ?n } . FILTER ( ?k = ?a ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?e WHERE { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } GROUP BY ?e } } }
Australia
Australia is the origin of max number of film genres and collectables
Australia
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?n WHERE { { ?p property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:film_genre } UNION { ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:collectable . ?p property:country_of_origin ?n } } GROUP BY ?n } . FILTER ( ?k = ?a ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?e WHERE { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } } GROUP BY ?e } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P101
Q2668072
USER
Which collection works in the domain of that political territory ?
(c(Q2668072),P101,Q408)
action filter_type
action find_reverse
entity Q408
relation P101
type Q2668072
[{'concept': 'Q2668072'}, 'P101', 'Q408']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q408 . ?b rdf:type ontology:Q2668072 }
Australia
action filter_type
action find_reverse
entity Australia
relation field of work
type collection
[{'concept': 'collection'}, 'field of work', 'Australia']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:Australia . ?b rdf:type ontology:collection }
[]
collection
Q17004409
SYSTEM
Jessie Street National Women's Library
Q17004409
(c(Q2668072),P101,Q408)
action filter_type
action find_reverse
entity Q408
relation P101
type Q2668072
[ANSWER] works in the domain of that political territory
[{'concept': 'Q2668072'}, 'P101', 'Q408']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q408 . ?b rdf:type ontology:Q2668072 }
Jessie Street National Women's Library
Jessie Street National Women's Library works in the domain of that political territory
Jessie Street National Women's Library
action filter_type
action find_reverse
entity Australia
relation field of work
type collection
[{'concept': 'collection'}, 'field of work', 'Australia']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:Australia . ?b rdf:type ontology:collection }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11726
P937
Q56061
USER
What is the location where Karl Renner worked ?
(Q11726,P937,c(Q56061))
action filter_type
action find
entity Q11726
relation P937
type Q56061
['Q11726', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q11726 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Karl Renner
action filter_type
action find
entity Karl Renner
relation work location
type administrative territorial entity
['Karl Renner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Karl_Renner property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q11726,P937,c(Q56061))
action filter_type
action find
entity Q11726
relation P937
type Q56061
The location Karl Renner worked is in [ANSWER]
['Q11726', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q11726 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Vienna
The location Karl Renner worked is in Vienna
Vienna
action filter_type
action find
entity Karl Renner
relation work location
type administrative territorial entity
['Karl Renner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Karl_Renner property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]