Simple Question (Direct)
Simple Question
Q105960
P26
Q502895
USER
Which people are the spouses of William Powell ?
(Q105960,P26,c(Q502895))
action filter_type
action find
entity Q105960
relation P26
type Q502895
['Q105960', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q105960 property:P26 ?a . ?a rdf:type ontology:Q502895 }
William Powell
action filter_type
action find
entity William Powell
relation spouse
type common name
['William Powell', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:William_Powell property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q207739 Q2881575
SYSTEM
Carole Lombard, Diana Lewis
Q207739 Q2881575
(Q105960,P26,c(Q502895))
action filter_type
action find
entity Q105960
relation P26
type Q502895
[ANSWERS] are the spouses of William Powell
['Q105960', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q105960 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Carole Lombard Diana Lewis
Carole Lombard and Diana Lewis are the spouses of William Powell
Carole Lombard Diana Lewis
action filter_type
action find
entity William Powell
relation spouse
type common name
['William Powell', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:William_Powell property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q207739 Q2881575
P19
Q56061
USER
Which administrative territories were Carole Lombard and Diana Lewis born at ?
(Q207739,P19,c(Q56061)) (Q2881575,P19,c(Q56061))
action union
action filter_type
action find
entity Q207739
relation P19
type Q56061
action filter_type
action find
entity Q2881575
relation P19
type Q56061
['Q207739', 'P19', {'concept': 'Q56061'}] ['Q2881575', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { resource:Q207739 property:P19 ?z . ?z rdf:type ontology:Q56061 } UNION { resource:Q2881575 property:P19 ?z . ?z rdf:type ontology:Q56061 } }
Carole Lombard Diana Lewis
action union
action filter_type
action find
entity Carole Lombard
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Diana Lewis
relation place of birth
type administrative territorial entity
['Carole Lombard', 'place of birth', {'concept': 'administrative territorial entity'}] ['Diana Lewis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Carole_Lombard property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity } UNION { resource:Diana_Lewis property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q49268 Q201127
SYSTEM
Fort Wayne, Asbury Park
Q49268 Q201127
(Q207739,P19,c(Q56061)) (Q2881575,P19,c(Q56061))
action union
action filter_type
action find
entity Q207739
relation P19
type Q56061
action filter_type
action find
entity Q2881575
relation P19
type Q56061
Carole Lombard and Diana Lewis were born in [ANSWERS]
['Q207739', 'P19', {'concept': 'Q56061'}] ['Q2881575', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { resource:Q207739 property:P19 ?z . ?z rdf:type ontology:Q56061 } UNION { resource:Q2881575 property:P19 ?z . ?z rdf:type ontology:Q56061 } }
Fort Wayne Asbury Park
Carole Lombard and Diana Lewis were born in Fort Wayne and Asbury Park
Fort Wayne Asbury Park
action union
action filter_type
action find
entity Carole Lombard
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Diana Lewis
relation place of birth
type administrative territorial entity
['Carole Lombard', 'place of birth', {'concept': 'administrative territorial entity'}] ['Diana Lewis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Carole_Lombard property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity } UNION { resource:Diana_Lewis property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49268
P190
Q515
USER
Which cities are sister towns of that administrative territory ?
(Q49268,P190,c(Q515))
action filter_type
action find
entity Q49268
relation P190
type Q515
['Q49268', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q49268 property:P190 ?e . ?e rdf:type ontology:Q515 }
Fort Wayne
action filter_type
action find
entity Fort Wayne
relation sister city
type city
['Fort Wayne', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Fort_Wayne property:sister_city ?e . ?e rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q201127
SYSTEM
Did you mean Asbury Park ?
Q49268 Q201127
(Q49268,P190,c(Q515)) (Q201127,P190,c(Q515))
[ANSWER]
['Q49268', 'P190', {'concept': 'Q515'}] ['Q201127', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q49268 property:P190 ?e . ?e rdf:type ontology:Q515 }
Fort Wayne Asbury Park
Did you mean Asbury Park ?
Asbury Park
['Fort Wayne', 'sister city', {'concept': 'city'}] ['Asbury Park', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Fort_Wayne property:sister_city ?e . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
No, I meant Fort Wayne. Could you tell me the answer for that?
(Q49268,P190,c(Q515))
Q49268
['Q49268', 'P190', {'concept': 'Q515'}]
['Fort Wayne', 'sister city', {'concept': 'city'}]
[]
Q502988 Q58273 Q3750
SYSTEM
Takaoka, Taizhou, Gera
Q502988 Q58273 Q3750
(Q49268,P190,c(Q515))
action filter_type
action find
entity Q49268
relation P190
type Q515
[ANSWERS] are sister towns of that administrative territory
['Q49268', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q49268 property:P190 ?e . ?e rdf:type ontology:Q515 }
Takaoka Taizhou Gera
Takaoka, Taizhou and Gera are sister towns of that administrative territory
Takaoka Taizhou Gera
action filter_type
action find
entity Fort Wayne
relation sister city
type city
['Fort Wayne', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Fort_Wayne property:sister_city ?e . ?e rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q13220204
USER
Which administrative country subdivisions are partner town of around 3 cities ?
(c(Q13220204),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 3
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?x property:P190 ?u . ?u rdf:type ontology:Q515 . ?x rdf:type ontology:Q13220204 } GROUP BY ?x } . FILTER ( ?k = 3 ) }
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?x property:sister_city ?u . ?u rdf:type ontology:city . ?x rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?x } . FILTER ( ?k = 3 ) }
[]
city second-level administrative country subdivision
Q9772 Q7903 Q2841
SYSTEM
Meerssen, Casablanca, Bogotá
Q7903 Q9772 Q156711 Q2841
(c(Q13220204),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 3
[ANSWERS] are partner town of around 3 cities
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?x property:P190 ?u . ?u rdf:type ontology:Q515 . ?x rdf:type ontology:Q13220204 } GROUP BY ?x } . FILTER ( ?k = 3 ) }
Casablanca Meerssen Uzhhorod Bogotá
Meerssen, Casablanca and Bogotá are partner town of around 3 cities
Meerssen Casablanca Bogotá
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?x property:sister_city ?u . ?u rdf:type ontology:city . ?x rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?x } . FILTER ( ?k = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7274772 Q49268
P17
Q15617994
USER
Which administrative territories are Fort Wayne or R47 road present in ?
OR((Q49268,P17,c(Q15617994)), (Q7274772,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49268
relation P17
action find
entity Q7274772
relation P17
type Q15617994
{'OR': [['Q49268', 'P17', {'concept': 'Q15617994'}], ['Q7274772', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q49268 property:P17 ?i } UNION { resource:Q7274772 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
R47 road Fort Wayne
action filter_type
action union
action find
entity Fort Wayne
relation country
action find
entity R47 road
relation country
type designation for an administrative territorial entity
{'OR': [['Fort Wayne', 'country', {'concept': 'designation for an administrative territorial entity'}], ['R47 road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Fort_Wayne property:country ?i } UNION { resource:R47_road property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q258
SYSTEM
United States of America, South Africa
Q30 Q258
OR((Q49268,P17,c(Q15617994)), (Q7274772,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49268
relation P17
action find
entity Q7274772
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q49268', 'P17', {'concept': 'Q15617994'}], ['Q7274772', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q49268 property:P17 ?i } UNION { resource:Q7274772 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
United States of America South Africa
Which administrative territories are Fort Wayne or R47 road present in
United States of America South Africa
action filter_type
action union
action find
entity Fort Wayne
relation country
action find
entity R47 road
relation country
type designation for an administrative territorial entity
{'OR': [['Fort Wayne', 'country', {'concept': 'designation for an administrative territorial entity'}], ['R47 road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Fort_Wayne property:country ?i } UNION { resource:R47_road property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q242
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of administrative territories as Belize ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q242 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?u ) WHERE { ?w property:P530 ?c . ?w rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?w } }
Belize
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belize
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Belize property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?u ) WHERE { ?w property:diplomatic_relation ?c . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q242 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?u ) WHERE { ?w property:P530 ?c . ?w rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?w } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belize
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Belize property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?u ) WHERE { ?w property:diplomatic_relation ?c . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242
P1001
Q1292279
USER
Which political borders have jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q242
relation P1001
type Q1292279
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q242 . ?f rdf:type ontology:Q1292279 }
Belize
action filter_type
action find_reverse
entity Belize
relation applies to jurisdiction
type political border
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Belize . ?f rdf:type ontology:political_border }
[]
political border
Q3089009 Q3089000 Q17351721
SYSTEM
Belize–Mexico border, Belize–Guatemala border, Belize–Honduras border
Q3089009 Q3089000 Q17351721
action filter_type
action find_reverse
entity Q242
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over that administrative territory
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q242 . ?f rdf:type ontology:Q1292279 }
Belize–Mexico border Belize–Guatemala border Belize–Honduras border
Belize–Mexico border, Belize–Guatemala border and Belize–Honduras border have jurisdiction over that administrative territory
Belize–Mexico border Belize–Guatemala border Belize–Honduras border
action filter_type
action find_reverse
entity Belize
relation applies to jurisdiction
type political border
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Belize . ?f rdf:type ontology:political_border }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3089009 Q3089000 Q17351721
P17
Q15617994
USER
Which administrative territories do Belize–Mexico border, Belize–Guatemala border and Belize–Honduras border belong to ?
(Q3089009,P17,c(Q15617994)) (Q3089000,P17,c(Q15617994)) (Q17351721,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3089009
relation P17
type Q15617994
action filter_type
action find
entity Q3089000
relation P17
type Q15617994
action filter_type
action find
entity Q17351721
relation P17
type Q15617994
['Q3089009', 'P17', {'concept': 'Q15617994'}] ['Q3089000', 'P17', {'concept': 'Q15617994'}] ['Q17351721', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q3089009 property:P17 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q3089000 property:P17 ?q . ?q rdf:type ontology:Q15617994 } }
Belize–Mexico border Belize–Guatemala border Belize–Honduras border
action union
action filter_type
action find
entity Belize–Mexico border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belize–Guatemala border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belize–Honduras border
relation country
type designation for an administrative territorial entity
['Belize–Mexico border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belize–Guatemala border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belize–Honduras border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Belize–Mexico_border property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belize–Guatemala_border property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q96 Q242 Q242
SYSTEM
Mexico for 1st, Belize for 2nd, 3rd
Q96 Q242 Q774 Q242 Q783 Q242
(Q3089009,P17,c(Q15617994)) (Q3089000,P17,c(Q15617994)) (Q17351721,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3089009
relation P17
type Q15617994
action filter_type
action find
entity Q3089000
relation P17
type Q15617994
action filter_type
action find
entity Q17351721
relation P17
type Q15617994
[ANSWERS]
['Q3089009', 'P17', {'concept': 'Q15617994'}] ['Q3089000', 'P17', {'concept': 'Q15617994'}] ['Q17351721', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q3089009 property:P17 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q3089000 property:P17 ?q . ?q rdf:type ontology:Q15617994 } }
Mexico Belize Guatemala Belize Honduras Belize
Mexico, Belize and Belize Belize–Mexico border, Belize–Guatemala border and Belize–Honduras border belong to
Mexico Belize Belize
action union
action filter_type
action find
entity Belize–Mexico border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belize–Guatemala border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belize–Honduras border
relation country
type designation for an administrative territorial entity
['Belize–Mexico border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belize–Guatemala border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belize–Honduras border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Belize–Mexico_border property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belize–Guatemala_border property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2841
P137
Q811979
USER
Which architectural structure is the administrator of Bogotá ?
(c(Q811979),P137,Q2841)
action filter_type
action find_reverse
entity Q2841
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q2841']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q2841 . ?b rdf:type ontology:Q811979 }
Bogotá
action filter_type
action find_reverse
entity Bogotá
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Bogotá']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Bogotá . ?b rdf:type ontology:architectural_structure }
[]
architectural structure
Q5400377
SYSTEM
Estadio Metropolitano de Techo
Q5400377
(c(Q811979),P137,Q2841)
action filter_type
action find_reverse
entity Q2841
relation P137
type Q811979
[ANSWER] is the administrator of Bogotá
[{'concept': 'Q811979'}, 'P137', 'Q2841']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q2841 . ?b rdf:type ontology:Q811979 }
Estadio Metropolitano de Techo
Estadio Metropolitano de Techo is the administrator of Bogotá
Estadio Metropolitano de Techo
action filter_type
action find_reverse
entity Bogotá
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Bogotá']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Bogotá . ?b rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2841
P291
Q1002697
USER
Which periodical literatures were published in that administrative country subdivision ?
(c(Q1002697),P291,Q5400377)
action filter_type
action find_reverse
entity Q2841
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q5400377']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q2841 . ?i rdf:type ontology:Q1002697 }
Bogotá
action filter_type
action find_reverse
entity Bogotá
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Estadio Metropolitano de Techo']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Bogotá . ?i rdf:type ontology:periodical_literature }
[]
periodical literature
Q26388651 Q6145755 Q1324151
SYSTEM
Senderos, Theologica Xaveriana, El Espectador
Q26388651 Q6145755 Q1324151
(c(Q1002697),P291,Q5400377)
action filter_type
action find_reverse
entity Q2841
relation P291
type Q1002697
[ANSWERS] were published in that administrative country subdivision
[{'concept': 'Q1002697'}, 'P291', 'Q5400377']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q2841 . ?i rdf:type ontology:Q1002697 }
Senderos Theologica Xaveriana El Espectador
Senderos, Theologica Xaveriana and El Espectador were published in that administrative country subdivision
Senderos Theologica Xaveriana El Espectador
action filter_type
action find_reverse
entity Bogotá
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Estadio Metropolitano de Techo']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Bogotá . ?i rdf:type ontology:periodical_literature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P291
Q56061 Q1002697
USER
Which administrative territories were min number of periodical literatures issued ?
(c(Q1002697),P291,Q1085)
action argmin
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q1085']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P291 ?n . ?n rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1002697 } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P291 ?g . ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1002697 } GROUP BY ?g } . FILTER ( ?s = ?e ) }
action argmin
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Prague']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:periodical_literature } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:periodical_literature } GROUP BY ?g } . FILTER ( ?s = ?e ) }
[]
administrative territorial entity periodical literature
Q72 Q8678 Q216
SYSTEM
Zürich, Rio de Janeiro, Vilnius
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q3711 Q130191 Q393 Q80670 Q25286 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q151920 Q13375 Q36378 Q4093 Q2560090 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q1289 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15684 Q170497 Q41876 Q1754 Q749 Q39561 Q2132 Q1930 Q3846 Q81046 Q597 Q22889 Q12892 Q365 Q6157 Q1718 Q43631 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q186237 Q180233 Q14328 Q5083 Q1524 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q6346 Q887 Q5465 Q2141 Q1679567 Q2814 Q2280 Q3141 Q671288 Q72 Q1490 Q1191195 Q102217 Q237 Q334 Q16554 Q16555 Q16557 Q621 Q994 Q1513 Q192517 Q1296 Q1297 Q3033 Q936183 Q170263 Q35381 Q1748 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q1931927 Q49241 Q172157 Q33935 Q16567 Q134620 Q437 Q13580 Q18419 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q26421 Q429676 Q672545 Q634054 Q37995 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q3584 Q49179 Q735583 Q1724 Q1729 Q3519 Q65 Q2028 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q1867 Q12439 Q269 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q8385 Q493794 Q6106 Q2391194 Q72259 Q1295 Q19785 Q647 Q727 Q669171 Q206988 Q3012 Q24826 Q15695 Q28848 Q128306 Q15088 Q997170 Q203263 Q580 Q193180 Q585 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q2066 Q100 Q156990 Q3834 Q81137 Q955640 Q281839 Q485172 Q487786 Q172 Q216 Q350 Q720627 Q13972 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159
(c(Q1002697),P291,Q1085)
action argmin
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
[ANSWERS] were min number of periodical literatures issued
[{'concept': 'Q1002697'}, 'P291', 'Q1085']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P291 ?n . ?n rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1002697 } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P291 ?g . ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1002697 } GROUP BY ?g } . FILTER ( ?s = ?e ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Belgrade Norwich Szczecin Mühlacker Uppsala Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Tiberias Pisa Fribourg Glasgow Athol Crumlin Salt Lake City Nice New Delhi Swansea Bonn Grenoble Cardiff Gävle Haarlem Ávila Soria Nampula Segovia Gloucester Reims Stockholm Groningen Burbank Victoria Ottawa Minden Charleroi Lisbon Bath Antwerp Cologne Seinäjoki Düsseldorf Leiden Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Joensuu Pori Santa Cruz de Tenerife Seattle Athens Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Indianapolis Yekaterinburg Cape Town Halifax Jakobstad Halle (Saale) Minsk Melbourne Bend Zürich Tokyo Mold Vitebsk Vatican City Singapore Denver Houston Dallas Versailles Tbilisi Nagpur Boulder Ghent Chicago Göttingen Tonbridge Chester Colombo Copenhagen Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Bracon Ash Lexington Winchester Tel Aviv Columbus Jyväskylä Ljubljana Metro Manila Brooklyn Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Dordrecht Sereď Barmouth Conwy Yangon Livorno Concord Messina Białystok Königstein im Taunus Naples Nový Jičín Worcester Ylivieska Saarbrücken Erfurt Bari Los Angeles Verona San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Taipei Detroit Tashkent Prostějov Tangier Chennai Chepstow Durham Little Rock Ostrava Dubuque Portland Saint-Idesbald Portsmouth Dortmund Harpenden Rennes Amsterdam Newtown Cheltenham Ulm Liverpool Salamanca Saint Paul Denton Tarragona Waterville Athens Łódź Kajaani Oslo Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Essen Boston Monmouth Konstanz Olomouc Glasgow Englewood Cliffs, New Jersey Ann Arbor Orihuela Toronto Vilnius Cambridge Kanhangad Tartu Galway Greenwich Kolkata Canterbury Spangenberg Bletchley
Zürich, Rio de Janeiro and Vilnius were min number of periodical literatures issued
Zürich Rio de Janeiro Vilnius
action argmin
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Prague']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:periodical_literature } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:periodical_literature } GROUP BY ?g } . FILTER ( ?s = ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q14524493 Q15617994 Q13220204
USER
Which administrative country subdivisions come from min number of terrains or administrative territories ?
(c(Q13220204),P138,c(Q14524493)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P138
type Q13220204
type Q14524493
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q14524493 ) } . ?o rdf:type ?r } GROUP BY ?h } . FILTER ( ?x = ?e ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { { ?g rdf:type ontology:Q13220204 . ?z rdf:type ontology:Q14524493 . ?g property:P138 ?z } UNION { ?g property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q13220204 } } GROUP BY ?g } } }
action argmin
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type terrain
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'terrain'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:terrain ) } . ?o rdf:type ?r } GROUP BY ?h } . FILTER ( ?x = ?e ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { { ?g rdf:type ontology:second-level_administrative_country_subdivision . ?z rdf:type ontology:terrain . ?g property:named_after ?z } UNION { ?g property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } } }
[]
terrain designation for an administrative territorial entity second-level administrative country subdivision
Q210234 Q2114866 Q322986
SYSTEM
Zuidhorn, De Fryske Marren, Delfzijl
Q840460 Q1019611 Q1318857 Q1230035 Q476289 Q976859 Q1229800 Q1375771 Q475431 Q1972315 Q3539151 Q1229758 Q1856341 Q775090 Q1375853 Q1375878 Q476616 Q476771 Q476444 Q1095 Q476127 Q475237 Q892064 Q2000198 Q475919 Q1375868 Q1375755 Q1019432 Q806453 Q2634089 Q7653734 Q475574 Q1019598 Q863961 Q976848 Q475787 Q835096 Q1032245 Q1114927 Q840457 Q475792 Q2496758 Q768756 Q3539256 Q1468138 Q1318822 Q476211 Q3539414 Q1025079 Q1059262 Q475366 Q2343545 Q2621725 Q1362109 Q476982 Q706857 Q476980 Q322986 Q476391 Q1979895 Q1375762 Q60453 Q1207391 Q3539495 Q1229906 Q806448 Q1229881 Q432438 Q2183668 Q2140086 Q891962 Q475737 Q999094 Q806446 Q1944288 Q204642 Q73074 Q475550 Q3321614 Q476744 Q475797 Q976873 Q475558 Q835083 Q476188 Q1032238 Q1920922 Q476772 Q3539648 Q1229734 Q1972732 Q1032233 Q638697 Q219591 Q2443862 Q476264 Q3536082 Q475322 Q638592 Q475932 Q1814172 Q6459 Q1770737 Q1686835 Q2152309 Q2227543 Q534226 Q3321631 Q1113 Q1375819 Q73065 Q1118 Q1229919 Q1114977 Q475396 Q476473 Q3539572 Q66360 Q2234599 Q4221652 Q73069 Q476648 Q164474 Q1114 Q1318806 Q793916 Q1375812 Q1116 Q476570 Q1375780 Q3539730 Q475949 Q546634 Q1229797 Q69262 Q1375789 Q210234 Q1014499 Q1114868 Q476970 Q206519 Q1375835 Q476605 Q1947322 Q166993 Q10078 Q841525 Q1375850 Q604966 Q136498 Q849574 Q3537661 Q1375859 Q11939 Q1318815 Q995091 Q113560 Q1229921 Q1028215 Q581822 Q878851 Q837093 Q1362085 Q3539116 Q892526 Q1364824 Q1318865 Q100130 Q605986 Q1091337 Q1229793 Q1740651 Q1996903 Q1290829 Q1229798 Q2114866 Q1186535 Q300665 Q1375825 Q225618 Q1972329 Q10045 Q2536628 Q161144 Q1375843 Q1229930 Q683658 Q983748 Q475503 Q476933 Q1019626 Q2261414 Q500162 Q926417 Q1229869 Q7123 Q1525422 Q976883 Q1947893 Q1985961 Q1318833 Q475772 Q1365449 Q1001823 Q198666 Q182269 Q14523654 Q255972 Q66515 Q208011 Q328087 Q3321599 Q1114885 Q66453 Q1318887 Q69048 Q107135 Q750772 Q476798 Q1019651 Q1124909 Q3536116 Q476730 Q1318877 Q475512 Q534203 Q571198 Q1318872 Q2044762 Q1347872 Q68823 Q1186541 Q67536 Q475978 Q1321140 Q589047 Q3539602 Q1155047 Q861873 Q166236 Q867219 Q475871 Q819700 Q1122 Q1091595 Q1151066 Q835118 Q1947944 Q341024 Q1151062 Q1019417 Q289419 Q10026 Q475422 Q1114954 Q580538 Q1114938 Q1318843 Q953123 Q14641 Q1114903 Q1025969 Q4504255 Q476600 Q1230005 Q9766 Q1362129 Q3539277 Q778989 Q475889 Q932077 Q475663 Q1362587 Q1403340 Q475101 Q461142 Q476231 Q629038 Q2024239 Q3536053 Q850211 Q1990080 Q1019420 Q574558 Q1125 Q2311189 Q1127 Q1129 Q1019428 Q166990 Q257040 Q3526470 Q1364817
(c(Q13220204),P138,c(Q14524493)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P138
type Q13220204
type Q14524493
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
[ANSWERS] come from min number of terrains or administrative territories
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q14524493 ) } . ?o rdf:type ?r } GROUP BY ?h } . FILTER ( ?x = ?e ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { { ?g rdf:type ontology:Q13220204 . ?z rdf:type ontology:Q14524493 . ?g property:P138 ?z } UNION { ?g property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q13220204 } } GROUP BY ?g } } }
Vlagtwedde Suan Luang Koboko District Pader District Nong Ya Plong Nakasongola District Busia District Amuru District Chum Ta Bong Samphanthawong Kole District Arua District Oostburg Plandište Nakapiripirit District Lyantonde District Samrong Srinagarindra Phra Samut Chedi Limburg Na Haeo Bang Pla Ma Kiboga District Nestos Mae Ai Bukwo District Butaleja District Khan Na Yao Bang Phlat Sikyona Swanson County Kaeng Krachan Chom Thong Binnenmaas Wakiso District Ko Kut Leek Kanungu District Serere District Tynaarlo Ko Pha-ngan Khrestivka Chordeleg Canton Kyegegwa District Leoncio Prado Province Amolatar District Noen Kham Mitooma District Winsum Blantyre District Menameradiel Babadaýhan District Polesia Voblast Mpigi District Wachirabarami Bakhmut Vibhavadi Delfzijl Phaya Mengrai Aristotelis Amuria District Coevorden Kayunga District Napak District Kaberamaido District Bang Na Kaabong District Nakaseke District Moyo District Reiderland Mubende District Khon San Lat Phrao Bang Kho Laem Daniel Alcides Carrión Province Ntungamo District Stadskanaal Huai Thap Than Kalungu District Sirindhorn Ko Lanta Rakai District Kabang Noordenveld Nam Pat Masindi District Mariscal Ramón Castilla Province Su-ngai Kolok Rubirizi District Adjumani District Thung Khru Masaka District Belisario Boeto Province Vatutine Echteld Nong Mamong Alebtong District Chai Buri Krāslava Mae Fa Luang Grau Province Kautokeino Albufeira Municipality Yenakiieve Frunzyenski District Pavlos Melas Bang Bon Buikwe District West Flanders Namutumba District Veendam Flemish Brabant Kasese District Luuka District Chiang Muan Phu Kradueng Nwoya District Büren an der Aare Holibivka Kirov Krai Hoogezand-Sappemeer Sap Yai Kamuli District East Flanders Kamwenge District Kara-Buura District Bukedea District Antwerp Rong Kham Abim District Zombo District Mae Poen Nea Smyrni Bushenyi District Noordoostpolder Manafwa District Zuidhorn Sevilla de Oro Canton Bulambuli District Ubolratana Lira District Sironko District Sam Roi Yot Aizawl district Khlong Hoi Khong Reimerswaal Marum Moroto District Kibaale District Fuerte Olimpo Loppersum Buhweju District Kaliro District Stein am Rhein Kyenjojo District Aleksandrovac Din Daeng Kapchorwa District Gulu District Mbale District Sokuluk District Kadiivka Budaka District Kiryandongo District Groningen Mayuge District Kiruhura District Vaishali district Grootegast Soroti District Buliisa District Khlong Sam Wa Olympos Ko Chang Bugiri District De Fryske Marren Hoima District Aa en Hunze Nebbi District Bang Khae Thawi Watthana IJsselstein Harlingen Alchevsk Pallisa District Katakwi District Franekeradeel Jinja District Galyani Vadhana Thung Chang Prawet Evrotas Kitgum District Kampala District Iganga District Sursee Filadelfia Sembabule District General Sánchez Cerro Province Kormista Oyam District Khwao Sinarin Bududa District Bueng Kum Bang Klam Bernisse Ko Samui Eemsmond Augst Schiermonnikoog Dronten Bukomansimbi District Kibuku District St. Ursen Isingiro District Kaiseraugst Fredrikstad Ferwerderadiel Tak Fa Yan Nawa Graafstroom Amudat District Sida Ibanda District Hankha Kyankwanzi District Kollumerland c.a. Dokolo District Lyeninski District Oldambt Troistorrents Tororo District Wangen an der Aare Mae Wong Varanasi district Jorge Basadre Province Otuke District Jerusalén Bilyayivka Bang Sue Kalangala District Lam Plai Mat Bergh Walloon Brabant Mbarara District Mukono District Borger-Odoorn Mariscal Cáceres Province Achtkarspelen Kumi District Watthana Rukungiri District Zwartewaterland Chulabhorn Lwengo District Kisoro District Buyende District Kotido District Jerusalén Emmen Ngora District Sai Mai Pedro Moncayo Canton Sam Ngam Mityana District Eijsden-Margraten Bundibugyo District Lamwo District Leeuwarderadeel Lan Sak Pekela Khao Phanom Yumbe District Khlong Toei Ban Haet Bedum Non Sila Cuenca Canton Kirawsk District Agago District Slochteren Camilo Ponce Enríquez Canton Saphan Sung Heerenveen Namur Leeuwarden Liège Hainaut Wang Thonglang Na Mom Bua Lai Kabale District Luwero District
Zuidhorn, De Fryske Marren and Delfzijl come from min number of terrains or administrative territories
Zuidhorn De Fryske Marren Delfzijl
action argmin
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type terrain
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'terrain'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:terrain ) } . ?o rdf:type ?r } GROUP BY ?h } . FILTER ( ?x = ?e ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { { ?g rdf:type ontology:second-level_administrative_country_subdivision . ?z rdf:type ontology:terrain . ?g property:named_after ?z } UNION { ?g property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?g } } }
[]