Simple Question (Direct)
Simple Question
Q1284937
P20
Q56061
USER
Which administrative territory is the place of death of Edith Brandt ?
(Q1284937,P20,c(Q56061))
action filter_type
action find
entity Q1284937
relation P20
type Q56061
['Q1284937', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1284937 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Edith Brandt
action filter_type
action find
entity Edith Brandt
relation place of death
type administrative territorial entity
['Edith Brandt', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Edith_Brandt property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2814
SYSTEM
Halle (Saale)
Q2814
(Q1284937,P20,c(Q56061))
action filter_type
action find
entity Q1284937
relation P20
type Q56061
[ANSWER] is the place of death of Edith Brandt
['Q1284937', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1284937 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Halle (Saale)
Halle (Saale) is the place of death of Edith Brandt
Halle (Saale)
action filter_type
action find
entity Edith Brandt
relation place of death
type administrative territorial entity
['Edith Brandt', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Edith_Brandt property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2814
P138
Q33506
USER
Which museum comes from that administrative territory ?
(c(Q33506),P138,Q2814)
action filter_type
action find_reverse
entity Q2814
relation P138
type Q33506
[{'concept': 'Q33506'}, 'P138', 'Q2814']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q2814 . ?a rdf:type ontology:Q33506 }
Halle (Saale)
action filter_type
action find_reverse
entity Halle (Saale)
relation named after
type museum
[{'concept': 'museum'}, 'named after', 'Halle (Saale)']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Halle_(Saale) . ?a rdf:type ontology:museum }
[]
museum
Q2988142
SYSTEM
Halle Gate
Q2988142
(c(Q33506),P138,Q2814)
action filter_type
action find_reverse
entity Q2814
relation P138
type Q33506
[ANSWER] comes from that administrative territory
[{'concept': 'Q33506'}, 'P138', 'Q2814']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q2814 . ?a rdf:type ontology:Q33506 }
Halle Gate
Halle Gate comes from that administrative territory
Halle Gate
action filter_type
action find_reverse
entity Halle (Saale)
relation named after
type museum
[{'concept': 'museum'}, 'named after', 'Halle (Saale)']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Halle_(Saale) . ?a rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2988142
P17
Q15617994
USER
Which administrative territory is that museum a part of ?
(Q2988142,P17,c(Q15617994))
action filter_type
action find
entity Q2988142
relation P17
type Q15617994
['Q2988142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2988142 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Halle Gate
action filter_type
action find
entity Halle Gate
relation country
type designation for an administrative territorial entity
['Halle Gate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Halle_Gate property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2988142,P17,c(Q15617994))
action filter_type
action find
entity Q2988142
relation P17
type Q15617994
[ANSWER] is that museum a part of
['Q2988142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2988142 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Belgium
Belgium is that museum a part of
Belgium
action filter_type
action find
entity Halle Gate
relation country
type designation for an administrative territorial entity
['Halle Gate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Halle_Gate property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q31 Q1861067 Q5465076
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Mount Elgon District and Fonston ?
(Q31,P530,Q1861067) (Q31,P530,Q5465076)
action is_in
entity Q31
action intersection
action find_reverse
entity Q1861067
relation P530
action find_reverse
entity Q5465076
relation P530
['Q31', 'P530', 'Q1861067'] ['Q31', 'P530', 'Q5465076']
ASK WHERE { resource:Q31 property:P530 resource:Q1861067 . resource:Q31 property:P530 resource:Q5465076 }
Belgium Mount Elgon District Fonston
action is_in
entity Belgium
action intersection
action find_reverse
entity Mount Elgon District
relation diplomatic relation
action find_reverse
entity Fonston
relation diplomatic relation
['Belgium', 'diplomatic relation', 'Mount Elgon District'] ['Belgium', 'diplomatic relation', 'Fonston']
ASK WHERE { resource:Belgium property:diplomatic_relation resource:Mount_Elgon_District . resource:Belgium property:diplomatic_relation resource:Fonston }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q31,P530,Q1861067) (Q31,P530,Q5465076)
action is_in
entity Q31
action intersection
action find_reverse
entity Q1861067
relation P530
action find_reverse
entity Q5465076
relation P530
[ANSWER]
['Q31', 'P530', 'Q1861067'] ['Q31', 'P530', 'Q5465076']
ASK WHERE { resource:Q31 property:P530 resource:Q1861067 . resource:Q31 property:P530 resource:Q5465076 }
No
action is_in
entity Belgium
action intersection
action find_reverse
entity Mount Elgon District
relation diplomatic relation
action find_reverse
entity Fonston
relation diplomatic relation
['Belgium', 'diplomatic relation', 'Mount Elgon District'] ['Belgium', 'diplomatic relation', 'Fonston']
ASK WHERE { resource:Belgium property:diplomatic_relation resource:Mount_Elgon_District . resource:Belgium property:diplomatic_relation resource:Fonston }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?d property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?o = ?g ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?d property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?o = ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?d property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?o = ?g ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relations with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?d property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?o = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q232
P35
Q502895
USER
How many people are elected as the head of state of Kazakhstan ?
(Q232,P35,c(Q502895))
action count
action filter_type
action find
entity Q232
relation P35
type Q502895
['Q232', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q232 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Kazakhstan
action count
action filter_type
action find
entity Kazakhstan
relation head of state
type common name
['Kazakhstan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Kazakhstan property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q57394
(Q232,P35,c(Q502895))
action count
action filter_type
action find
entity Q232
relation P35
type Q502895
[ANSWER]
['Q232', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q232 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Nursultan Nazarbayev
1
action count
action filter_type
action find
entity Kazakhstan
relation head of state
type common name
['Kazakhstan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Kazakhstan property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q15925728
P35
Q502895
USER
And what about Government of the 8th Dáil?
(Q15925728,P35,c(Q502895))
action count
action filter_type
action find
entity Q15925728
relation P35
type Q502895
['Q15925728', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q15925728 property:P35 ?x . ?x rdf:type ontology:Q502895 }
Government of the 8th Dáil
action count
action filter_type
action find
entity Government of the 8th Dáil
relation head of state
type common name
['Government of the 8th Dáil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Government_of_the_8th_Dáil property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q269412
(Q15925728,P35,c(Q502895))
action count
action filter_type
action find
entity Q15925728
relation P35
type Q502895
[ANSWER]
['Q15925728', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q15925728 property:P35 ?x . ?x rdf:type ontology:Q502895 }
George V
1
action count
action filter_type
action find
entity Government of the 8th Dáil
relation head of state
type common name
['Government of the 8th Dáil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Government_of_the_8th_Dáil property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q107299
Q502895
USER
And also tell me about Kingdom of Northumbria?
(Q107299,P35,c(Q502895))
action count
action filter_type
action find
entity Q107299
relation P35
type Q502895
['Q107299', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q107299 property:P35 ?b }
Kingdom of Northumbria
action count
action filter_type
action find
entity Kingdom of Northumbria
relation head of state
type common name
['Kingdom of Northumbria', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:common_name . resource:Kingdom_of_Northumbria property:head_of_state ?b }
[]
common name
SYSTEM
2
(Q107299,P35,c(Q502895))
action count
action filter_type
action find
entity Q107299
relation P35
type Q502895
[ANSWER]
['Q107299', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q107299 property:P35 ?b }
2
action count
action filter_type
action find
entity Kingdom of Northumbria
relation head of state
type common name
['Kingdom of Northumbria', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:common_name . resource:Kingdom_of_Northumbria property:head_of_state ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q29999
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relationships with greater number of political territories and administrative territories than Kingdom of the Netherlands ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29999
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) ?a WHERE { { ?d property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } UNION { ?d property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P530 resource:Q29999 . { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?p > ?s ) }
Kingdom of the Netherlands
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) ?a WHERE { { ?d property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } UNION { ?d property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:diplomatic_relation resource:Kingdom_of_the_Netherlands . { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?p > ?s ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29999
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of political territories and administrative territories than Kingdom of the Netherlands
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) ?a WHERE { { ?d property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } UNION { ?d property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P530 resource:Q29999 . { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?p > ?s ) }
Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relationships with greater number of political territories and administrative territories than Kingdom of the Netherlands
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) ?a WHERE { { ?d property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } UNION { ?d property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:diplomatic_relation resource:Kingdom_of_the_Netherlands . { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?p > ?s ) }
[]