Simple Question (Direct)
Simple Question
Q2637735
P19
Q5119
USER
Where was Albert Büchi born ?
(Q2637735,P19,c(Q5119))
action filter_type
action find
entity Q2637735
relation P19
type Q5119
['Q2637735', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?y WHERE { resource:Q2637735 property:P19 ?y . ?y rdf:type ontology:Q5119 }
Albert Büchi
action filter_type
action find
entity Albert Büchi
relation place of birth
type capital
['Albert Büchi', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Büchi property:place_of_birth ?y . ?y rdf:type ontology:capital }
[]
capital
Q68120
SYSTEM
Frauenfeld
Q68120
(Q2637735,P19,c(Q5119))
action filter_type
action find
entity Q2637735
relation P19
type Q5119
Albert Büchi was born in [ANSWER]
['Q2637735', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?y WHERE { resource:Q2637735 property:P19 ?y . ?y rdf:type ontology:Q5119 }
Frauenfeld
Albert Büchi was born in Frauenfeld
Frauenfeld
action filter_type
action find
entity Albert Büchi
relation place of birth
type capital
['Albert Büchi', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Büchi property:place_of_birth ?y . ?y rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68120
P190
Q486972
USER
Which human settlement is partner town of that capital ?
(Q68120,P190,c(Q486972))
action filter_type
action find
entity Q68120
relation P190
type Q486972
['Q68120', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q486972 . resource:Q68120 property:P190 ?b }
Frauenfeld
action filter_type
action find
entity Frauenfeld
relation sister city
type human settlement
['Frauenfeld', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:human_settlement . resource:Frauenfeld property:sister_city ?b }
[]
human settlement
Q486341
SYSTEM
Kufstein
Q486341
(Q68120,P190,c(Q486972))
action filter_type
action find
entity Q68120
relation P190
type Q486972
[ANSWER] is partner town of that capital
['Q68120', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q486972 . resource:Q68120 property:P190 ?b }
Kufstein
Kufstein is partner town of that capital
Kufstein
action filter_type
action find
entity Frauenfeld
relation sister city
type human settlement
['Frauenfeld', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:human_settlement . resource:Frauenfeld property:sister_city ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q501470
P1376
Q914262 Q486972
USER
Which administrative territory of Swedens have approximately the same number of human settlements have their first city as Töreboda Municipality ?
(c(Q486972),P1376,c(Q914262))
action approx
action find_reverse_tuple_counts
relation P1376
type Q914262
type Q486972
action count
action filter_type
action find
entity Q501470
relation P1376
type Q914262
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q486972 . ?z rdf:type ontology:Q914262 . ?w property:P1376 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q501470 property:P1376 ?f . ?f rdf:type ontology:Q914262 } } . FILTER ( ?b = ?j ) }
Töreboda Municipality
action approx
action find_reverse_tuple_counts
relation capital of
type administrative territorial entity of Sweden
type human settlement
action count
action filter_type
action find
entity Töreboda Municipality
relation capital of
type administrative territorial entity of Sweden
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:human_settlement . ?z rdf:type ontology:administrative_territorial_entity_of_Sweden . ?w property:capital_of ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Töreboda_Municipality property:capital_of ?f . ?f rdf:type ontology:administrative_territorial_entity_of_Sweden } } . FILTER ( ?b = ?j ) }
[]
administrative territorial entity of Sweden human settlement
Q509568 Q503361 Q487648
SYSTEM
Enköping Municipality, Malmö Municipality, Helsingborg Municipality
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 approx
action find_reverse_tuple_counts
relation P1376
type Q914262
type Q486972
action count
action filter_type
action find
entity Q501470
relation P1376
type Q914262
[ANSWERS] have approximately the same number of human settlements have their first city as Töreboda Municipality
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q486972 . ?z rdf:type ontology:Q914262 . ?w property:P1376 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q501470 property:P1376 ?f . ?f rdf:type ontology:Q914262 } } . FILTER ( ?b = ?j ) }
Ö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
Enköping Municipality, Malmö Municipality and Helsingborg Municipality have approximately the same number of human settlements have their first city as Töreboda Municipality
Enköping Municipality Malmö Municipality Helsingborg Municipality
action approx
action find_reverse_tuple_counts
relation capital of
type administrative territorial entity of Sweden
type human settlement
action count
action filter_type
action find
entity Töreboda Municipality
relation capital of
type administrative territorial entity of Sweden
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:human_settlement . ?z rdf:type ontology:administrative_territorial_entity_of_Sweden . ?w property:capital_of ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Töreboda_Municipality property:capital_of ?f . ?f rdf:type ontology:administrative_territorial_entity_of_Sweden } } . FILTER ( ?b = ?j ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1376
Q914262 Q486972
USER
How many administrative territory of Swedens have around the same number of human settlements as their capital as that administrative territory of Sweden ?
(c(Q486972),P1376,c(Q914262))
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1376 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q914262 }
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:capital_of ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden human settlement
Comparative|Count over More/Less|Single entity type|Clarification
Q487648
SYSTEM
Did you mean Helsingborg Municipality ?
(c(Q486972),P1376,c(Q914262))
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1376 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q914262 }
Did you mean Helsingborg Municipality ?
Helsingborg Municipality
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:capital_of ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Enköping Municipality. Could you tell me the answer for that?
(c(Q486972),P1376,c(Q914262))
Q509568
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
[]
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))
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q914262'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1376 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q914262 }
Ö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
[{'concept': 'human settlement'}, 'capital of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:capital_of ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q68120
P17
Q15617994
USER
Which administrative territory is Frauenfeld present in ?
(Q68120,P17,c(Q15617994))
action filter_type
action find
entity Q68120
relation P17
type Q15617994
['Q68120', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q68120 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Frauenfeld
action filter_type
action find
entity Frauenfeld
relation country
type designation for an administrative territorial entity
['Frauenfeld', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Frauenfeld property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q68120,P17,c(Q15617994))
action filter_type
action find
entity Q68120
relation P17
type Q15617994
Which administrative territory is Frauenfeld present in
['Q68120', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q68120 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Switzerland
Which administrative territory is Frauenfeld present in
Switzerland
action filter_type
action find
entity Frauenfeld
relation country
type designation for an administrative territorial entity
['Frauenfeld', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Frauenfeld property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68120
P47
Q13220204
USER
Which administrative country subdivisions are bordered by that capital ?
(Q39,P47,c(Q13220204))
action filter_type
action find
entity Q68120
relation P47
type Q13220204
['Q39', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q68120 property:P47 ?w . ?w rdf:type ontology:Q13220204 }
Frauenfeld
action filter_type
action find
entity Frauenfeld
relation shares border with
type second-level administrative country subdivision
['Switzerland', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Frauenfeld property:shares_border_with ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q64994 Q64847
SYSTEM
Matzingen, Thundorf
Q64994 Q64847
(Q39,P47,c(Q13220204))
action filter_type
action find
entity Q68120
relation P47
type Q13220204
[ANSWERS] are bordered by that capital
['Q39', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q68120 property:P47 ?w . ?w rdf:type ontology:Q13220204 }
Matzingen Thundorf
Matzingen and Thundorf are bordered by that capital
Matzingen Thundorf
action filter_type
action find
entity Frauenfeld
relation shares border with
type second-level administrative country subdivision
['Switzerland', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Frauenfeld property:shares_border_with ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64994 Q64847
P17
Q15617994
USER
Which administrative territories do Matzingen and Thundorf belong to ?
(Q64994,P17,c(Q15617994)) (Q64847,P17,c(Q15617994))
action union
action filter_type
action find
entity Q64994
relation P17
type Q15617994
action filter_type
action find
entity Q64847
relation P17
type Q15617994
['Q64994', 'P17', {'concept': 'Q15617994'}] ['Q64847', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q64994 property:P17 ?c . ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q15617994 . resource:Q64847 property:P17 ?c } }
Matzingen Thundorf
action union
action filter_type
action find
entity Matzingen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Thundorf
relation country
type designation for an administrative territorial entity
['Matzingen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thundorf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Matzingen property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Thundorf property:country ?c } }
[]
designation for an administrative territorial entity
Q39 Q39
SYSTEM
Switzerland
Q39 Q39
(Q64994,P17,c(Q15617994)) (Q64847,P17,c(Q15617994))
action union
action filter_type
action find
entity Q64994
relation P17
type Q15617994
action filter_type
action find
entity Q64847
relation P17
type Q15617994
Matzingen and Thundorf belong to the [ANSWER] and [ANSWER]
['Q64994', 'P17', {'concept': 'Q15617994'}] ['Q64847', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q64994 property:P17 ?c . ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q15617994 . resource:Q64847 property:P17 ?c } }
Switzerland Switzerland
Matzingen and Thundorf belong to the Switzerland and Switzerland
Switzerland Switzerland
action union
action filter_type
action find
entity Matzingen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Thundorf
relation country
type designation for an administrative territorial entity
['Matzingen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thundorf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Matzingen property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Thundorf property:country ?c } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P915
Q838948
USER
Which works of art were filmed in the location that administrative territory ?
(c(Q838948),P915,Q39) (c(Q838948),P915,Q39)
action filter_type
action find_reverse
entity Q39
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q39'] [{'concept': 'Q838948'}, 'P915', 'Q39']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P915 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Switzerland'] [{'concept': 'work of art'}, 'filming location', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:filming_location resource:Switzerland }
[]
work of art
Q105624 Q106571 Q223596
SYSTEM
The Bourne Identity, From Russia with Love, X-Men: First Class
Q17363277 Q1492988 Q243643 Q556967 Q320423 Q4166243 Q4166240 Q602522 Q2625085 Q1138798 Q402181 Q849343 Q105624 Q3204650 Q18713033 Q1631476 Q4427861 Q1058226 Q3536737 Q819538 Q16652614 Q3227855 Q3429157 Q621735 Q1124617 Q1196505 Q106571 Q1466178 Q510595 Q3506682 Q519910 Q675205 Q15627707 Q223596 Q15856702 Q833180 Q679483 Q12978455 Q1254088 Q1474376 Q892039 Q1902247 Q14948561 Q706586 Q18703892 Q332368 Q689005 Q504101 Q2299632 Q474093 Q14775069 Q2306760 Q747346 Q17041761 Q21869882 Q19089 Q1121918 Q1131556 Q107894 Q1594295 Q687040 Q4666737 Q6439145 Q604083 Q3220979 Q15140361 Q550558 Q3020975 Q3143107 Q2826737 Q1571956 Q5177219 Q2753655 Q392806 Q2901995 Q7372082 Q870091 Q42051 Q1757766 Q1892129 Q566308 Q3208257 Q106440 Q630132 Q12140204 Q13424245 Q2430612 Q72321 Q392834 Q952142 Q16928500 Q110397 Q455508 Q1058934 Q17019453 Q637021
(c(Q838948),P915,Q39) (c(Q838948),P915,Q39)
action filter_type
action find_reverse
entity Q39
relation P915
type Q838948
[ANSWERS] were filmed in the location that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q39'] [{'concept': 'Q838948'}, 'P915', 'Q39']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P915 resource:Q39 }
Kvadrat Gambling, Gods and LSD Sherlock Holmes: A Game of Shadows Chaplin The Spy Who Loved Me Baadshah Greeku Veerudu The Eiger Sanction Five Days One Summer That Obscure Object of Desire F/X Dilwale Dulhania Le Jayenge The Bourne Identity The Other Love Hunter's Prayer Leo Sonnyboy Sunstroke The Consequences of Love Gemini Heart of Glass The Price of Fame Third Man on the Mountain Sillunu Oru Kaadhal North Face Condorman End of the Game From Russia with Love Universal Soldier: Regeneration Secret Agent Switzerland Eva Cargo Brahman X-Men: First Class Attention – A Life in Extremes Frankenstein Azzurro Sivandha Mann After Earth Phenomena Bon Appétit Marmorera Dhoom 3 The Cassandra Crossing Youth A View to a Kill Frontier(s) The Razor's Edge Touching the Void The Girl with the Dragon Tattoo Clouds of Sils Maria Opera Winged Migration Particle Fever The Flame GoldenEye Duplicate The Pink Panther On Her Majesty's Secret Service Heidi Syriana Abendland Krrish 3 The Informant! The Mushroom Porobashinee The Muppets Decay Humains Agent Vinod Sangam Night Train to Lisbon Silver Bears Where Eagles Dare Bienvenue en Suisse Rowing with the Wind Sister Star Wars: Episode III – Revenge of the Sith La Soif de l'or If It's Tuesday, This Must Be Belgium It Happened in Broad Daylight Downhill Racer Goldfinger Women in Love Love Is the Perfect Crime A Five Star Life Thérèse Étienne Merci pour le chocolat Secret Agents Three Colors: Red United Passions True Lies Heidi Tender Is the Night Our Kind of Traitor The Golden Compass
The Bourne Identity, From Russia with Love and X-Men: First Class were filmed in the location that administrative territory
The Bourne Identity From Russia with Love X-Men: First Class
action filter_type
action find_reverse
entity Switzerland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Switzerland'] [{'concept': 'work of art'}, 'filming location', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:filming_location resource:Switzerland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q39
P495
Q16889133 Q215380
USER
How many classes and bands originated in Switzerland ?
(c(Q16889133),P495,Q39) (c(Q215380),P495,Q39)
action count
action union
action filter_type
action find_reverse
entity Q39
relation P495
type Q16889133
action filter_type
action find_reverse
entity Q39
relation P495
type Q215380
[{'concept': 'Q16889133'}, 'P495', 'Q39'] [{'concept': 'Q215380'}, 'P495', 'Q39']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:Q16889133 ) ( ontology:Q215380 ) } }
Switzerland
action count
action union
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type class
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type band
[{'concept': 'class'}, 'country of origin', 'Switzerland'] [{'concept': 'band'}, 'country of origin', 'Switzerland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:class ) ( ontology:band ) } }
[]
class band
SYSTEM
1 classes and 2 bands
Q23825838 Q1335361 Q4048777
(c(Q16889133),P495,Q39) (c(Q215380),P495,Q39)
action count
action union
action filter_type
action find_reverse
entity Q39
relation P495
type Q16889133
action filter_type
action find_reverse
entity Q39
relation P495
type Q215380
[ANSWER]
[{'concept': 'Q16889133'}, 'P495', 'Q39'] [{'concept': 'Q215380'}, 'P495', 'Q39']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:Q16889133 ) ( ontology:Q215380 ) } }
Orchestre Tout Puissant Marcel Duchamp Emerald SIG SG 516
1 classes and 2 bands
action count
action union
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type class
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type band
[{'concept': 'class'}, 'country of origin', 'Switzerland'] [{'concept': 'band'}, 'country of origin', 'Switzerland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ?w . VALUES ( ?w ) { ( ontology:class ) ( ontology:band ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q39
P463
Q484652
USER
How many international organizations were Switzerland a member of ?
(Q39,P463,c(Q484652))
action count
action filter_type
action find
entity Q39
relation P463
type Q484652
['Q39', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Q39 property:P463 ?p . ?p rdf:type ontology:Q484652 }
Switzerland
action count
action filter_type
action find
entity Switzerland
relation member of
type international organization
['Switzerland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Switzerland property:member_of ?p . ?p rdf:type ontology:international_organization }
[]
international organization
SYSTEM
6
Q81299 Q1065 Q188822 Q166546 Q1043527 Q42262
(Q39,P463,c(Q484652))
action count
action filter_type
action find
entity Q39
relation P463
type Q484652
[ANSWER]
['Q39', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Q39 property:P463 ?p . ?p rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank European Free Trade Association Multilateral Investment Guarantee Agency European Space Agency
6
action count
action filter_type
action find
entity Switzerland
relation member of
type international organization
['Switzerland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Switzerland property:member_of ?p . ?p rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1008
Q484652
USER
And how about Côte d'Ivoire?
(Q1008,P463,c(Q484652))
action count
action filter_type
action find
entity Q1008
relation P463
type Q484652
['Q1008', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1008 property:P463 ?o . ?o rdf:type ontology:Q484652 }
Côte d'Ivoire
action count
action filter_type
action find
entity Côte d'Ivoire
relation member of
type international organization
["Côte d'Ivoire", 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Côte_d'Ivoire property:member_of ?o . ?o rdf:type ontology:international_organization }
[]
international organization
SYSTEM
3
(Q1008,P463,c(Q484652))
action count
action filter_type
action find
entity Q1008
relation P463
type Q484652
[ANSWER]
['Q1008', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1008 property:P463 ?o . ?o rdf:type ontology:Q484652 }
3
action count
action filter_type
action find
entity Côte d'Ivoire
relation member of
type international organization
["Côte d'Ivoire", 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Côte_d'Ivoire property:member_of ?o . ?o rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q105624
P915
Q34442 Q56061
USER
How many roads or administrative territories were The Bourne Identity filmed ?
(Q105624,P915,c(Q34442)) (Q105624,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q105624
relation P915
type Q34442
action filter_type
action find
entity Q105624
relation P915
type Q56061
['Q105624', 'P915', {'concept': 'Q34442'}] ['Q105624', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:Q34442 ) ( ontology:Q56061 ) } . ?f rdf:type ?b }
The Bourne Identity
action count
action union
action filter_type
action find
entity The Bourne Identity
relation filming location
type road
action filter_type
action find
entity The Bourne Identity
relation filming location
type administrative territorial entity
['The Bourne Identity', 'filming location', {'concept': 'road'}] ['The Bourne Identity', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:road ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?b }
[]
road administrative territorial entity
SYSTEM
5
Q72 Q90 Q3496877 Q1085 Q220
(Q105624,P915,c(Q34442)) (Q105624,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q105624
relation P915
type Q34442
action filter_type
action find
entity Q105624
relation P915
type Q56061
[ANSWER]
['Q105624', 'P915', {'concept': 'Q34442'}] ['Q105624', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:Q34442 ) ( ontology:Q56061 ) } . ?f rdf:type ?b }
Zürich Paris voie Georges-Pompidou Prague Rome
5
action count
action union
action filter_type
action find
entity The Bourne Identity
relation filming location
type road
action filter_type
action find
entity The Bourne Identity
relation filming location
type administrative territorial entity
['The Bourne Identity', 'filming location', {'concept': 'road'}] ['The Bourne Identity', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:road ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q29999 Q39
P27
Q502895
USER
Which people are a citizen of Switzerland and Kingdom of the Netherlands ?
AND((c(Q502895),P27,Q39), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q39
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q39'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q29999 . ?p property:P27 resource:Q39 . ?p rdf:type ontology:Q502895 }
Kingdom of the Netherlands Switzerland
action filter_type
action intersection
action find_reverse
entity Switzerland
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Switzerland'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?p property:country_of_citizenship resource:Switzerland . ?p rdf:type ontology:common_name }
[]
common name
Q3441593 Q679059 Q2582698 Q4069467 Q124404 Q2221144
SYSTEM
Ronan Hubert, Law Adam, Wim Malgo, Josef Adolph von Arx, Johann Büttikofer, Sandra Wöhe
Q3441593 Q679059 Q2582698 Q4069467 Q124404 Q2221144
AND((c(Q502895),P27,Q39), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q39
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
[ANSWERS] are a citizen of Switzerland and Kingdom of the Netherlands
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q39'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q29999 . ?p property:P27 resource:Q39 . ?p rdf:type ontology:Q502895 }
Ronan Hubert Law Adam Wim Malgo Josef Adolph von Arx Johann Büttikofer Sandra Wöhe
Ronan Hubert, Law Adam, Wim Malgo, Josef Adolph von Arx, Johann Büttikofer and Sandra Wöhe are a citizen of Switzerland and Kingdom of the Netherlands
Ronan Hubert Law Adam Wim Malgo Josef Adolph von Arx Johann Büttikofer Sandra Wöhe
action filter_type
action intersection
action find_reverse
entity Switzerland
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Switzerland'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?p property:country_of_citizenship resource:Switzerland . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q192350 Q17335294
USER
Which administrative territories come under the jurisdiction of around 2 ministries or coats of arms ?
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 2
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q17335294 . ?v property:P1001 ?r } UNION { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q192350 . ?v property:P1001 ?r } } GROUP BY ?r } . FILTER ( ?s = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 2
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:flag_or_coat_of_arms . ?v property:applies_to_jurisdiction ?r } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:ministry . ?v property:applies_to_jurisdiction ?r } } GROUP BY ?r } . FILTER ( ?s = 2 ) }
[]
designation for an administrative territorial entity ministry flag or coat of arms
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q705 Q801 Q707 Q419 Q414 Q142 Q262 Q148 Q189 Q31 Q37 Q837 Q213 Q403 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q958 Q739 Q1965 Q813 Q218 Q33 Q924 Q36 Q928 Q38 Q29999 Q854 Q819 Q424 Q769680 Q230 Q232 Q1093 Q20 Q28 Q2667658 Q843 Q1101 Q1904 Q227 Q225 Q224 Q222 Q96 Q17 Q1989 Q1033 Q1030 Q191 Q962 Q694 Q115 Q117 Q752 Q211 Q217 Q219 Q917 Q1008 Q1438 Q836 Q79 Q858 Q775 Q948 Q776 Q770 Q773 Q772 Q1014 Q129003 Q33788 Q1267638 Q869
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 2
[ANSWERS] come under the jurisdiction of around 2 ministries or coats of arms
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q17335294 . ?v property:P1001 ?r } UNION { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q192350 . ?v property:P1001 ?r } } GROUP BY ?r } . FILTER ( ?s = 2 ) }
North Holland Zeeland Israel Flevoland Peru Argentina France Algeria People's Republic of China Iceland Belgium Lithuania Nepal Czech Republic Serbia Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Sudan Colombia New Brunswick Kyrgyzstan Romania Finland Tanzania Poland Philippines Italy Kingdom of the Netherlands Sri Lanka Laos Cambodia Bornholm Georgia Kazakhstan Limburg Norway Hungary Shushary, Saint Petersburg Pakistan North Brabant Ontario Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Japan Saskatchewan Nigeria Namibia Estonia Benin South Holland Ethiopia Ghana Groningen Latvia Republic of Moldova Bulgaria Bhutan Côte d'Ivoire Campania Myanmar Egypt Syria Gelderland Tunisia Utrecht Friesland Overijssel Drenthe Liberia French Southern and Antarctic Lands New Caledonia Beloostrov Thailand
Italy, Brazil and Georgia come under the jurisdiction of around 2 ministries or coats of arms
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 2
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:flag_or_coat_of_arms . ?v property:applies_to_jurisdiction ?r } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:ministry . ?v property:applies_to_jurisdiction ?r } } GROUP BY ?r } . FILTER ( ?s = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2054961 Q487648
P19
Q502895
USER
Which people were born at Helsingborg Municipality or Partille ?
OR((c(Q502895),P19,Q487648), (c(Q502895),P19,Q2054961))
action filter_type
action union
action find_reverse
entity Q487648
relation P19
action find_reverse
entity Q2054961
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q487648'], [{'concept': 'Q502895'}, 'P19', 'Q2054961']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P19 resource:Q487648 } UNION { ?s property:P19 resource:Q2054961 } } . ?s rdf:type ontology:Q502895 }
Partille Helsingborg Municipality
action filter_type
action union
action find_reverse
entity Helsingborg Municipality
relation place of birth
action find_reverse
entity Partille
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Helsingborg Municipality'], [{'concept': 'common name'}, 'place of birth', 'Partille']]}
SELECT DISTINCT ?s WHERE { { { ?s property:place_of_birth resource:Helsingborg_Municipality } UNION { ?s property:place_of_birth resource:Partille } } . ?s rdf:type ontology:common_name }
[]
common name
Q52951 Q1739035 Q178282 Q2533208 Q3540867 Q5448508 Q4352389 Q536681 Q17351645 Q4973281
SYSTEM
Some of them are Arvid Posse, Kent Tønnesen, Thorsten Svensson, Eva Bergman, Maria Arnholm, Filip Prpic, Magnus Wassén, Stefan Lövgren, Elsa Collin, Mia Poppe
Q2533208 Q5448508 Q4973281 Q52951 Q4352389 Q15727678 Q178282 Q3540867 Q1739035 Q17351645 Q1796162 Q536681
OR((c(Q502895),P19,Q487648), (c(Q502895),P19,Q2054961))
action filter_type
action union
action find_reverse
entity Q487648
relation P19
action find_reverse
entity Q2054961
relation P19
type Q502895
[ANSWERS] were born at Helsingborg Municipality or Partille
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q487648'], [{'concept': 'Q502895'}, 'P19', 'Q2054961']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P19 resource:Q487648 } UNION { ?s property:P19 resource:Q2054961 } } . ?s rdf:type ontology:Q502895 }
Eva Bergman Filip Prpic Mia Poppe Arvid Posse Magnus Wassén Simon Sandberg Thorsten Svensson Maria Arnholm Kent Tønnesen Elsa Collin Patrik Fahlgren Stefan Lövgren
Arvid Posse, Kent Tønnesen, Thorsten Svensson, Eva Bergman, Maria Arnholm, Filip Prpic, Magnus Wassén, Stefan Lövgren, Elsa Collin and Mia Poppe were born at Helsingborg Municipality or Partille
Arvid Posse Kent Tønnesen Thorsten Svensson Eva Bergman Maria Arnholm Filip Prpic Magnus Wassén Stefan Lövgren Elsa Collin Mia Poppe
action filter_type
action union
action find_reverse
entity Helsingborg Municipality
relation place of birth
action find_reverse
entity Partille
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Helsingborg Municipality'], [{'concept': 'common name'}, 'place of birth', 'Partille']]}
SELECT DISTINCT ?s WHERE { { { ?s property:place_of_birth resource:Helsingborg_Municipality } UNION { ?s property:place_of_birth resource:Partille } } . ?s rdf:type ontology:common_name }
[]