Simple Question (Direct)
Simple Question
Q255148
P47
Q13220204
USER
Which administrative country subdivisions are adjacent to Gjesdal ?
(Q255148,P47,c(Q13220204))
action filter_type
action find
entity Q255148
relation P47
type Q13220204
['Q255148', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q255148 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Gjesdal
action filter_type
action find
entity Gjesdal
relation shares border with
type second-level administrative country subdivision
['Gjesdal', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Gjesdal property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q281835 Q27587 Q493308
SYSTEM
Sirdal, Sandnes, Bjerkreim
Q27587 Q493308 Q493981 Q281835 Q484309
(Q255148,P47,c(Q13220204))
action filter_type
action find
entity Q255148
relation P47
type Q13220204
[ANSWERS] are adjacent to Gjesdal
['Q255148', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q255148 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Sandnes Bjerkreim Time Sirdal Forsand
Sirdal, Sandnes and Bjerkreim are adjacent to Gjesdal
Sirdal Sandnes Bjerkreim
action filter_type
action find
entity Gjesdal
relation shares border with
type second-level administrative country subdivision
['Gjesdal', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Gjesdal property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q281835 Q27587 Q493308
P47
Q13220204
USER
Which administrative country subdivisions share border with those ones ?
(c(Q13220204),P47,Q281835) (c(Q13220204),P47,Q27587) (c(Q13220204),P47,Q493308)
action filter_type
action find
entity prev_answer
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q281835'] [{'concept': 'Q13220204'}, 'P47', 'Q27587'] [{'concept': 'Q13220204'}, 'P47', 'Q493308']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13220204 . ?x property:P47 ?c . VALUES ( ?x ) { ( resource:Q27587 ) ( resource:Q493308 ) ( resource:Q493981 ) } }
Sirdal Sandnes Bjerkreim
action filter_type
action find
entity prev_answer
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Sirdal'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Sandnes'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Bjerkreim']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:second-level_administrative_country_subdivision . ?x property:shares_border_with ?c . VALUES ( ?x ) { ( resource:Sandnes ) ( resource:Bjerkreim ) ( resource:Time ) } }
[]
second-level administrative country subdivision
Q281835 Q88804 Q88806
SYSTEM
Sirdal, Bygland, Bykle
Q90598 Q483877 Q484309 Q493481 Q255148 Q488747 Q515536 Q88804 Q88806 Q493308 Q500223 Q493981 Q484309 Q255148 Q488948 Q493981 Q483877 Q485608 Q255148 Q281835
(c(Q13220204),P47,Q281835) (c(Q13220204),P47,Q27587) (c(Q13220204),P47,Q493308)
action filter_type
action find
entity prev_answer
relation P47
type Q13220204
[ANSWERS] share border with those ones
[{'concept': 'Q13220204'}, 'P47', 'Q281835'] [{'concept': 'Q13220204'}, 'P47', 'Q27587'] [{'concept': 'Q13220204'}, 'P47', 'Q493308']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13220204 . ?x property:P47 ?c . VALUES ( ?x ) { ( resource:Q27587 ) ( resource:Q493308 ) ( resource:Q493981 ) } }
Valle Eigersund Forsand Flekkefjord Gjesdal Kvinesdal Lund Bygland Bykle Bjerkreim Klepp Time Forsand Gjesdal Sola Time Eigersund Hå Gjesdal Sirdal
Sirdal, Bygland and Bykle share border with those ones
Sirdal Bygland Bykle
action filter_type
action find
entity prev_answer
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Sirdal'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Sandnes'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Bjerkreim']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:second-level_administrative_country_subdivision . ?x property:shares_border_with ?c . VALUES ( ?x ) { ( resource:Sandnes ) ( resource:Bjerkreim ) ( resource:Time ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27587
P17
Q15617994
USER
Which administrative territory is Sandnes a part of ?
(Q27587,P17,c(Q15617994))
action filter_type
action find
entity Q27587
relation P17
type Q15617994
['Q27587', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q27587 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Sandnes
action filter_type
action find
entity Sandnes
relation country
type designation for an administrative territorial entity
['Sandnes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sandnes property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q27587,P17,c(Q15617994))
action filter_type
action find
entity Q27587
relation P17
type Q15617994
Which administrative territory is Sandnes a part of
['Q27587', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q27587 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Norway
Which administrative territory is Sandnes a part of
Norway
action filter_type
action find
entity Sandnes
relation country
type designation for an administrative territorial entity
['Sandnes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sandnes property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27587
P740
Q2088357
USER
Which musical ensemble was formed at that administrative country subdivision ?
(c(Q2088357),P740,Q20)
action filter_type
action find_reverse
entity Q27587
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q20']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q27587 . ?r rdf:type ontology:Q2088357 }
Sandnes
action filter_type
action find_reverse
entity Sandnes
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Sandnes . ?r rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q160111
SYSTEM
Carpathian Forest
Q160111
(c(Q2088357),P740,Q20)
action filter_type
action find_reverse
entity Q27587
relation P740
type Q2088357
[ANSWER] was formed at that administrative country subdivision
[{'concept': 'Q2088357'}, 'P740', 'Q20']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q27587 . ?r rdf:type ontology:Q2088357 }
Carpathian Forest
Carpathian Forest was formed at that administrative country subdivision
Carpathian Forest
action filter_type
action find_reverse
entity Sandnes
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Sandnes . ?r rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19860531 Q27587
P47 P19
Q56061
USER
Which administrative territories share border with Sandnes or were Wouter Coenraetsz. de Wolf born ?
OR((Q27587,P47,c(Q56061)), (Q19860531,P19,c(Q56061)))
action filter_type
action union
action find
entity Q27587
relation P47
action find
entity Q19860531
relation P19
type Q56061
{'OR': [['Q27587', 'P47', {'concept': 'Q56061'}], ['Q19860531', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q19860531 property:P19 ?z } UNION { resource:Q27587 property:P47 ?z } } . ?z rdf:type ontology:Q56061 }
Wouter Coenraetsz. de Wolf Sandnes
action filter_type
action union
action find
entity Sandnes
relation shares border with
action find
entity Wouter Coenraetsz. de Wolf
relation place of birth
type administrative territorial entity
{'OR': [['Sandnes', 'shares border with', {'concept': 'administrative territorial entity'}], ['Wouter Coenraetsz. de Wolf', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Wouter_Coenraetsz._de_Wolf property:place_of_birth ?z } UNION { resource:Sandnes property:shares_border_with ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25416 Q803
SYSTEM
Stavanger, Utrecht
Q25416 Q803
OR((Q27587,P47,c(Q56061)), (Q19860531,P19,c(Q56061)))
action filter_type
action union
action find
entity Q27587
relation P47
action find
entity Q19860531
relation P19
type Q56061
[ANSWERS] share border with Sandnes or were Wouter Coenraetsz. de Wolf born
{'OR': [['Q27587', 'P47', {'concept': 'Q56061'}], ['Q19860531', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q19860531 property:P19 ?z } UNION { resource:Q27587 property:P47 ?z } } . ?z rdf:type ontology:Q56061 }
Stavanger Utrecht
Stavanger and Utrecht share border with Sandnes or were Wouter Coenraetsz. de Wolf born
Stavanger Utrecht
action filter_type
action union
action find
entity Sandnes
relation shares border with
action find
entity Wouter Coenraetsz. de Wolf
relation place of birth
type administrative territorial entity
{'OR': [['Sandnes', 'shares border with', {'concept': 'administrative territorial entity'}], ['Wouter Coenraetsz. de Wolf', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Wouter_Coenraetsz._de_Wolf property:place_of_birth ?z } UNION { resource:Sandnes property:shares_border_with ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q932155
P190
Q13220204 Q20667921 Q515
USER
How many administrative country subdivisions are the sister cities of lesser number of french administrative divisions and cities than Heumen ?
(c(Q20667921)|c(Q515),P190,c(Q13220204))
action count
action less
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q20667921
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q932155
relation P190
type Q20667921
type Q515
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P190 resource:Q932155 . { VALUES ( ?g ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?n rdf:type ?g } } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?h rdf:type ?z } GROUP BY ?a } }
Heumen
action count
action less
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type type of french administrative division
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Heumen
relation sister city
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:sister_city resource:Heumen . { VALUES ( ?g ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?n rdf:type ?g } } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?h rdf:type ?z } GROUP BY ?a } }
[]
second-level administrative country subdivision type of french administrative division city
SYSTEM
501
Q622819 Q67040 Q67286 Q64224 Q68129 Q193677 Q10082 Q57917 Q57914 Q64210 Q7123 Q69235 Q193965 Q255972 Q7124 Q2372 Q668869 Q840457 Q57076 Q67348 Q3827305 Q70369 Q69726 Q69729 Q13209 Q966804 Q10016 Q160584 Q183029 Q68889 Q729447 Q146497 Q3621436 Q866611 Q65620 Q69099 Q56915 Q68906 Q64567 Q70643 Q161144 Q55180 Q638592 Q109483 Q130048 Q133280 Q64961 Q69203 Q615491 Q69590 Q498256 Q1021676 Q54925 Q1023951 Q64668 Q1719466 Q64665 Q56869 Q65797 Q9928 Q66831 Q9880 Q66562 Q3947412 Q565290 Q70221 Q110268 Q68003 Q64183 Q158904 Q18473 Q69274 Q492115 Q14566 Q209016 Q9819 Q9952 Q9810 Q69374 Q67382 Q927703 Q161984 Q147739 Q67544 Q249715 Q691992 Q66381 Q493308 Q1002565 Q208012 Q990448 Q1003757 Q36077 Q69612 Q990365 Q67496 Q67499 Q65510 Q14570 Q64077 Q9777 Q70603 Q65195 Q291780 Q69754 Q69757 Q67809 Q68986 Q10020 Q10024 Q1190659 Q488779 Q450625 Q68220 Q1010094 Q72981 Q68959 Q39383 Q420333 Q70513 Q48668 Q108999 Q484111 Q584694 Q157144 Q69724 Q488975 Q925340 Q685990 Q1011435 Q995055 Q156719 Q9857 Q68315 Q5128 Q68311 Q113740 Q67724 Q625157 Q68244 Q252205 Q104379 Q68031 Q1019053 Q500227 Q843899 Q66050 Q66056 Q157440 Q69570 Q565726 Q986107 Q952457 Q47062 Q484243 Q64156 Q200133 Q565312 Q156760 Q600871 Q320015 Q636935 Q317943 Q51111 Q33292 Q1532373 Q1770737 Q486696 Q5262 Q63905 Q200459 Q156125 Q64908 Q281835 Q65497 Q68165 Q10071 Q10073 Q60453 Q659665 Q136498 Q995091 Q507065 Q281137 Q1542478 Q70424 Q1639488 Q68762 Q1647 Q9796 Q67159 Q565287 Q2201876 Q684630 Q64727 Q971700 Q238396 Q64058 Q64482 Q65978 Q985455 Q69417 Q591719 Q43595 Q1893077 Q1010468 Q63939 Q1010463 Q48696 Q252098 Q67530 Q980728 Q68665 Q483902 Q33342 Q52193 Q110311 Q291333 Q7143 Q69819 Q14641 Q69747 Q69745 Q69629 Q217802 Q938739 Q484057 Q69621 Q484052 Q483877 Q7132 Q1011275 Q483871 Q461142 Q108025 Q721567 Q70295 Q70293 Q52261 Q70204 Q1000404 Q111039 Q10035 Q65981 Q1574897 Q66132 Q133230 Q3853441 Q488747 Q63986 Q70467 Q9999 Q235190 Q64541 Q108988 Q214913 Q156809 Q732986 Q15582 Q15583 Q66617 Q69967 Q335135 Q758578 Q109005 Q54449 Q493851 Q64099 Q554313 Q501518 Q648489 Q1000865 Q1442335 Q68363 Q66814 Q9093 Q951897 Q493988 Q9905 Q67100 Q70635 Q997796 Q538953 Q917535 Q68026 Q66042 Q490462 Q57871 Q65802 Q1135341 Q64461 Q65808 Q69259 Q9835 Q9833 Q73065 Q9850 Q67367 Q27892 Q70308 Q48529 Q110848 Q69706 Q1813743 Q69704 Q9873 Q68319 Q10052 Q9866 Q1525701 Q158923 Q236744 Q856293 Q64504 Q108031 Q1003164 Q69675 Q2326 Q988413 Q57081 Q57083 Q48827 Q48732 Q69172 Q2590698 Q488229 Q15340 Q493315 Q70304 Q64865 Q10045 Q337497 Q66523 Q157055 Q64219 Q919617 Q66146 Q157053 Q2933 Q107396 Q744259 Q222755 Q691725 Q68471 Q9780 Q2680952 Q107351 Q1149128 Q485297 Q65512 Q67055 Q62266 Q156734 Q113595 Q156739 Q109042 Q9970 Q67705 Q69058 Q9872 Q889530 Q109048 Q9978 Q9876 Q9875 Q110431 Q9856 Q67137 Q997421 Q161961 Q652130 Q54062 Q1011303 Q486726 Q7131 Q249906 Q7133 Q65421 Q140671 Q48701 Q323774 Q1241374 Q62641 Q69734 Q613989 Q10001 Q10002 Q10003 Q745038 Q70671 Q65107 Q986059 Q3348885 Q939948 Q66457 Q732548 Q69085 Q65732 Q2152317 Q322986 Q6535 Q67798 Q405252 Q623736 Q66604 Q54939 Q70232 Q840632 Q793424 Q493481 Q9932 Q109494 Q723246 Q66511 Q66518 Q411723 Q109140 Q66890 Q66672 Q67278 Q216430 Q64178 Q564759 Q57868 Q69512 Q57864 Q204905 Q14571 Q57860 Q9803 Q9802 Q952183 Q9806 Q1442359 Q9809 Q90597 Q90595 Q2241 Q14592 Q2245 Q243766 Q538407 Q67006 Q70260 Q69426 Q65158 Q43048 Q69429 Q67486 Q486677 Q104095 Q109469 Q88806 Q64920 Q3617 Q33544 Q146524 Q484074 Q26581 Q68395 Q71727 Q33682 Q208259 Q65073 Q157725 Q4686 Q2091726 Q107582 Q473529 Q66256 Q66846 Q36160 Q485253 Q609028 Q146453 Q69690 Q69693 Q69697 Q109021 Q934753 Q500284 Q750594 Q69498 Q826511 Q65506 Q990385 Q532572 Q488962 Q69945 Q65508 Q849574 Q1126256 Q504580 Q66017 Q1003551 Q156704 Q64334 Q217394 Q574558 Q69180 Q1533546
(c(Q20667921)|c(Q515),P190,c(Q13220204))
action count
action less
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q20667921
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q932155
relation P190
type Q20667921
type Q515
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P190 resource:Q932155 . { VALUES ( ?g ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?n rdf:type ?g } } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?h rdf:type ?z } GROUP BY ?a } }
Portalegre, Portugal Naters Braggio Opfikon Olten Angra do Heroísmo Tholen Ullensaker Sørum Spreitenbach Sursee Cham Kamianets-Podilskyi Eemsmond Ruswil Kragerø Epesses Tynaarlo Bærum Gansingen Las Vueltas Fehraltorf Langenthal Rapperswil-Jona Nidau Aleksinac Oldenzaal Sievierodonetsk Sande Vouvry Dobele Berehove Arcatao Commune of Bisoro Tuggen Trimmis Aurskog-Høland Bagnes Buochs Mörel-Filet Alchevsk Zaragoza Province Krāslava Kristiansund Røst Środa Wielkopolska County Felsberg Erlenbach Heerde Leuk Bauska Trigono Guadalajara Province Salcedo, Hermanas Mirabal Reigoldswil Panevėžys Birsfelden Asker Sirnach Heemstede Bettlach Werkendam Tübach San José Las Flores, Chalatenango Vila Franca do Campo Le Mont-sur-Lausanne Nedre Eiker Claro Küssnacht Korosten Zuchwil Lichtensteig Randaberg Ebikon Santa Marta Boxmeer Opmeer Asten Wallisellen Bellmund Santa Fe de Antioquia Fastiv Izmail Malleray Olaine Grocka Kiesen Bjerkreim Madalena Hoogeveen Seixal Municipality Khartsyzk Hạ Long Sevelen Ponte de Sor Municipality Blatten Herzogenbuchsee Bonstetten Horw Wil Venlo Avegno Gordevio Suhr Ísafjarðarbær Volketswil Prilly Landiswil St. Moritz Rijssen-Holten Twenterand Vaasa sub-region Tynset Alytus Oftringen Ipiales Wijchen Thalwil Bodø Aknīste Val Müstair Spydeberg Røros Averøy Stara Pazova Vinnytsia Oberwil Lærdal Kaniv Guaduas Svitlovodsk Velika Plana Kamianske Oisterwijk Heiden Woerden Burgdorf Eidsberg Vex Estremoz Wohlen Árborg Vadsø Heitenried Lajes do Pico Vennesla Rheden Menzingen Wittenbach Truskavets Rolle Povoação Alcanena Municipality Nizhyn Fernando de la Mora Bjugn Arbon Chalkida Ribeira Grande Nikopol Overbetuwe San Juan de Pasto Tukums Nowa Sól County Pereira Berdiansk Zaltbommel Albufeira Municipality Rygge Riehen Kreuzlingen Póvoa de Varzim Larvik Mutten Sirdal Hausen bei Brugg Kloten Borsele Hulst Coevorden Salacgrīva Fuerte Olimpo Aleksandrovac Smallingerland Bratsch Grand-Popo Saint-Blaise Sosúa Mont-sur-Rolle Rijeka Kerkrade Kerns São João da Madeira Presidente Franco District Bač, Serbia Allschwil Stari Grad, Belgrade Epe Köniz Rothrist Dulliken Egaleo Zweisimmen Novovolynsk Cotonou Bassila Velas Baden Santa Cruz da Graciosa Fauske New Belgrade Bettingen Domburg Muntelier Karmøy Bila Tserkva Kolomyia Øvre Eiker Alūksne Schenkon Dürrenroth Emmen Reinach Renens Lohn Stjørdal San Lorenzo Hol Binningen Bamble Eigersund Buttisholz Knjaževac Holmestrand Bedum Sarpsborg Quillota Province Schöfflisdorf Merzligen Bex Le Landeron Pryluky Namsos De Bilt Krauchthal Ambalema Erlenbach im Simmental Piła County Meanguera, Morazán Kvinesdal Zofingen Vaumarcus Dinkelland Manizales Obersiggenthal Kongsberg Leticia Novyi Rozdil Salaspils Brig Brig-Glis Frick Wangen bei Olten Popayán Auce Sandefjord Vellerat Tysfjord Brugg Racibórz County Gran Loznica Vlist Manzanares Laufen Schwerzenbach Bülach Chiquinquirá Malvik Beverwijk Lachen Glarus Nord Pamplona La Vega Loures Embd Hilterfingen Farsund Skedsmo Hüttlingen Kętrzyn County Neuenhof Buchberg Pontresina Geldrop-Mierlo Etten-Leur Veendam Loon op Zand Niederried bei Kallnach Neringa Municipality Cortaillod Trysil Ringerike Brissago Voždovac Münchwilen Valkenswaard Bergün Vianen Sint-Michielsgestel Tenjo Stryi Tunja Novi Kneževac Auenstein Gjøvik Vila do Porto Zollikofen Notodden Puerto Plata Enebakk Frogn Sør-Varanger Meråker Hallau Pantelej Rendalen Hyderabad district Bardu Saas-Balen Bischofszell IJsselstein Čajetina Füllinsdorf Cherkasy Würenlingen Brus Brenzikofen Chernihiv Asunción Leikanger Ludza Ibagué Renkum Binn Stein Rotterdam Hammerfest Krosno County Sauda Oberembrach Massagno Ålesund Oleksandriia, Kirovohrad Oblast Oppdal Rivne Halden Velsen Schmitten Wittnau Uden Chornomorsk Horten Zaanstad Vught Veldhoven Steinkjer Oirschot Elgg Vasylkiv Myrhorod Reykjanesbær Ås Obukhiv Sigdal Nottwil Águeda Municipality Grosswangen Lostorf Ostroh Svelvik Valka Moca Nordkapp Bassersdorf Duiven Deventer Enschede Haaksbergen Waalwijk Romainmôtier-Envy Stierva Copargo Sintra Municipality Putten Rafz Lagos Samedan Sigriswil Kastrychnitski District Delfzijl Alta Plaffeien Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Valencia Province Les Bois Opsterland Berezhany Flekkefjord Heiloo Odda Santa Tecla, El Salvador Olsberg Oberflachs Aizpute Elverum Rüthi Breitenbach Mühleberg Levanger Maienfeld Lagoa Oppegård Lyss Nesodden Eleusis Kriens Lørenskog Brunssum Echt-Susteren Rijnwoude Beek Palermo Alphen-Chaam Tvedestrand Risør Tokke Ettiswil Vinje Bucaramanga Montemor-o-Novo Municipality Lohn-Ammannsegg Féchy Gadmen Stetten Rhodes Lengnau Eggerberg Dovre Molde Askim Bykle Breil/Brigels Karlovac Volodymyr-Volynskyi Yaremche Nord-Aurdal Thái Nguyên Neerach Irpin Nam Định Ameland Brienz/Brinzauls Chernivtsi Slavonski Brod Pukhavichy District Cēsis Fjell Hünenberg Lotzwil Hội An Stord Antratsyt Kalush Ittigen Saas-Fee Lutry Moss Buga Orkdal Guarda Giubiasco Montijo Municipality Flawil Horta Mariquita, Tolima Hægebostad Müntschemier Balgach Loppersum Hajnówka County Chaves Municipality Lütschental Nejapa Kovel Berikon Barreiro Heerenveen Stetten Norðurþing
501
action count
action less
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type type of french administrative division
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Heumen
relation sister city
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:sister_city resource:Heumen . { VALUES ( ?g ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?n rdf:type ?g } } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?h rdf:type ?z } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q803 Q4745030
P123
Q21114848
USER
How many magazine genres produced Utrecht or American Society for Nutrition ?
(c(Q21114848),P123,Q803) (c(Q21114848),P123,Q4745030)
action count
action union
action filter_type
action find_reverse
entity Q803
relation P123
type Q21114848
action filter_type
action find_reverse
entity Q4745030
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q803'] [{'concept': 'Q21114848'}, 'P123', 'Q4745030']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P123 resource:Q803 . ?m rdf:type ontology:Q21114848 } UNION { ?m property:P123 resource:Q4745030 . ?m rdf:type ontology:Q21114848 } }
Utrecht American Society for Nutrition
action count
action union
action filter_type
action find_reverse
entity Utrecht
relation publisher
type magazine genre
action filter_type
action find_reverse
entity American Society for Nutrition
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Utrecht'] [{'concept': 'magazine genre'}, 'publisher', 'American Society for Nutrition']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:publisher resource:Utrecht . ?m rdf:type ontology:magazine_genre } UNION { ?m property:publisher resource:American_Society_for_Nutrition . ?m rdf:type ontology:magazine_genre } }
[]
magazine genre
SYSTEM
2
Q7713500 Q3186931
(c(Q21114848),P123,Q803) (c(Q21114848),P123,Q4745030)
action count
action union
action filter_type
action find_reverse
entity Q803
relation P123
type Q21114848
action filter_type
action find_reverse
entity Q4745030
relation P123
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P123', 'Q803'] [{'concept': 'Q21114848'}, 'P123', 'Q4745030']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P123 resource:Q803 . ?m rdf:type ontology:Q21114848 } UNION { ?m property:P123 resource:Q4745030 . ?m rdf:type ontology:Q21114848 } }
The American Journal of Clinical Nutrition Journal of Nutrition
2
action count
action union
action filter_type
action find_reverse
entity Utrecht
relation publisher
type magazine genre
action filter_type
action find_reverse
entity American Society for Nutrition
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Utrecht'] [{'concept': 'magazine genre'}, 'publisher', 'American Society for Nutrition']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:publisher resource:Utrecht . ?m rdf:type ontology:magazine_genre } UNION { ?m property:publisher resource:American_Society_for_Nutrition . ?m rdf:type ontology:magazine_genre } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q565312
P190
Q486972 Q15617994 Q13220204
USER
Which administrative country subdivisions are twin city of greater number of human settlements and administrative territories than Ribeira Grande ?
(c(Q13220204),P190,c(Q486972)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action count
action filter_multi_types
action find
entity Q565312
relation P190
type Q486972
type Q15617994
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q565312 property:P190 ?u . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q15617994 } } } } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?o WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } } GROUP BY ?o } }
Ribeira Grande
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ribeira Grande
relation sister city
type human settlement
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Ribeira_Grande property:sister_city ?u . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?o WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } }
[]
human settlement designation for an administrative territorial entity second-level administrative country subdivision
Q9772 Q322986 Q849574
SYSTEM
Meerssen, Delfzijl, Loppersum
Q101341 Q67040 Q68129 Q64210 Q69235 Q193965 Q7124 Q67348 Q69726 Q69729 Q13209 Q966804 Q10016 Q68889 Q729447 Q3370 Q197050 Q64567 Q161144 Q130048 Q133280 Q69203 Q615491 Q1021676 Q192119 Q64668 Q1719466 Q9928 Q68261 Q66562 Q192606 Q68003 Q64183 Q69274 Q7903 Q9810 Q63946 Q147739 Q691992 Q208012 Q990448 Q69612 Q5420 Q65510 Q204905 Q64077 Q25444 Q9772 Q9777 Q70603 Q65195 Q27494 Q68986 Q10020 Q450625 Q156743 Q157144 Q48278 Q925340 Q564813 Q995055 Q156719 Q68315 Q156711 Q5128 Q68311 Q67724 Q1663 Q66056 Q157440 Q986107 Q64156 Q200133 Q208499 Q636935 Q51111 Q189419 Q1532373 Q63905 Q156125 Q66473 Q65497 Q68956 Q60453 Q659665 Q136498 Q917313 Q744247 Q68762 Q1647 Q64051 Q238396 Q65978 Q69417 Q9942 Q980728 Q68665 Q7143 Q69819 Q7132 Q10035 Q66132 Q9999 Q9998 Q66433 Q15582 Q66617 Q69967 Q648489 Q1442335 Q68363 Q156724 Q9093 Q951897 Q9905 Q538953 Q65802 Q65808 Q101918 Q27892 Q69706 Q68297 Q64504 Q69675 Q64865 Q10047 Q157055 Q157053 Q2933 Q68471 Q65512 Q62266 Q1435 Q156739 Q67705 Q69058 Q9872 Q1722 Q1011303 Q7133 Q65421 Q10001 Q10003 Q986059 Q322986 Q405252 Q623736 Q66604 Q70232 Q9932 Q109494 Q66511 Q66518 Q66890 Q66672 Q67278 Q69512 Q14571 Q9802 Q9806 Q9809 Q14592 Q2245 Q538407 Q43048 Q189161 Q3549 Q64920 Q3617 Q71727 Q157725 Q107582 Q68946 Q36160 Q750594 Q66633 Q69945 Q65508 Q849574 Q1126256 Q68305 Q156704 Q574558
(c(Q13220204),P190,c(Q486972)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action count
action filter_multi_types
action find
entity Q565312
relation P190
type Q486972
type Q15617994
[ANSWERS] are twin city of greater number of human settlements and administrative territories than Ribeira Grande
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q565312 property:P190 ?u . { { ?u rdf:type ontology:Q486972 } UNION { ?u rdf:type ontology:Q15617994 } } } } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?o WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } } GROUP BY ?o } }
Lillehammer Naters Olten Spreitenbach Cham Kamianets-Podilskyi Ruswil Gansingen Langenthal Rapperswil-Jona Nidau Aleksinac Oldenzaal Vouvry Dobele Zadar Zevenaar Buochs Alchevsk Røst Środa Wielkopolska County Erlenbach Heerde Trigono Sisak Reigoldswil Panevėžys Heemstede Meilen Tübach Leskovac Claro Küssnacht Lichtensteig Casablanca Asten Yverdon-les-Bains Izmail Grocka Hoogeveen Seixal Municipality Sevelen Varaždin Bonstetten Eleusis Wil Funchal Meerssen Venlo Avegno Gordevio Suhr Zermatt St. Moritz Rijssen-Holten Alytus Ternopil Vinnytsia Antioquia - Medellín Kaniv Santa Maria da Feira Municipality Velika Plana Kamianske Heiden Uzhhorod Woerden Burgdorf Vex Split Wittenbach Truskavets Alcanena Municipality Arbon Chalkida Uman Tukums Pereira Zemun Zaltbommel Kreuzlingen Larvik Lengnau Hausen bei Brugg Martigny Coevorden Salacgrīva Fuerte Olimpo Vila do Conde Saldus Mont-sur-Rolle Rijeka Monthey Epe Dulliken Zweisimmen Landsmeer Domburg Muntelier Schenkon Dürrenroth Buttisholz De Bilt Erlenbach im Simmental Dinkelland Dalfsen Eiken Brig Frick Wangen bei Olten Loznica Manzanares Laufen Kremenchuk Bülach Chiquinquirá Beverwijk La Vega Hüttlingen Buchberg Apeldoorn Neringa Municipality Brissago Sierre Auenstein Zollikofen Bischofszell Lopik Cherkasy Chernihiv Asunción Binn Oberembrach Ålesund Zagreb Rivne Schmitten Wittnau Uden Dubrovnik Obukhiv Grosswangen Lostorf Deventer Haaksbergen Copargo Delfzijl Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Les Bois Heiloo Odda Olsberg Oberflachs Rüthi Breitenbach Mühleberg Lyss Kriens Echt-Susteren Beek Alphen-Chaam Ettiswil Vinje Montemor-o-Novo Municipality Rhodes Trogir Šibenik Breil/Brigels Karlovac Irpin Chernivtsi Cēsis Saint-Oyens Hội An Guarda Kilchberg Müntschemier Balgach Loppersum Hajnówka County Wetzikon Kovel Heerenveen
Meerssen, Delfzijl and Loppersum are twin city of greater number of human settlements and administrative territories than Ribeira Grande
Meerssen Delfzijl Loppersum
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ribeira Grande
relation sister city
type human settlement
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Ribeira_Grande property:sister_city ?u . { { ?u rdf:type ontology:human_settlement } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?o WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q484074
P190
Q486972 Q15617994 Q13220204
USER
And how about Nord-Aurdal?
(c(Q13220204),P190,c(Q486972)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action count
action filter_multi_types
action find
entity Q484074
relation P190
type Q486972
type Q15617994
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q484074 property:P190 ?i . { VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } . ?i rdf:type ?r } } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?s WHERE { { ?s property:P190 ?y . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q486972 } UNION { ?s property:P190 ?y . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?s } }
Nord-Aurdal
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Nord-Aurdal
relation sister city
type human settlement
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Nord-Aurdal property:sister_city ?i . { VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?i rdf:type ?r } } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?s WHERE { { ?s property:sister_city ?y . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:human_settlement } UNION { ?s property:sister_city ?y . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } }
[]
human settlement designation for an administrative territorial entity second-level administrative country subdivision
Q9772 Q322986 Q849574
SYSTEM
Meerssen, Delfzijl, Loppersum
Q101341 Q67040 Q68129 Q64210 Q69235 Q193965 Q7124 Q67348 Q69726 Q69729 Q13209 Q966804 Q10016 Q68889 Q729447 Q3370 Q197050 Q64567 Q161144 Q130048 Q133280 Q69203 Q615491 Q1021676 Q192119 Q64668 Q1719466 Q9928 Q68261 Q66562 Q192606 Q68003 Q64183 Q69274 Q7903 Q9810 Q63946 Q147739 Q691992 Q208012 Q990448 Q69612 Q5420 Q65510 Q204905 Q64077 Q25444 Q9772 Q9777 Q70603 Q65195 Q27494 Q68986 Q10020 Q450625 Q156743 Q157144 Q48278 Q925340 Q564813 Q995055 Q156719 Q68315 Q156711 Q5128 Q68311 Q67724 Q1663 Q66056 Q157440 Q986107 Q64156 Q200133 Q208499 Q636935 Q51111 Q189419 Q1532373 Q63905 Q156125 Q66473 Q65497 Q68956 Q60453 Q659665 Q136498 Q917313 Q744247 Q68762 Q1647 Q64051 Q238396 Q65978 Q69417 Q9942 Q980728 Q68665 Q7143 Q69819 Q7132 Q10035 Q66132 Q9999 Q9998 Q66433 Q15582 Q66617 Q69967 Q648489 Q1442335 Q68363 Q156724 Q9093 Q951897 Q9905 Q538953 Q65802 Q65808 Q101918 Q27892 Q69706 Q68297 Q64504 Q69675 Q64865 Q10047 Q157055 Q157053 Q2933 Q68471 Q65512 Q62266 Q1435 Q156739 Q67705 Q69058 Q9872 Q1722 Q1011303 Q7133 Q65421 Q10001 Q10003 Q986059 Q322986 Q405252 Q623736 Q66604 Q70232 Q9932 Q109494 Q66511 Q66518 Q66890 Q66672 Q67278 Q69512 Q14571 Q9802 Q9806 Q9809 Q14592 Q2245 Q538407 Q43048 Q189161 Q3549 Q64920 Q3617 Q71727 Q157725 Q107582 Q68946 Q36160 Q750594 Q66633 Q69945 Q65508 Q849574 Q1126256 Q68305 Q156704 Q574558
(c(Q13220204),P190,c(Q486972)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action count
action filter_multi_types
action find
entity Q484074
relation P190
type Q486972
type Q15617994
[ANSWERS]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q484074 property:P190 ?i . { VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } . ?i rdf:type ?r } } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?s WHERE { { ?s property:P190 ?y . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q486972 } UNION { ?s property:P190 ?y . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?s } }
Lillehammer Naters Olten Spreitenbach Cham Kamianets-Podilskyi Ruswil Gansingen Langenthal Rapperswil-Jona Nidau Aleksinac Oldenzaal Vouvry Dobele Zadar Zevenaar Buochs Alchevsk Røst Środa Wielkopolska County Erlenbach Heerde Trigono Sisak Reigoldswil Panevėžys Heemstede Meilen Tübach Leskovac Claro Küssnacht Lichtensteig Casablanca Asten Yverdon-les-Bains Izmail Grocka Hoogeveen Seixal Municipality Sevelen Varaždin Bonstetten Eleusis Wil Funchal Meerssen Venlo Avegno Gordevio Suhr Zermatt St. Moritz Rijssen-Holten Alytus Ternopil Vinnytsia Antioquia - Medellín Kaniv Santa Maria da Feira Municipality Velika Plana Kamianske Heiden Uzhhorod Woerden Burgdorf Vex Split Wittenbach Truskavets Alcanena Municipality Arbon Chalkida Uman Tukums Pereira Zemun Zaltbommel Kreuzlingen Larvik Lengnau Hausen bei Brugg Martigny Coevorden Salacgrīva Fuerte Olimpo Vila do Conde Saldus Mont-sur-Rolle Rijeka Monthey Epe Dulliken Zweisimmen Landsmeer Domburg Muntelier Schenkon Dürrenroth Buttisholz De Bilt Erlenbach im Simmental Dinkelland Dalfsen Eiken Brig Frick Wangen bei Olten Loznica Manzanares Laufen Kremenchuk Bülach Chiquinquirá Beverwijk La Vega Hüttlingen Buchberg Apeldoorn Neringa Municipality Brissago Sierre Auenstein Zollikofen Bischofszell Lopik Cherkasy Chernihiv Asunción Binn Oberembrach Ålesund Zagreb Rivne Schmitten Wittnau Uden Dubrovnik Obukhiv Grosswangen Lostorf Deventer Haaksbergen Copargo Delfzijl Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Les Bois Heiloo Odda Olsberg Oberflachs Rüthi Breitenbach Mühleberg Lyss Kriens Echt-Susteren Beek Alphen-Chaam Ettiswil Vinje Montemor-o-Novo Municipality Rhodes Trogir Šibenik Breil/Brigels Karlovac Irpin Chernivtsi Cēsis Saint-Oyens Hội An Guarda Kilchberg Müntschemier Balgach Loppersum Hajnówka County Wetzikon Kovel Heerenveen
Meerssen Delfzijl Loppersum
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Nord-Aurdal
relation sister city
type human settlement
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Nord-Aurdal property:sister_city ?i . { VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?i rdf:type ?r } } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?s WHERE { { ?s property:sister_city ?y . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:human_settlement } UNION { ?s property:sister_city ?y . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q322986
P1001
Q17335294
USER
Which coats of arms have control over the jurisdiction of that administrative country subdivision ?
(c(Q17335294),P1001,Q322986)
action filter_type
action find_reverse
entity Q322986
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q322986']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q322986 . ?a rdf:type ontology:Q17335294 }
Delfzijl
action filter_type
action find_reverse
entity Delfzijl
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Delfzijl']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Delfzijl . ?a rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Clarification for simple ques.
Q322986
SYSTEM
Did you mean Delfzijl ?
Q9772 Q322986 Q849574
(c(Q17335294),P1001,Q9772) (c(Q17335294),P1001,Q322986) (c(Q17335294),P1001,Q849574)
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q9772'] [{'concept': 'Q17335294'}, 'P1001', 'Q322986'] [{'concept': 'Q17335294'}, 'P1001', 'Q849574']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q322986 . ?a rdf:type ontology:Q17335294 }
Meerssen Delfzijl Loppersum
Did you mean Delfzijl ?
Delfzijl
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Meerssen'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Delfzijl'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Loppersum']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Delfzijl . ?a rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q17335294),P1001,Q322986)
[{'concept': 'Q17335294'}, 'P1001', 'Q322986']
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Delfzijl']
[]
Q20988129 Q20988134
SYSTEM
First coat of arms of Delfzijl, coat of arms of Delfzijl
Q20988129 Q20988134
(c(Q17335294),P1001,Q322986)
action filter_type
action find_reverse
entity Q322986
relation P1001
type Q17335294
[ANSWERS] have control over the jurisdiction of that administrative country subdivision
[{'concept': 'Q17335294'}, 'P1001', 'Q322986']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q322986 . ?a rdf:type ontology:Q17335294 }
First coat of arms of Delfzijl coat of arms of Delfzijl
First coat of arms of Delfzijl and coat of arms of Delfzijl have control over the jurisdiction of that administrative country subdivision
First coat of arms of Delfzijl coat of arms of Delfzijl
action filter_type
action find_reverse
entity Delfzijl
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Delfzijl']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Delfzijl . ?a rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20988129
P237
Q13220204
USER
Which administrative country subdivision has First coat of arms of Delfzijl as its ensign ?
(c(Q13220204),P237,Q20988129)
action filter_type
action find_reverse
entity Q20988129
relation P237
type Q13220204
[{'concept': 'Q13220204'}, 'P237', 'Q20988129']
SELECT DISTINCT ?a WHERE { ?a property:P237 resource:Q20988129 . ?a rdf:type ontology:Q13220204 }
First coat of arms of Delfzijl
action filter_type
action find_reverse
entity First coat of arms of Delfzijl
relation coat of arms
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'coat of arms', 'First coat of arms of Delfzijl']
SELECT DISTINCT ?a WHERE { ?a property:coat_of_arms resource:First_coat_of_arms_of_Delfzijl . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q322986
SYSTEM
Delfzijl
Q322986
(c(Q13220204),P237,Q20988129)
action filter_type
action find_reverse
entity Q20988129
relation P237
type Q13220204
[ANSWER] has First coat of arms of [ANSWER] as its ensign
[{'concept': 'Q13220204'}, 'P237', 'Q20988129']
SELECT DISTINCT ?a WHERE { ?a property:P237 resource:Q20988129 . ?a rdf:type ontology:Q13220204 }
Delfzijl
Delfzijl has First coat of arms of Delfzijl as its ensign
Delfzijl
action filter_type
action find_reverse
entity First coat of arms of Delfzijl
relation coat of arms
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'coat of arms', 'First coat of arms of Delfzijl']
SELECT DISTINCT ?a WHERE { ?a property:coat_of_arms resource:First_coat_of_arms_of_Delfzijl . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]