Simple Question (Direct)
Simple Question
Q5581
P19
Q56061
USER
Which administrative territory was Vittore Carpaccio born at ?
(Q5581,P19,c(Q56061))
action filter_type
action find
entity Q5581
relation P19
type Q56061
['Q5581', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q5581 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Vittore Carpaccio
action filter_type
action find
entity Vittore Carpaccio
relation place of birth
type administrative territorial entity
['Vittore Carpaccio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vittore_Carpaccio property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q5581,P19,c(Q56061))
action filter_type
action find
entity Q5581
relation P19
type Q56061
Vittore Carpaccio was born in [ANSWER]
['Q5581', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q5581 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Venice
Vittore Carpaccio was born in Venice
Venice
action filter_type
action find
entity Vittore Carpaccio
relation place of birth
type administrative territorial entity
['Vittore Carpaccio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vittore_Carpaccio property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641
P190
Q56061
USER
Which administrative territories are twin cities of that one ?
(Q641,P190,c(Q56061))
action filter_type
action find
entity Q641
relation P190
type Q56061
['Q641', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q641 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Venice
action filter_type
action find
entity Venice
relation sister city
type administrative territorial entity
['Venice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Venice property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406 Q2090 Q33959
SYSTEM
Istanbul, Nuremberg, Nice
Q546 Q33959 Q48195 Q13369 Q165972 Q182025 Q9248 Q17151 Q406 Q597 Q171882 Q1382 Q2090 Q1770 Q42053 Q33935
(Q641,P190,c(Q56061))
action filter_type
action find
entity Q641
relation P190
type Q56061
[ANSWERS] are twin cities of that one
['Q641', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q641 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Trieste Nice Basra Rimini Fort Lauderdale Aksaray Baku Thessaloniki Istanbul Lisbon Larnaca Piran Nuremberg Tallinn Isfahan Tel Aviv
Istanbul, Nuremberg and Nice are twin cities of that one
Istanbul Nuremberg Nice
action filter_type
action find
entity Venice
relation sister city
type administrative territorial entity
['Venice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Venice property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090
P6
Q502895
USER
Which people are the head of government of Nuremberg ?
(Q2090,P6,c(Q502895))
action filter_type
action find
entity Q2090
relation P6
type Q502895
['Q2090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2090 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Nuremberg
action filter_type
action find
entity Nuremberg
relation head of government
type common name
['Nuremberg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Nuremberg property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1583252 Q60909 Q501034
SYSTEM
Hans Ziegler, Otto Gessler, Andreas Urschlechter
Q1300205 Q2078253 Q1583252 Q85734 Q1712930 Q60909 Q1079907 Q2041089 Q1506689 Q1874981 Q1679020 Q1489670 Q501034 Q95923 Q2038385 Q2040739 Q1749951
(Q2090,P6,c(Q502895))
action filter_type
action find
entity Q2090
relation P6
type Q502895
[ANSWERS] are the head of government of Nuremberg
['Q2090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2090 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Maximilian von Waechter Peter Schönlein Hans Ziegler Ulrich Maly Julius Rühm Otto Gessler Christian Gottfried Lorsch Otto Ziebill Georg von Schuh Ludwig Scholz Jakob Friedrich Binder Hermann Luppe Andreas Urschlechter Willy Liebel Otto Bärnreuther Otto Stromer von Reichenbach Martin Treu
Hans Ziegler, Otto Gessler and Andreas Urschlechter are the head of government of Nuremberg
Hans Ziegler Otto Gessler Andreas Urschlechter
action filter_type
action find
entity Nuremberg
relation head of government
type common name
['Nuremberg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Nuremberg property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090
P1444
Q18608583
USER
Which recurring sporting event ends its journey at Nuremberg ?
(c(Q18608583),P1444,Q2090)
action filter_type
action find_reverse
entity Q2090
relation P1444
type Q18608583
[{'concept': 'Q18608583'}, 'P1444', 'Q2090']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q18608583 . ?u property:P1444 resource:Q2090 }
Nuremberg
action filter_type
action find_reverse
entity Nuremberg
relation destination point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'destination point', 'Nuremberg']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_sporting_event . ?u property:destination_point resource:Nuremberg }
[]
recurring sporting event
Q19911365
SYSTEM
2015 Bayern-Rundfahrt
Q19911365
(c(Q18608583),P1444,Q2090)
action filter_type
action find_reverse
entity Q2090
relation P1444
type Q18608583
[ANSWER] ends its journey at Nuremberg
[{'concept': 'Q18608583'}, 'P1444', 'Q2090']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q18608583 . ?u property:P1444 resource:Q2090 }
2015 Bayern-Rundfahrt
2015 Bayern-Rundfahrt ends its journey at Nuremberg
2015 Bayern-Rundfahrt
action filter_type
action find_reverse
entity Nuremberg
relation destination point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'destination point', 'Nuremberg']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_sporting_event . ?u property:destination_point resource:Nuremberg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19911365
P1923
Q12973014
USER
Which sports teams took part in that recurring sporting event ?
(Q19911365,P1923,c(Q12973014))
action filter_type
action find
entity Q19911365
relation P1923
type Q12973014
['Q19911365', 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q19911365 property:P1923 ?z . ?z rdf:type ontology:Q12973014 }
2015 Bayern-Rundfahrt
action filter_type
action find
entity 2015 Bayern-Rundfahrt
relation participating teams
type sports team
['2015 Bayern-Rundfahrt', 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:2015_Bayern-Rundfahrt property:participating_teams ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q19336122 Q19831195
SYSTEM
Wanty-Groupe Gobert 2015, Roompot Oranje Peloton 2015
Q19336122 Q19831195
(Q19911365,P1923,c(Q12973014))
action filter_type
action find
entity Q19911365
relation P1923
type Q12973014
[ANSWERS] took part in that recurring sporting event
['Q19911365', 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q19911365 property:P1923 ?z . ?z rdf:type ontology:Q12973014 }
Wanty-Groupe Gobert 2015 Roompot Oranje Peloton 2015
Wanty-Groupe Gobert 2015 and Roompot Oranje Peloton 2015 took part in that recurring sporting event
Wanty-Groupe Gobert 2015 Roompot Oranje Peloton 2015
action filter_type
action find
entity 2015 Bayern-Rundfahrt
relation participating teams
type sports team
['2015 Bayern-Rundfahrt', 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:2015_Bayern-Rundfahrt property:participating_teams ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19336122 Q19831195
P17
Q15617994
USER
Which administrative territories are Wanty-Groupe Gobert 2015 and Roompot Oranje Peloton 2015 a part of ?
(Q19336122,P17,c(Q15617994)) (Q19831195,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19336122
relation P17
type Q15617994
action filter_type
action find
entity Q19831195
relation P17
type Q15617994
['Q19336122', 'P17', {'concept': 'Q15617994'}] ['Q19831195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Q19336122 ) ( resource:Q19831195 ) } . ?k property:P17 ?g }
Wanty-Groupe Gobert 2015 Roompot Oranje Peloton 2015
action union
action filter_type
action find
entity Wanty-Groupe Gobert 2015
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Roompot Oranje Peloton 2015
relation country
type designation for an administrative territorial entity
['Wanty-Groupe Gobert 2015', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Roompot Oranje Peloton 2015', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Wanty-Groupe_Gobert_2015 ) ( resource:Roompot_Oranje_Peloton_2015 ) } . ?k property:country ?g }
[]
designation for an administrative territorial entity
Q31 Q55
SYSTEM
Belgium, Netherlands
Q31 Q55
(Q19336122,P17,c(Q15617994)) (Q19831195,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19336122
relation P17
type Q15617994
action filter_type
action find
entity Q19831195
relation P17
type Q15617994
[ANSWERS] are Wanty-Groupe Gobert 2015 and Roompot Oranje Peloton 2015 a part of
['Q19336122', 'P17', {'concept': 'Q15617994'}] ['Q19831195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Q19336122 ) ( resource:Q19831195 ) } . ?k property:P17 ?g }
Belgium Netherlands
Belgium and Netherlands are Wanty-Groupe Gobert 2015 and Roompot Oranje Peloton 2015 a part of
Belgium Netherlands
action union
action filter_type
action find
entity Wanty-Groupe Gobert 2015
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Roompot Oranje Peloton 2015
relation country
type designation for an administrative territorial entity
['Wanty-Groupe Gobert 2015', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Roompot Oranje Peloton 2015', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Wanty-Groupe_Gobert_2015 ) ( resource:Roompot_Oranje_Peloton_2015 ) } . ?k property:country ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19911365
P1427
Q515
USER
Which city is the starting point of 2015 Bayern-Rundfahrt ?
(Q19911365,P1427,c(Q515))
action filter_type
action find
entity Q19911365
relation P1427
type Q515
['Q19911365', 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q19911365 property:P1427 ?r . ?r rdf:type ontology:Q515 }
2015 Bayern-Rundfahrt
action filter_type
action find
entity 2015 Bayern-Rundfahrt
relation start point
type city
['2015 Bayern-Rundfahrt', 'start point', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:2015_Bayern-Rundfahrt property:start_point ?r . ?r rdf:type ontology:city }
[]
city
Q2978
SYSTEM
Regensburg
Q2978
(Q19911365,P1427,c(Q515))
action filter_type
action find
entity Q19911365
relation P1427
type Q515
The starting point of 2015 Bayern-Rundfahrt is in [ANSWER]
['Q19911365', 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q19911365 property:P1427 ?r . ?r rdf:type ontology:Q515 }
Regensburg
The starting point of 2015 Bayern-Rundfahrt is in Regensburg
Regensburg
action filter_type
action find
entity 2015 Bayern-Rundfahrt
relation start point
type city
['2015 Bayern-Rundfahrt', 'start point', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:2015_Bayern-Rundfahrt property:start_point ?r . ?r rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P159
Q43229 Q163740
USER
How many organizations and nonprofit organizations have HQ at that city ?
(c(Q43229),P159,Q2978) (c(Q163740),P159,Q2978) (c(Q43229),P159,Q2978) (c(Q163740),P159,Q2978)
action count
action union
action filter_type
action find_reverse
entity Q2978
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2978
relation P159
type Q163740
[{'concept': 'Q43229'}, 'P159', 'Q2978'] [{'concept': 'Q163740'}, 'P159', 'Q2978'] [{'concept': 'Q43229'}, 'P159', 'Q2978'] [{'concept': 'Q163740'}, 'P159', 'Q2978']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q163740 ) } . ?u rdf:type ?k }
action count
action union
action filter_type
action find_reverse
entity Regensburg
relation headquarters location
type organization
action filter_type
action find_reverse
entity Regensburg
relation headquarters location
type nonprofit organization
[{'concept': 'organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Regensburg']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:nonprofit_organization ) } . ?u rdf:type ?k }
[]
organization nonprofit organization
SYSTEM
6 organizations and 1 nonprofit organizations
Q1323462 Q812280 Q2740401 Q7431330 Q543851 Q447916 Q1273383
(c(Q43229),P159,Q2978) (c(Q163740),P159,Q2978) (c(Q43229),P159,Q2978) (c(Q163740),P159,Q2978)
action count
action union
action filter_type
action find_reverse
entity Q2978
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2978
relation P159
type Q163740
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q2978'] [{'concept': 'Q163740'}, 'P159', 'Q2978'] [{'concept': 'Q43229'}, 'P159', 'Q2978'] [{'concept': 'Q163740'}, 'P159', 'Q2978']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q163740 ) } . ?u rdf:type ?k }
Händlmaier Bayerische Staatsforsten CipSoft Schindler & Schill GmbH Regensburg Botanical Society VDO Bayernwerk
6 organizations and 1 nonprofit organizations
action count
action union
action filter_type
action find_reverse
entity Regensburg
relation headquarters location
type organization
action filter_type
action find_reverse
entity Regensburg
relation headquarters location
type nonprofit organization
[{'concept': 'organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'organization'}, 'headquarters location', 'Regensburg'] [{'concept': 'nonprofit organization'}, 'headquarters location', 'Regensburg']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:nonprofit_organization ) } . ?u rdf:type ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are sister town of atleast 11 cities ?
(c(Q515),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q515
type Q515
value 11
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?d property:P190 ?h . ?d rdf:type ontology:Q515 . ?h rdf:type ontology:Q515 } GROUP BY ?d } . FILTER ( ?e >= 11 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type city
type city
value 11
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?d property:sister_city ?h . ?d rdf:type ontology:city . ?h rdf:type ontology:city } GROUP BY ?d } . FILTER ( ?e >= 11 ) }
[]
city city
SYSTEM
2
Q205922 Q42622
(c(Q515),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q515
type Q515
value 11
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?d property:P190 ?h . ?d rdf:type ontology:Q515 . ?h rdf:type ontology:Q515 } GROUP BY ?d } . FILTER ( ?e >= 11 ) }
Qiqihar Suzhou
2
action count
action atleast
action find_tuple_counts
relation sister city
type city
type city
value 11
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?e ) WHERE { ?d property:sister_city ?h . ?d rdf:type ontology:city . ?h rdf:type ontology:city } GROUP BY ?d } . FILTER ( ?e >= 11 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2978
P47
Q1048835
USER
Who shares the border with that city ?
action filter_type
action find
entity Q2978
relation P47
type Q1048835
SELECT DISTINCT ?c WHERE { resource:Q2978 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Regensburg
action filter_type
action find
entity Regensburg
relation shares border with
type political territorial entity
SELECT DISTINCT ?c WHERE { resource:Regensburg property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10429
SYSTEM
Regensburg
Q10429
action filter_type
action find
entity Q2978
relation P47
type Q1048835
[ANSWER] shares the border with that city
SELECT DISTINCT ?c WHERE { resource:Q2978 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Regensburg
Regensburg shares the border with that city
Regensburg
action filter_type
action find
entity Regensburg
relation shares border with
type political territorial entity
SELECT DISTINCT ?c WHERE { resource:Regensburg property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with atmost 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n property:P530 ?c . ?n rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?j <= 1 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n property:diplomatic_relation ?c . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?j <= 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have tactful political relations with atmost 1 political territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n property:P530 ?c . ?n rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?j <= 1 ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg, Cape Verde and Yemen have tactful political relations with atmost 1 political territory
Luxembourg Cape Verde Yemen
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n property:diplomatic_relation ?c . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?j <= 1 ) }
[]