Simple Question (Direct)
Simple Question
Q1456256
P19
Q56061
USER
Where was Fridolin Tschudi born ?
(Q1456256,P19,c(Q56061))
action filter_type
action find
entity Q1456256
relation P19
type Q56061
['Q1456256', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1456256 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Fridolin Tschudi
action filter_type
action find
entity Fridolin Tschudi
relation place of birth
type administrative territorial entity
['Fridolin Tschudi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Fridolin_Tschudi property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q72
SYSTEM
Zürich
Q72
(Q1456256,P19,c(Q56061))
action filter_type
action find
entity Q1456256
relation P19
type Q56061
Fridolin Tschudi was born in [ANSWER]
['Q1456256', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1456256 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Zürich
Fridolin Tschudi was born in Zürich
Zürich
action filter_type
action find
entity Fridolin Tschudi
relation place of birth
type administrative territorial entity
['Fridolin Tschudi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Fridolin_Tschudi property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72
P166
Q618779
USER
What was won by that administrative territory ?
(Q72,P166,c(Q618779))
action filter_type
action find
entity Q72
relation P166
type Q618779
['Q72', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q72 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Zürich
action filter_type
action find
entity Zürich
relation award received
type award
['Zürich', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Zürich property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q20828891
SYSTEM
European City of the Reformation
Q20828891
(Q72,P166,c(Q618779))
action filter_type
action find
entity Q72
relation P166
type Q618779
[ANSWER] was won by that administrative territory
['Q72', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q72 property:P166 ?g . ?g rdf:type ontology:Q618779 }
European City of the Reformation
European City of the Reformation was won by that administrative territory
European City of the Reformation
action filter_type
action find
entity Zürich
relation award received
type award
['Zürich', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Zürich property:award_received ?g . ?g rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20828891 Q46
P30
Q2221906
USER
Is Europe European City of the Reformation located ?
(Q20828891,P30,Q46)
action is_in
entity Q46
action find
entity Q20828891
relation P30
['Q20828891', 'P30', 'Q46']
ASK WHERE { resource:Q20828891 property:P30 resource:Q46 }
European City of the Reformation Europe
action is_in
entity Europe
action find
entity European City of the Reformation
relation continent
['European City of the Reformation', 'continent', 'Europe']
ASK WHERE { resource:European_City_of_the_Reformation property:continent resource:Europe }
[]
geographic location
SYSTEM
YES
(Q20828891,P30,Q46)
action is_in
entity Q46
action find
entity Q20828891
relation P30
[ANSWER]
['Q20828891', 'P30', 'Q46']
ASK WHERE { resource:Q20828891 property:P30 resource:Q46 }
Yes
action is_in
entity Europe
action find
entity European City of the Reformation
relation continent
['European City of the Reformation', 'continent', 'Europe']
ASK WHERE { resource:European_City_of_the_Reformation property:continent resource:Europe }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6319023 Q1456256
P27 P17
Q15617994
USER
Which administrative territories are Fridolin Tschudi an inhabitant of or are Juventud Unida de Gualeguaychú a part of ?
OR((Q1456256,P27,c(Q15617994)), (Q6319023,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1456256
relation P27
action find
entity Q6319023
relation P17
type Q15617994
{'OR': [['Q1456256', 'P27', {'concept': 'Q15617994'}], ['Q6319023', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q1456256 property:P27 ?r } UNION { resource:Q6319023 property:P17 ?r } } }
Juventud Unida de Gualeguaychú Fridolin Tschudi
action filter_type
action union
action find
entity Fridolin Tschudi
relation country of citizenship
action find
entity Juventud Unida de Gualeguaychú
relation country
type designation for an administrative territorial entity
{'OR': [['Fridolin Tschudi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Juventud Unida de Gualeguaychú', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fridolin_Tschudi property:country_of_citizenship ?r } UNION { resource:Juventud_Unida_de_Gualeguaychú property:country ?r } } }
[]
designation for an administrative territorial entity
Q39 Q414
SYSTEM
Switzerland, Argentina
Q39 Q414
OR((Q1456256,P27,c(Q15617994)), (Q6319023,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1456256
relation P27
action find
entity Q6319023
relation P17
type Q15617994
[ANSWERS] are Fridolin Tschudi an inhabitant of or are Juventud Unida de Gualeguaychú a part of
{'OR': [['Q1456256', 'P27', {'concept': 'Q15617994'}], ['Q6319023', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q1456256 property:P27 ?r } UNION { resource:Q6319023 property:P17 ?r } } }
Switzerland Argentina
Switzerland and Argentina are Fridolin Tschudi an inhabitant of or are Juventud Unida de Gualeguaychú a part of
Switzerland Argentina
action filter_type
action union
action find
entity Fridolin Tschudi
relation country of citizenship
action find
entity Juventud Unida de Gualeguaychú
relation country
type designation for an administrative territorial entity
{'OR': [['Fridolin Tschudi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Juventud Unida de Gualeguaychú', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fridolin_Tschudi property:country_of_citizenship ?r } UNION { resource:Juventud_Unida_de_Gualeguaychú property:country ?r } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39 Q414
P17
Q1190554
USER
Which events are situated in Switzerland and Argentina ?
(c(Q1190554),P17,Q39) (c(Q1190554),P17,Q414)
action union
action filter_type
action find_reverse
entity Q39
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q414
relation P17
type Q1190554
[{'concept': 'Q1190554'}, 'P17', 'Q39'] [{'concept': 'Q1190554'}, 'P17', 'Q414']
SELECT DISTINCT ?j WHERE { VALUES ( ?v ) { ( resource:Q39 ) ( resource:Q414 ) } . ?j property:P17 ?v }
Switzerland Argentina
action union
action filter_type
action find_reverse
entity Switzerland
relation country
type event
action filter_type
action find_reverse
entity Argentina
relation country
type event
[{'concept': 'event'}, 'country', 'Switzerland'] [{'concept': 'event'}, 'country', 'Argentina']
SELECT DISTINCT ?j WHERE { VALUES ( ?v ) { ( resource:Switzerland ) ( resource:Argentina ) } . ?j property:country ?v }
[]
event
Q1073849 Q5722289 Q248584
SYSTEM
Battle of Maipú, Battle of Carmen de Patagones, Zürich Marathon
Q248584 Q24248681 Q4402025 Q1073849 Q3268356 Q832683 Q76914 Q5722289 Q616931
(c(Q1190554),P17,Q39) (c(Q1190554),P17,Q414)
action union
action filter_type
action find_reverse
entity Q39
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q414
relation P17
type Q1190554
[ANSWERS] are situated in Switzerland and Argentina
[{'concept': 'Q1190554'}, 'P17', 'Q39'] [{'concept': 'Q1190554'}, 'P17', 'Q414']
SELECT DISTINCT ?j WHERE { VALUES ( ?v ) { ( resource:Q39 ) ( resource:Q414 ) } . ?j property:P17 ?v }
Zürich Marathon Frackwoche 1930 Argentine coup d'état Battle of Maipú Battle of San Lorenzo Battle of Pavón Battle of Cepeda (1859) Battle of Carmen de Patagones Battle of Caseros
Battle of Maipú, Battle of Carmen de Patagones and Zürich Marathon are situated in Switzerland and Argentina
Battle of Maipú Battle of Carmen de Patagones Zürich Marathon
action union
action filter_type
action find_reverse
entity Switzerland
relation country
type event
action filter_type
action find_reverse
entity Argentina
relation country
type event
[{'concept': 'event'}, 'country', 'Switzerland'] [{'concept': 'event'}, 'country', 'Argentina']
SELECT DISTINCT ?j WHERE { VALUES ( ?v ) { ( resource:Switzerland ) ( resource:Argentina ) } . ?j property:country ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1073849 Q5722289 Q248584
P17
Q15617994
USER
Which administrative territories are those events a part of ?
(Q1073849,P17,c(Q15617994)) (Q5722289,P17,c(Q15617994)) (Q248584,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1073849', 'P17', {'concept': 'Q15617994'}] ['Q5722289', 'P17', {'concept': 'Q15617994'}] ['Q248584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?k property:P17 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?k ) { ( resource:Q248584 ) ( resource:Q24248681 ) ( resource:Q4402025 ) } }
Battle of Maipú Battle of Carmen de Patagones Zürich Marathon
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Battle of Maipú', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Battle of Carmen de Patagones', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zürich Marathon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?k property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?k ) { ( resource:Zürich_Marathon ) ( resource:Frackwoche ) ( resource:1930_Argentine_coup_d'état ) } }
[]
designation for an administrative territorial entity
Q414 Q414 Q39
SYSTEM
Switzerland for 3rd, Argentina for 1st, 2nd
Q414 Q414 Q39
(Q1073849,P17,c(Q15617994)) (Q5722289,P17,c(Q15617994)) (Q248584,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q1073849', 'P17', {'concept': 'Q15617994'}] ['Q5722289', 'P17', {'concept': 'Q15617994'}] ['Q248584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?k property:P17 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?k ) { ( resource:Q248584 ) ( resource:Q24248681 ) ( resource:Q4402025 ) } }
Argentina Argentina Switzerland
Argentina, Argentina and Switzerland are those events a part of
Argentina Argentina Switzerland
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Battle of Maipú', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Battle of Carmen de Patagones', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zürich Marathon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?k property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?k ) { ( resource:Zürich_Marathon ) ( resource:Frackwoche ) ( resource:1930_Argentine_coup_d'état ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1073849
P276
Q515
USER
Which city is the location of that event ?
(Q1073849,P276,c(Q515))
action filter_type
action find
entity Q1073849
relation P276
type Q515
['Q1073849', 'P276', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q1073849 property:P276 ?y . ?y rdf:type ontology:Q515 }
Battle of Maipú
action filter_type
action find
entity Battle of Maipú
relation location
type city
['Battle of Maipú', 'location', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Battle_of_Maipú property:location ?y . ?y rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q1073849
SYSTEM
Did you mean Battle of Maipú ?
Q414 Q414 Q39
(Q414,P276,c(Q515)) (Q414,P276,c(Q515)) (Q39,P276,c(Q515))
[ANSWER]
['Q414', 'P276', {'concept': 'Q515'}] ['Q414', 'P276', {'concept': 'Q515'}] ['Q39', 'P276', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q1073849 property:P276 ?y . ?y rdf:type ontology:Q515 }
Argentina Argentina Switzerland
Did you mean Battle of Maipú ?
Battle of Maipú
['Argentina', 'location', {'concept': 'city'}] ['Argentina', 'location', {'concept': 'city'}] ['Switzerland', 'location', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Battle_of_Maipú property:location ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1073849,P276,c(Q515))
['Q1073849', 'P276', {'concept': 'Q515'}]
['Battle of Maipú', 'location', {'concept': 'city'}]
[]
Q2887
SYSTEM
Santiago
Q2887
(Q1073849,P276,c(Q515))
action filter_type
action find
entity Q1073849
relation P276
type Q515
[ANSWER] is the location of that event
['Q1073849', 'P276', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q1073849 property:P276 ?y . ?y rdf:type ontology:Q515 }
Santiago
Santiago is the location of that event
Santiago
action filter_type
action find
entity Battle of Maipú
relation location
type city
['Battle of Maipú', 'location', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Battle_of_Maipú property:location ?y . ?y rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2887 Q2002875
P190
Q515
USER
Is Týniště nad Orlicí sister town of Santiago ?
(Q2887,P190,Q2002875)
action is_in
entity Q2002875
action find
entity Q2887
relation P190
['Q2887', 'P190', 'Q2002875']
ASK WHERE { resource:Q2887 property:P190 resource:Q2002875 }
Santiago Týniště nad Orlicí
action is_in
entity Týniště nad Orlicí
action find
entity Santiago
relation sister city
['Santiago', 'sister city', 'Týniště nad Orlicí']
ASK WHERE { resource:Santiago property:sister_city resource:Týniště_nad_Orlicí }
[]
city
SYSTEM
NO
(Q2887,P190,Q2002875)
action is_in
entity Q2002875
action find
entity Q2887
relation P190
[ANSWER]
['Q2887', 'P190', 'Q2002875']
ASK WHERE { resource:Q2887 property:P190 resource:Q2002875 }
No
action is_in
entity Týniště nad Orlicí
action find
entity Santiago
relation sister city
['Santiago', 'sister city', 'Týniště nad Orlicí']
ASK WHERE { resource:Santiago property:sister_city resource:Týniště_nad_Orlicí }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q284098 Q72
P6 P22
Q502895
USER
Which people have Zürich as their heads of government or were the father of Lewis Elton ?
OR((Q72,P6,c(Q502895)), (Q284098,P22,c(Q502895)))
action filter_type
action union
action find
entity Q72
relation P6
action find
entity Q284098
relation P22
type Q502895
{'OR': [['Q72', 'P6', {'concept': 'Q502895'}], ['Q284098', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q72 property:P6 ?q } UNION { resource:Q284098 property:P22 ?q } } . ?q rdf:type ontology:Q502895 }
Lewis Elton Zürich
action filter_type
action union
action find
entity Zürich
relation head of government
action find
entity Lewis Elton
relation father
type common name
{'OR': [['Zürich', 'head of government', {'concept': 'common name'}], ['Lewis Elton', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Zürich property:head_of_government ?q } UNION { resource:Lewis_Elton property:father ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q13635763 Q124408 Q14242497 Q14244863 Q115886 Q14244684 Q1581533 Q14030773 Q123363 Q13883377
SYSTEM
Some of them are Rüdiger Manesse, Hans Waldmann, Hans Caspar Escher, David von Wyss, Elmar Ledergerber, Hans Heinrich Kilchsperger, Hans Nägeli, Sigmund Spöndli, Corine Mauch, Heinrich Bräm
Q124248 Q13635779 Q2214992 Q115886 Q13857562 Q116940 Q13857403 Q117092 Q13636899 Q13637020 Q13635789 Q13882638 Q95303 Q13858784 Q13635950 Q115561 Q13859853 Q13858987 Q125273 Q120794 Q14034383 Q124390 Q13635791 Q125319 Q13859084 Q13636847 Q1389974 Q13635921 Q2048091 Q14240888 Q14242691 Q13636361 Q13884316 Q13882447 Q14030627 Q14244130 Q123363 Q1694384 Q13883269 Q946822 Q13637111 Q2099681 Q13637052 Q13882564 Q14244684 Q14244863 Q1493750 Q13636826 Q14241051 Q13882842 Q13635797 Q14032587 Q13830382 Q13883377 Q1336378 Q125071 Q13882754 Q120767 Q2021232 Q13832336 Q1909507 Q13636939 Q14030773 Q2479288 Q13932987 Q14034723 Q13858599 Q14243179 Q14241364 Q13882709 Q1336429 Q1581533 Q14242497 Q14244500 Q13832030 Q14030389 Q14032968 Q13636324 Q13859511 Q13635769 Q124408 Q13635763 Q13636787 Q14243466 Q13635977 Q14245221 Q2427995 Q117727 Q13883308 Q14034146 Q2178711 Q13882493 Q2163606 Q13882666
OR((Q72,P6,c(Q502895)), (Q284098,P22,c(Q502895)))
action filter_type
action union
action find
entity Q72
relation P6
action find
entity Q284098
relation P22
type Q502895
[ANSWERS] have Zürich as their heads of government or were the father of Lewis Elton
{'OR': [['Q72', 'P6', {'concept': 'Q502895'}], ['Q284098', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q72 property:P6 ?q } UNION { resource:Q284098 property:P22 ?q } } . ?q rdf:type ontology:Q502895 }
Hans Heinrich Landolt Rudolf Schwend Salomon Hirzel Elmar Ledergerber Marx Röist Heinrich Escher Matthias Wyss Rudolf Brun Heinrich Schwend Rudolf von Cham Rudolf Schön Kaspar Thomann Victor Ehrenberg Heinrich Walder Johannes Herter Ernst Nobs Georg Müller Diethelm Röist Josef Estermann Sigmund Widmer David Holzhalb Rudolf Stüssi Johannes Manesse Hans Conrad Escher Johannes Haab Johannes Schwend Johann Heinrich Waser Johannes Meyer von Knonau Johann Heinrich Landolt Hans Jakob Ulrich Johannes Fries Felix Manesse Hans Rudolf Rahn Bernhard von Cham Hans Konrad Grebel Hans Heinrich von Orelli Corine Mauch Johann Heinrich Emanuel Mousson Leonhard Holzhalb Melchior Römer Heinrich Göldli Hans Georg Finsler Heinrich Röist Hans Kambli Hans Heinrich Kilchsperger David von Wyss Robert Billeter Jakob Schwarzmurer Hans Heinrich Hirzel Hans Rudolf Rahn Heinrich Meiss Hans Kaspar Escher Konrad Schwend Heinrich Bräm Emil Klöti Johann Jacob Leu Heinrich Bräm Paul Carl Eduard Ziegler Adolf Lüchinger Rudolf Escher Hans Ludwig Hess Johannes Keller Sigmund Spöndli Hans Jakob Escher Hans Heinrich Rahn Hans Jakob Escher Felix Schmid Hans Kaspar Landolt Johannes Hofmeister Hans Keller Emil Landolt Hans Nägeli Hans Caspar Escher Johann Heinrich Ott Felix Brennwald Hans Caspar Hirzel Andreas Meyer Jakob Glentner Hans Rudolf Lavater Johannes Vink Hans Waldmann Rüdiger Manesse Rudolf Meiss Hans Conrad Heidegger Pantaleon ab Inkenberg Hans Rudolf Werdmüller Thomas Wagner Hans Konrad Pestalozzi Hans Heinrich Holzhalb Hans Ludwig Hirzel Georg Konrad Bürkli Hans Bräm Hans Conrad Vogel Konrad Grossmann
Rüdiger Manesse, Hans Waldmann, Hans Caspar Escher, David von Wyss, Elmar Ledergerber, Hans Heinrich Kilchsperger, Hans Nägeli, Sigmund Spöndli, Corine Mauch and Heinrich Bräm have Zürich as their heads of government or were the father of Lewis Elton
Rüdiger Manesse Hans Waldmann Hans Caspar Escher David von Wyss Elmar Ledergerber Hans Heinrich Kilchsperger Hans Nägeli Sigmund Spöndli Corine Mauch Heinrich Bräm
action filter_type
action union
action find
entity Zürich
relation head of government
action find
entity Lewis Elton
relation father
type common name
{'OR': [['Zürich', 'head of government', {'concept': 'common name'}], ['Lewis Elton', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Zürich property:head_of_government ?q } UNION { resource:Lewis_Elton property:father ?q } } . ?q 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 can atmost 3221 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3221
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?r <= 3221 ) . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P1303 ?z . ?t rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3221
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?r <= 3221 ) . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:instrument ?z . ?t rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } }
[]
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 3221
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?r <= 3221 ) . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P1303 ?z . ?t rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } }
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
Which musical instruments can atmost 3221 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3221
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?r <= 3221 ) . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:instrument ?z . ?t rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q39 Q422819
P921
Q732577
USER
How many publications were mainly based on Switzerland or gallium arsenide ?
(c(Q732577),P921,Q39) (c(Q732577),P921,Q422819)
action count
action union
action filter_type
action find_reverse
entity Q39
relation P921
type Q732577
action filter_type
action find_reverse
entity Q422819
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q39'] [{'concept': 'Q732577'}, 'P921', 'Q422819']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e rdf:type ontology:Q732577 . ?e property:P921 resource:Q39 } UNION { ?e property:P921 resource:Q422819 . ?e rdf:type ontology:Q732577 } }
Switzerland gallium arsenide
action count
action union
action filter_type
action find_reverse
entity Switzerland
relation main subject
type publication
action filter_type
action find_reverse
entity gallium arsenide
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'Switzerland'] [{'concept': 'publication'}, 'main subject', 'gallium arsenide']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e rdf:type ontology:publication . ?e property:main_subject resource:Switzerland } UNION { ?e property:main_subject resource:gallium_arsenide . ?e rdf:type ontology:publication } }
[]
publication
SYSTEM
8
Q26351076 Q26350968 Q26351072 Q26350979 Q26350853 Q26350974 Q26350929 Q26350760
(c(Q732577),P921,Q39) (c(Q732577),P921,Q422819)
action count
action union
action filter_type
action find_reverse
entity Q39
relation P921
type Q732577
action filter_type
action find_reverse
entity Q422819
relation P921
type Q732577
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q39'] [{'concept': 'Q732577'}, 'P921', 'Q422819']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e rdf:type ontology:Q732577 . ?e property:P921 resource:Q39 } UNION { ?e property:P921 resource:Q422819 . ?e rdf:type ontology:Q732577 } }
Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at M/A-COM, Lowell, Massachusetts, Report No. CT-163-13A Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Honeywell, Inc., Richardson, Texas, Report No. CT-163- 17A Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Hewlett Packard, San Jose, California, Report No. CT- 163-14a Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Texas Instruments, Dallas, Texas, Report No. CT-163- 16a Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Raytheon Company, Northborough, Massachusetts, Report No. CT-163-12a Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Morgan Semiconductor Division, Garland, Texas HHE Report No. HETA-93-1133-2425, Electrode Corporation, Chardon, Ohio Preliminary Survey Report: Control Technology for Gallium Arsenide Processing at Microwave Semiconductor Corporation, Somerset, New Jersey
8
action count
action union
action filter_type
action find_reverse
entity Switzerland
relation main subject
type publication
action filter_type
action find_reverse
entity gallium arsenide
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'Switzerland'] [{'concept': 'publication'}, 'main subject', 'gallium arsenide']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e rdf:type ontology:publication . ?e property:main_subject resource:Switzerland } UNION { ?e property:main_subject resource:gallium_arsenide . ?e rdf:type ontology:publication } }
[]