Simple Question (Direct)
Simple Question
Q26208484
P1346
Q502895
USER
Which people emerged victorious in Arno Wallaard Memorial 2016 ?
(Q26208484,P1346,c(Q502895))
action filter_type
action find
entity Q26208484
relation P1346
type Q502895
['Q26208484', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q26208484 property:P1346 ?x . ?x rdf:type ontology:Q502895 }
Arno Wallaard Memorial 2016
action filter_type
action find
entity Arno Wallaard Memorial 2016
relation winner
type common name
['Arno Wallaard Memorial 2016', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Arno_Wallaard_Memorial_2016 property:winner ?x . ?x rdf:type ontology:common_name }
[]
common name
Q18145521 Q18202629 Q20109533
SYSTEM
Maarten van Trijp, Elmar Reinders, Nicolai Brøchner
Q18145521 Q18202629 Q20109533
(Q26208484,P1346,c(Q502895))
action filter_type
action find
entity Q26208484
relation P1346
type Q502895
[ANSWERS] emerged victorious in Arno Wallaard Memorial 2016
['Q26208484', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q26208484 property:P1346 ?x . ?x rdf:type ontology:Q502895 }
Maarten van Trijp Elmar Reinders Nicolai Brøchner
Maarten van Trijp, Elmar Reinders and Nicolai Brøchner emerged victorious in Arno Wallaard Memorial 2016
Maarten van Trijp Elmar Reinders Nicolai Brøchner
action filter_type
action find
entity Arno Wallaard Memorial 2016
relation winner
type common name
['Arno Wallaard Memorial 2016', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Arno_Wallaard_Memorial_2016 property:winner ?x . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18202629
P21
Q290
USER
Which sex does that person have ?
(Q18202629,P21,c(Q290))
action filter_type
action find
entity Q18202629
relation P21
type Q290
['Q18202629', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18202629 property:P21 ?s . ?s rdf:type ontology:Q290 }
Elmar Reinders
action filter_type
action find
entity Elmar Reinders
relation gender
type sex
['Elmar Reinders', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Elmar_Reinders property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q18145521
SYSTEM
Did you mean Maarten van Trijp ?
Q18145521 Q18202629 Q20109533
(Q18145521,P21,c(Q290)) (Q18202629,P21,c(Q290)) (Q20109533,P21,c(Q290))
[ANSWER]
['Q18145521', 'P21', {'concept': 'Q290'}] ['Q18202629', 'P21', {'concept': 'Q290'}] ['Q20109533', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18202629 property:P21 ?s . ?s rdf:type ontology:Q290 }
Maarten van Trijp Elmar Reinders Nicolai Brøchner
Did you mean Maarten van Trijp ?
Maarten van Trijp
['Maarten van Trijp', 'gender', {'concept': 'sex'}] ['Elmar Reinders', 'gender', {'concept': 'sex'}] ['Nicolai Brøchner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Elmar_Reinders property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Elmar Reinders. Could you tell me the answer for that?
(Q18202629,P21,c(Q290))
Q18202629
['Q18202629', 'P21', {'concept': 'Q290'}]
['Elmar Reinders', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q18202629,P21,c(Q290))
action filter_type
action find
entity Q18202629
relation P21
type Q290
That person has a [ANSWER]
['Q18202629', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18202629 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Elmar Reinders
relation gender
type sex
['Elmar Reinders', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Elmar_Reinders property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 557 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 557
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?o = 557 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?c } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 557
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?o = 557 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
62
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 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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 557
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?o = 557 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?c } }
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 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
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 557
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?o = 557 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18202629
P1346
Q22348500
USER
How many cycling race classes were Elmar Reinders decalred as a champion of ?
(c(Q22348500),P1346,Q18202629)
action count
action filter_type
action find_reverse
entity Q18202629
relation P1346
type Q22348500
[{'concept': 'Q22348500'}, 'P1346', 'Q18202629']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P1346 resource:Q18202629 . ?q rdf:type ontology:Q22348500 }
Elmar Reinders
action count
action filter_type
action find_reverse
entity Elmar Reinders
relation winner
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Elmar Reinders']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:winner resource:Elmar_Reinders . ?q rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
SYSTEM
3
Q26208688 Q21074145 Q26208484
(c(Q22348500),P1346,Q18202629)
action count
action filter_type
action find_reverse
entity Q18202629
relation P1346
type Q22348500
[ANSWER]
[{'concept': 'Q22348500'}, 'P1346', 'Q18202629']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P1346 resource:Q18202629 . ?q rdf:type ontology:Q22348500 }
2016 ZODC Zuidenveld Tour 2015 Ster van Zwolle Arno Wallaard Memorial 2016
3
action count
action filter_type
action find_reverse
entity Elmar Reinders
relation winner
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Elmar Reinders']
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:winner resource:Elmar_Reinders . ?q rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1696580 Q18145521
P19
Q486972
USER
Which human settlements are the places of birth of Maarten van Trijp or Johann Wilhelm Jan ?
OR((Q18145521,P19,c(Q486972)), (Q1696580,P19,c(Q486972)))
action filter_type
action union
action find
entity Q18145521
relation P19
action find
entity Q1696580
relation P19
type Q486972
{'OR': [['Q18145521', 'P19', {'concept': 'Q486972'}], ['Q1696580', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q18145521 property:P19 ?s } UNION { resource:Q1696580 property:P19 ?s } } . ?s rdf:type ontology:Q486972 }
Johann Wilhelm Jan Maarten van Trijp
action filter_type
action union
action find
entity Maarten van Trijp
relation place of birth
action find
entity Johann Wilhelm Jan
relation place of birth
type human settlement
{'OR': [['Maarten van Trijp', 'place of birth', {'concept': 'human settlement'}], ['Johann Wilhelm Jan', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Maarten_van_Trijp property:place_of_birth ?s } UNION { resource:Johann_Wilhelm_Jan property:place_of_birth ?s } } . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q2124941 Q192508
SYSTEM
Raben (Rabenstein), Bergen op Zoom
Q2124941 Q192508
OR((Q18145521,P19,c(Q486972)), (Q1696580,P19,c(Q486972)))
action filter_type
action union
action find
entity Q18145521
relation P19
action find
entity Q1696580
relation P19
type Q486972
[ANSWERS] are the places of birth of Maarten van Trijp or Johann Wilhelm Jan
{'OR': [['Q18145521', 'P19', {'concept': 'Q486972'}], ['Q1696580', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q18145521 property:P19 ?s } UNION { resource:Q1696580 property:P19 ?s } } . ?s rdf:type ontology:Q486972 }
Raben (Rabenstein) Bergen op Zoom
Raben (Rabenstein) and Bergen op Zoom are the places of birth of Maarten van Trijp or Johann Wilhelm Jan
Raben (Rabenstein) Bergen op Zoom
action filter_type
action union
action find
entity Maarten van Trijp
relation place of birth
action find
entity Johann Wilhelm Jan
relation place of birth
type human settlement
{'OR': [['Maarten van Trijp', 'place of birth', {'concept': 'human settlement'}], ['Johann Wilhelm Jan', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Maarten_van_Trijp property:place_of_birth ?s } UNION { resource:Johann_Wilhelm_Jan property:place_of_birth ?s } } . ?s rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q515519
P1376
Q914262 Q486972
USER
How many administrative territory of Swedens have less number of human settlements as their county seat than Tomelilla Municipality ?
(c(Q486972),P1376,c(Q914262))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q914262
type Q486972
action count
action filter_type
action find_reverse
entity Q515519
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?e ) WHERE { ?y rdf:type ontology:Q914262 . ?h rdf:type ontology:Q486972 . ?h property:P1376 ?y } GROUP BY ?y } . FILTER ( ?e < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q486972 . ?l property:P1376 resource:Q515519 } } }
Tomelilla Municipality
action count
action less
action find_reverse_tuple_counts
relation capital of
type administrative territorial entity of Sweden
type human settlement
action count
action filter_type
action find_reverse
entity Tomelilla Municipality
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?e ) WHERE { ?y rdf:type ontology:administrative_territorial_entity_of_Sweden . ?h rdf:type ontology:human_settlement . ?h property:capital_of ?y } GROUP BY ?y } . FILTER ( ?e < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:human_settlement . ?l property:capital_of resource:Tomelilla_Municipality } } }
[]
administrative territorial entity of Sweden human settlement
SYSTEM
289
Q293970 Q255206 Q504239 Q499421 Q514739 Q29963 Q504235 Q3233447 Q516308 Q500217 Q500210 Q509546 Q307370 Q501463 Q307569 Q513421 Q186230 Q510135 Q47019 Q47018 Q3231382 Q515282 Q509452 Q504630 Q47169 Q297718 Q1130264 Q511281 Q376003 Q117091 Q505064 Q507656 Q510233 Q499460 Q389040 Q505259 Q509488 Q298003 Q59091 Q59093 Q512002 Q501205 Q37399 Q498453 Q499359 Q504249 Q508125 Q59858 Q504244 Q510198 Q515299 Q505936 Q374794 Q515969 Q62469 Q3120654 Q27982 Q113730 Q511297 Q503127 Q501420 Q503122 Q515358 Q501442 Q505018 Q503184 Q502298 Q179180 Q503188 Q516080 Q515505 Q514756 Q515680 Q505090 Q498470 Q506250 Q498477 Q507684 Q501526 Q504257 Q508180 Q493841 Q515699 Q3231675 Q503198 Q3231325 Q487502 Q34550 Q508140 Q508108 Q505071 Q428749 Q515342 Q280562 Q427991 Q515266 Q503132 Q505013 Q42009 Q894327 Q514815 Q511407 Q240574 Q28532 Q503193 Q2642771 Q10723852 Q501432 Q430780 Q504261 Q515326 Q271340 Q501532 Q498447 Q297936 Q504266 Q209634 Q504465 Q503209 Q3232214 Q34078 Q510364 Q505052 Q301259 Q487648 Q149539 Q515373 Q113718 Q505057 Q503102 Q511270 Q132334 Q509476 Q503361 Q511394 Q514805 Q499441 Q507709 Q293928 Q512035 Q499464 Q504994 Q501424 Q492614 Q509501 Q52502 Q221990 Q427422 Q501540 Q501428 Q504988 Q501545 Q307603 Q509568 Q511310 Q501470 Q845930 Q503111 Q493066 Q499380 Q499385 Q2777887 Q505006 Q503214 Q500125 Q503746 Q972564 Q513370 Q511241 Q948462 Q499474 Q501438 Q509469 Q501448 Q514722 Q515477 Q493815 Q8100253 Q271274 Q505109 Q382808 Q504983 Q514830 Q125222 Q509997 Q507670 Q509634 Q505246 Q504689 Q501551 Q499415 Q62464 Q510223 Q499410 Q515250 Q511426 Q511253 Q504601 Q509514 Q505046 Q501494 Q499393 Q10658966 Q504609 Q500153 Q514770 Q515318 Q109010 Q113673 Q503204 Q510010 Q249378 Q500090 Q37404 Q113679 Q515235 Q514707 Q507644 Q498857 Q271107 Q504219 Q501452 Q505096 Q254799 Q500267 Q515409 Q509609 Q1345439 Q508153 Q500071 Q505085 Q220881 Q499404 Q113692 Q285894 Q504692 Q1128384 Q338752 Q503173 Q504676 Q201813 Q3231208 Q216915 Q511438 Q511228 Q504619 Q239332 Q271079 Q515551 Q186662 Q267030 Q511338 Q512048 Q510310 Q515491 Q504614 Q267462 Q505239 Q501459 Q504227 Q123855 Q203509 Q503180 Q505102 Q499425 Q177019 Q501479 Q504594 Q514858 Q504505 Q516336 Q306789 Q499435 Q214048 Q515861 Q503148 Q504626 Q503144 Q605329 Q117728 Q505076 Q501487 Q145835 Q255025 Q511326 Q515706 Q37462 Q509651 Q271153
(c(Q486972),P1376,c(Q914262))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q914262
type Q486972
action count
action filter_type
action find_reverse
entity Q515519
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?e ) WHERE { ?y rdf:type ontology:Q914262 . ?h rdf:type ontology:Q486972 . ?h property:P1376 ?y } GROUP BY ?y } . FILTER ( ?e < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q486972 . ?l property:P1376 resource:Q515519 } } }
Ödeshög Municipality Ängelholm Municipality Mora Municipality Skara Municipality Ljusnarsberg Municipality Hudiksvall Municipality Ljungby Municipality Västra Götaland Regional Council Heby Municipality Växjö Municipality Vännäs Municipality Borgholm Municipality Östra Göinge Municipality Sorsele Municipality Överkalix Municipality Härjedalen Municipality Pajala Municipality Torsby Municipality Hallstahammar Municipality Fagersta Municipality Gävleborg County Council Lekeberg Municipality Emmaboda Municipality Orsa Municipality Kungsör Municipality Örebro Municipality Eslöv Municipality Götene Municipality Bjurholm Municipality Kalix Municipality Trosa Municipality Piteå Municipality Högsby Municipality Nykvarn Municipality Munkedal Municipality Gislaved Lessebo Municipality Örnsköldsvik Uppsala Municipality Östhammar Municipality Hultsfred Municipality Sunne Municipality Sala Municipality Karlstad Municipality Hammarö Municipality Perstorp Municipality Hässleholm Municipality Älvkarleby Municipality Rättvik Municipality Tierp Municipality Kinda Municipality Storfors Municipality Gotland Municipality Vadstena Municipality Bollnäs Municipality Lidingö Municipality Flen Municipality Tyresö Municipality Vårgårda Municipality Essunga Municipality Sotenäs Municipality Grums Municipality Lidköping Municipality Uddevalla Municipality Lund Municipality Ludvika Municipality Landskrona Municipality Varberg Municipality Lerum Municipality Salem Municipality Uppvidinge Municipality Mörbylånga Municipality Söderköping Municipality Nynäshamn Municipality Ale Municipality Stockholm Municipality Hylte Municipality Hedemora Municipality Vallentuna Municipality Olofström Municipality Hallsberg Municipality Värmdö Municipality Ydre Municipality Kalmar County Council Habo Municipality Dalarna County Council Laholm Municipality Västerås Municipality Katrineholm Municipality Motala Municipality Tranås Municipality Hjo Municipality Ragunda Municipality Värnamo Municipality Lomma Municipality Skurup Municipality Dals-Ed Municipality Höganäs Municipality Köping Municipality Borås Municipality Kramfors Municipality Hagfors Municipality Markaryd Municipality Trollhättan Municipality Gullspång Municipality Gagnef Municipality Ytterlännäs rural municipality Tibro Municipality Skellefteå Municipality Bräcke Municipality Laxå Municipality Åtvidaberg Municipality Strängnäs Municipality Eda Municipality Örkelljunga Municipality Malung-Sälen Municipality Härnösand Municipality Knivsta Municipality Borlänge Municipality Västmanlands läns landsting Surahammar Municipality Kristinehamn Municipality Vetlanda Municipality Järfälla Municipality Helsingborg Municipality Sandviken Municipality Ronneby Municipality Botkyrka Municipality Vimmerby Municipality Bollebygd Municipality Mölndal Municipality Dorotea Municipality Boden Municipality Malmö Municipality Kungälv Municipality Nordanstig Municipality Färgelanda Municipality Umeå Municipality Öckerö Municipality Eksjö Municipality Båstad Municipality Sundsvall Municipality Strömstad Municipality Ekerö Municipality Askersund Municipality Gothenburg Municipality Sollefteå Municipality Mariestad Municipality Malå Municipality Vara Municipality Kumla Municipality Falun Municipality Övertorneå Municipality Enköping Municipality Bjuv Municipality Töreboda Municipality Berg Municipality Herrljunga Municipality Täby Municipality Kungsbacka Municipality Forshaga Municipality Årjäng Municipality Oskarshamn Municipality Falköping Municipality Härryda Municipality Sollentuna Municipality Sundbyberg Municipality Kävlinge Municipality Lilla Edet Municipality Lycksele municipality Kiruna Municipality Mellerud Municipality Degerfors Municipality Tjörn Municipality Nordmaling Municipality Västervik Municipality Gällivare Municipality Västernorrland County Council Åsele Municipality Ockelbo Municipality Ulricehamn Municipality Timrå Municipality Bromölla Municipality Partille Municipality Valdemarsvik Municipality Robertsfors Municipality Karlskoga Municipality Oxelösund Municipality Jönköping Municipality Vansbro Municipality Storuman Municipality Hofors Municipality Karlshamn Municipality Linköping Municipality Mönsterås Municipality Vänersborg Municipality Håbo Municipality Sjöbo Municipality Boxholm Municipality Smedjebacken Municipality Munkfors Municipality Kil Municipality Rödön Staffanstorp Municipality Mark Municipality Strömsund Municipality Nybro Municipality Solna Municipality Upplands-Bro Municipality Filipstad Municipality Gävle Municipality Vingåker Municipality Vaxholm Municipality Norberg Municipality Danderyd Municipality Ljusdal Municipality Krokom Municipality Norsjö Municipality Kristianstad Municipality Ånge Trelleborg Municipality Skövde Municipality Nässjö Municipality Älmhult Municipality Nyköping Municipality Sölvesborg Municipality Gnosjö Municipality Säter Municipality Kalmar Municipality Avesta Municipality Ovanåker Municipality Hällefors Municipality Arvidsjaur Municipality Haninge Municipality Nora Municipality Halmstad Municipality Karlskrona Municipality Orust Municipality Lysekil Municipality Norrköping Municipality Åstorp Municipality Blekinge County Council Sigtuna Municipality Stenungsund Municipality Tanum Municipality Hörby Municipality Gnesta Municipality Åmål Municipality Torsås Municipality Burlöv Municipality Mjölby Municipality Vellinge Municipality Jokkmokk Municipality Haparanda Municipality Tingsryd Municipality Klippan Municipality Bengtsfors Municipality Sävsjö Municipality Tidaholm Municipality Svalöv Municipality Älvdalen Municipality Uppland Finspång Municipality Ystad Municipality Upplands Väsby Municipality Luleå Municipality Tranemo Municipality Osby Municipality Lindesberg Municipality Vindeln Municipality Södertälje Municipality Östersund Municipality Karlsborg Municipality Norrtälje Municipality Vilhelmina Municipality Grästorp Municipality Simrishamn Municipality Eskilstuna Municipality Vaggeryd Municipality Österåker Municipality Mullsjö Municipality Svenljunga Municipality Söderhamn Municipality Älvsbyn Municipality Säffle Municipality Svedala Municipality Skinnskatteberg Municipality Leksand Municipality Åre Municipality
289
action count
action less
action find_reverse_tuple_counts
relation capital of
type administrative territorial entity of Sweden
type human settlement
action count
action filter_type
action find_reverse
entity Tomelilla Municipality
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?e ) WHERE { ?y rdf:type ontology:administrative_territorial_entity_of_Sweden . ?h rdf:type ontology:human_settlement . ?h property:capital_of ?y } GROUP BY ?y } . FILTER ( ?e < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:human_settlement . ?l property:capital_of resource:Tomelilla_Municipality } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192508
P47
Q13220204
USER
Which administrative country subdivisions are bordered by Bergen op Zoom ?
(Q192508,P47,c(Q13220204))
action filter_type
action find
entity Q192508
relation P47
type Q13220204
['Q192508', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q192508 property:P47 ?f . ?f rdf:type ontology:Q13220204 }
Bergen op Zoom
action filter_type
action find
entity Bergen op Zoom
relation shares border with
type second-level administrative country subdivision
['Bergen op Zoom', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Bergen_op_Zoom property:shares_border_with ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9861 Q9881
SYSTEM
Roosendaal, Woensdrecht
Q9861 Q9881
(Q192508,P47,c(Q13220204))
action filter_type
action find
entity Q192508
relation P47
type Q13220204
[ANSWERS] are bordered by Bergen op Zoom
['Q192508', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q192508 property:P47 ?f . ?f rdf:type ontology:Q13220204 }
Roosendaal Woensdrecht
Roosendaal and Woensdrecht are bordered by Bergen op Zoom
Roosendaal Woensdrecht
action filter_type
action find
entity Bergen op Zoom
relation shares border with
type second-level administrative country subdivision
['Bergen op Zoom', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Bergen_op_Zoom property:shares_border_with ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9861 Q9881
P17
Q15617994
USER
Which administrative territories are those administrative country subdivisions a part of ?
(Q9861,P17,c(Q15617994)) (Q9881,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q9861', 'P17', {'concept': 'Q15617994'}] ['Q9881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . ?r property:P17 ?h . VALUES ( ?r ) { ( resource:Q9861 ) ( resource:Q9881 ) } }
Roosendaal Woensdrecht
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Roosendaal', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Woensdrecht', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country ?h . VALUES ( ?r ) { ( resource:Roosendaal ) ( resource:Woensdrecht ) } }
[]
designation for an administrative territorial entity
Q55 Q55
SYSTEM
Netherlands
Q55 Q55
(Q9861,P17,c(Q15617994)) (Q9881,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER] and [ANSWER] are those administrative country subdivisions a part of
['Q9861', 'P17', {'concept': 'Q15617994'}] ['Q9881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . ?r property:P17 ?h . VALUES ( ?r ) { ( resource:Q9861 ) ( resource:Q9881 ) } }
Netherlands Netherlands
Netherlands and Netherlands are those administrative country subdivisions a part of
Netherlands Netherlands
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Roosendaal', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Woensdrecht', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country ?h . VALUES ( ?r ) { ( resource:Roosendaal ) ( resource:Woensdrecht ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9861
P609
Q34442
USER
Which road is Roosendaal a terminus location of ?
(c(Q34442),P609,Q9861)
action filter_type
action find_reverse
entity Q9861
relation P609
type Q34442
[{'concept': 'Q34442'}, 'P609', 'Q9861']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34442 . ?p property:P609 resource:Q9861 }
Roosendaal
action filter_type
action find_reverse
entity Roosendaal
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', 'Roosendaal']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:road . ?p property:terminus_location resource:Roosendaal }
[]
road
Q847531
SYSTEM
A17 motorway
Q847531
(c(Q34442),P609,Q9861)
action filter_type
action find_reverse
entity Q9861
relation P609
type Q34442
Which road is Roosendaal a terminus location of
[{'concept': 'Q34442'}, 'P609', 'Q9861']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34442 . ?p property:P609 resource:Q9861 }
A17 motorway
Which road is Roosendaal a terminus location of
A17 motorway
action filter_type
action find_reverse
entity Roosendaal
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', 'Roosendaal']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:road . ?p property:terminus_location resource:Roosendaal }
[]