Simple Question (Direct)
Simple Question
Q180005
P6
Q502895
USER
Which people have Livry-Gargan as their heads of government ?
(Q180005,P6,c(Q502895))
action filter_type
action find
entity Q180005
relation P6
type Q502895
['Q180005', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q180005 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Livry-Gargan
action filter_type
action find
entity Livry-Gargan
relation head of government
type common name
['Livry-Gargan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Livry-Gargan property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2834917 Q3010437 Q1353268
SYSTEM
Alfred-Marcel Vincent, César Collavéri, Alain Calmat
Q2834917 Q3010437 Q1353268
(Q180005,P6,c(Q502895))
action filter_type
action find
entity Q180005
relation P6
type Q502895
[ANSWERS] have Livry-Gargan as their heads of government
['Q180005', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q180005 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Alfred-Marcel Vincent César Collavéri Alain Calmat
Alfred-Marcel Vincent, César Collavéri and Alain Calmat have Livry-Gargan as their heads of government
Alfred-Marcel Vincent César Collavéri Alain Calmat
action filter_type
action find
entity Livry-Gargan
relation head of government
type common name
['Livry-Gargan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Livry-Gargan property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2834917 Q3010437 Q1353268
P6
Q20667921
USER
Which french administrative divisions are Alfred-Marcel Vincent, César Collavéri and Alain Calmat the head of the goverment of ?
(c(Q20667921),P6,Q2834917) (c(Q20667921),P6,Q3010437) (c(Q20667921),P6,Q1353268)
action union
action filter_type
action find_reverse
entity Q2834917
relation P6
type Q20667921
action filter_type
action find_reverse
entity Q3010437
relation P6
type Q20667921
action filter_type
action find_reverse
entity Q1353268
relation P6
type Q20667921
[{'concept': 'Q20667921'}, 'P6', 'Q2834917'] [{'concept': 'Q20667921'}, 'P6', 'Q3010437'] [{'concept': 'Q20667921'}, 'P6', 'Q1353268']
SELECT DISTINCT ?o WHERE { { ?o property:P6 resource:Q3010437 . ?o rdf:type ontology:Q20667921 } UNION { ?o property:P6 resource:Q2834917 . ?o rdf:type ontology:Q20667921 } }
Alfred-Marcel Vincent César Collavéri Alain Calmat
action union
action filter_type
action find_reverse
entity Alfred-Marcel Vincent
relation head of government
type type of french administrative division
action filter_type
action find_reverse
entity César Collavéri
relation head of government
type type of french administrative division
action filter_type
action find_reverse
entity Alain Calmat
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Alfred-Marcel Vincent'] [{'concept': 'type of french administrative division'}, 'head of government', 'César Collavéri'] [{'concept': 'type of french administrative division'}, 'head of government', 'Alain Calmat']
SELECT DISTINCT ?o WHERE { { ?o property:head_of_government resource:César_Collavéri . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o property:head_of_government resource:Alfred-Marcel_Vincent . ?o rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
Q180005
SYSTEM
Livry-Gargan
Q180005
(c(Q20667921),P6,Q2834917) (c(Q20667921),P6,Q3010437) (c(Q20667921),P6,Q1353268)
action union
action filter_type
action find_reverse
entity Q2834917
relation P6
type Q20667921
action filter_type
action find_reverse
entity Q3010437
relation P6
type Q20667921
action filter_type
action find_reverse
entity Q1353268
relation P6
type Q20667921
[ANSWER] is Alfred-Marcel Vincent, César Collavéri and Alain Calmat the head of the goverment of
[{'concept': 'Q20667921'}, 'P6', 'Q2834917'] [{'concept': 'Q20667921'}, 'P6', 'Q3010437'] [{'concept': 'Q20667921'}, 'P6', 'Q1353268']
SELECT DISTINCT ?o WHERE { { ?o property:P6 resource:Q3010437 . ?o rdf:type ontology:Q20667921 } UNION { ?o property:P6 resource:Q2834917 . ?o rdf:type ontology:Q20667921 } }
Livry-Gargan
Livry-Gargan is Alfred-Marcel Vincent, César Collavéri and Alain Calmat the head of the goverment of
Livry-Gargan
action union
action filter_type
action find_reverse
entity Alfred-Marcel Vincent
relation head of government
type type of french administrative division
action filter_type
action find_reverse
entity César Collavéri
relation head of government
type type of french administrative division
action filter_type
action find_reverse
entity Alain Calmat
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Alfred-Marcel Vincent'] [{'concept': 'type of french administrative division'}, 'head of government', 'César Collavéri'] [{'concept': 'type of french administrative division'}, 'head of government', 'Alain Calmat']
SELECT DISTINCT ?o WHERE { { ?o property:head_of_government resource:César_Collavéri . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o property:head_of_government resource:Alfred-Marcel_Vincent . ?o rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q180005
P190
Q1048835
USER
Which political territory is sister town of that french administrative division ?
(Q180005,P190,c(Q1048835))
action filter_type
action find
entity Q180005
relation P190
type Q1048835
['Q180005', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q180005 property:P190 ?j }
Livry-Gargan
action filter_type
action find
entity Livry-Gargan
relation sister city
type political territorial entity
['Livry-Gargan', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Livry-Gargan property:sister_city ?j }
[]
political territorial entity
Q193780
SYSTEM
Almuñécar
Q193780
(Q180005,P190,c(Q1048835))
action filter_type
action find
entity Q180005
relation P190
type Q1048835
[ANSWER] is sister town of that french administrative division
['Q180005', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q180005 property:P190 ?j }
Almuñécar
Almuñécar is sister town of that french administrative division
Almuñécar
action filter_type
action find
entity Livry-Gargan
relation sister city
type political territorial entity
['Livry-Gargan', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Livry-Gargan property:sister_city ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q180005
P36
Q20667921
USER
Which french administrative division consists of that one as its capital ?
(c(Q20667921),P36,Q193780)
action filter_type
action find_reverse
entity Q180005
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q193780']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q180005 . ?j rdf:type ontology:Q20667921 }
Livry-Gargan
action filter_type
action find_reverse
entity Livry-Gargan
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Almuñécar']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Livry-Gargan . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1542978
SYSTEM
canton of Livry-Gargan
Q1542978
(c(Q20667921),P36,Q193780)
action filter_type
action find_reverse
entity Q180005
relation P36
type Q20667921
The [ANSWER] consists of that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q193780']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q180005 . ?j rdf:type ontology:Q20667921 }
canton of Livry-Gargan
The canton of Livry-Gargan consists of that one as its capital
canton of Livry-Gargan
action filter_type
action find_reverse
entity Livry-Gargan
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Almuñécar']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Livry-Gargan . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1542978 Q5417299
P17
Q15617994
USER
Is that french administrative division located in Everman Independent School District ?
(Q1542978,P17,Q5417299)
action is_in
entity Q5417299
action find
entity Q1542978
relation P17
['Q1542978', 'P17', 'Q5417299']
ASK WHERE { resource:Q1542978 property:P17 resource:Q5417299 }
canton of Livry-Gargan Everman Independent School District
action is_in
entity Everman Independent School District
action find
entity canton of Livry-Gargan
relation country
['canton of Livry-Gargan', 'country', 'Everman Independent School District']
ASK WHERE { resource:canton_of_Livry-Gargan property:country resource:Everman_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1542978,P17,Q5417299)
action is_in
entity Q5417299
action find
entity Q1542978
relation P17
[ANSWER]
['Q1542978', 'P17', 'Q5417299']
ASK WHERE { resource:Q1542978 property:P17 resource:Q5417299 }
No
action is_in
entity Everman Independent School District
action find
entity canton of Livry-Gargan
relation country
['canton of Livry-Gargan', 'country', 'Everman Independent School District']
ASK WHERE { resource:canton_of_Livry-Gargan property:country resource:Everman_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3010437 Q142
P27
Q15617994
USER
Is César Collavéri a civilian of France ?
(Q3010437,P27,Q142)
action is_in
entity Q142
action find
entity Q3010437
relation P27
['Q3010437', 'P27', 'Q142']
ASK WHERE { resource:Q3010437 property:P27 resource:Q142 }
César Collavéri France
action is_in
entity France
action find
entity César Collavéri
relation country of citizenship
['César Collavéri', 'country of citizenship', 'France']
ASK WHERE { resource:César_Collavéri property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3010437,P27,Q142)
action is_in
entity Q142
action find
entity Q3010437
relation P27
[ANSWER]
['Q3010437', 'P27', 'Q142']
ASK WHERE { resource:Q3010437 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity César Collavéri
relation country of citizenship
['César Collavéri', 'country of citizenship', 'France']
ASK WHERE { resource:César_Collavéri property:country_of_citizenship resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3010437
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
action filter_type
action find
entity Q3010437
relation P39
type Q12737077
SELECT DISTINCT ?i WHERE { resource:Q3010437 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
César Collavéri
action filter_type
action find
entity César Collavéri
relation position held
type occupation
SELECT DISTINCT ?i WHERE { resource:César_Collavéri property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q382617
SYSTEM
maire
Q382617
action filter_type
action find
entity Q3010437
relation P39
type Q12737077
The [ANSWER] was a position occupied by that person
SELECT DISTINCT ?i WHERE { resource:Q3010437 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
maire
The maire was a position occupied by that person
maire
action filter_type
action find
entity César Collavéri
relation position held
type occupation
SELECT DISTINCT ?i WHERE { resource:César_Collavéri property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3010437
P106
Q12737077
USER
What is the job of that person ?
(Q382617,P106,c(Q12737077))
action filter_type
action find
entity Q3010437
relation P106
type Q12737077
['Q382617', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3010437 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
César Collavéri
action filter_type
action find
entity César Collavéri
relation occupation
type occupation
['maire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:César_Collavéri property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q382617,P106,c(Q12737077))
action filter_type
action find
entity Q3010437
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q382617', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3010437 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity César Collavéri
relation occupation
type occupation
['maire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:César_Collavéri property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q193780
P190
Q515 Q56061
USER
How many cities and administrative territories are twin cities of Almuñécar ?
(Q193780,P190,c(Q515)) (Q193780,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q193780
relation P190
type Q515
action filter_type
action find
entity Q193780
relation P190
type Q56061
['Q193780', 'P190', {'concept': 'Q515'}] ['Q193780', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Q193780 property:P190 ?f . ?f rdf:type ontology:Q515 } UNION { resource:Q193780 property:P190 ?f . ?f rdf:type ontology:Q56061 } }
Almuñécar
action count
action union
action filter_type
action find
entity Almuñécar
relation sister city
type city
action filter_type
action find
entity Almuñécar
relation sister city
type administrative territorial entity
['Almuñécar', 'sister city', {'concept': 'city'}] ['Almuñécar', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Almuñécar property:sister_city ?f . ?f rdf:type ontology:city } UNION { resource:Almuñécar property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
city administrative territorial entity
SYSTEM
1 cities and 2 administrative territories
Q309348 Q623549 Q606775
(Q193780,P190,c(Q515)) (Q193780,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q193780
relation P190
type Q515
action filter_type
action find
entity Q193780
relation P190
type Q56061
[ANSWER]
['Q193780', 'P190', {'concept': 'Q515'}] ['Q193780', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Q193780 property:P190 ?f . ?f rdf:type ontology:Q515 } UNION { resource:Q193780 property:P190 ?f . ?f rdf:type ontology:Q56061 } }
Khan Yunis Puerto de la Cruz Larache
1 cities and 2 administrative territories
action count
action union
action filter_type
action find
entity Almuñécar
relation sister city
type city
action filter_type
action find
entity Almuñécar
relation sister city
type administrative territorial entity
['Almuñécar', 'sister city', {'concept': 'city'}] ['Almuñécar', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Almuñécar property:sister_city ?f . ?f rdf:type ontology:city } UNION { resource:Almuñécar property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193780
P1313
Q12737077
USER
What is the occupation held by Almuñécar ?
(Q193780,P1313,c(Q12737077))
action filter_type
action find
entity Q193780
relation P1313
type Q12737077
['Q193780', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q193780 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
Almuñécar
action filter_type
action find
entity Almuñécar
relation office held by head of government
type occupation
['Almuñécar', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Almuñécar property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q26697334
SYSTEM
mayor of Almuñécar
Q26697334
(Q193780,P1313,c(Q12737077))
action filter_type
action find
entity Q193780
relation P1313
type Q12737077
The occupation held by Almuñécar is the [ANSWER]
['Q193780', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q193780 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
mayor of Almuñécar
The occupation held by Almuñécar is the mayor of Almuñécar
mayor of Almuñécar
action filter_type
action find
entity Almuñécar
relation office held by head of government
type occupation
['Almuñécar', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Almuñécar property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26697334
P1001
Q1048835
USER
Which political territory applies to jurisdiction of that occupation ?
(Q26697334,P1001,c(Q1048835))
action filter_type
action find
entity Q26697334
relation P1001
type Q1048835
['Q26697334', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q26697334 property:P1001 ?q }
mayor of Almuñécar
action filter_type
action find
entity mayor of Almuñécar
relation applies to jurisdiction
type political territorial entity
['mayor of Almuñécar', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:mayor_of_Almuñécar property:applies_to_jurisdiction ?q }
[]
political territorial entity
Q193780
SYSTEM
Almuñécar
Q193780
(Q26697334,P1001,c(Q1048835))
action filter_type
action find
entity Q26697334
relation P1001
type Q1048835
The [ANSWER] applies to jurisdiction of that occupation
['Q26697334', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q26697334 property:P1001 ?q }
Almuñécar
The Almuñécar applies to jurisdiction of that occupation
Almuñécar
action filter_type
action find
entity mayor of Almuñécar
relation applies to jurisdiction
type political territorial entity
['mayor of Almuñécar', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:mayor_of_Almuñécar property:applies_to_jurisdiction ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q55
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with more number of political territories than Netherlands ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q55 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?d ) }
Netherlands
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?d ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
37
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q55 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?d ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
37
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?d ) }
[]