Simple Question (Direct)
Simple Question
Q993777
P20
Q486972
USER
Where did Bruno Schumacher die ?
(Q993777,P20,c(Q486972))
action filter_type
action find
entity Q993777
relation P20
type Q486972
['Q993777', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . resource:Q993777 property:P20 ?g }
Bruno Schumacher
action filter_type
action find
entity Bruno Schumacher
relation place of death
type human settlement
['Bruno Schumacher', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . resource:Bruno_Schumacher property:place_of_death ?g }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q993777,P20,c(Q486972))
action filter_type
action find
entity Q993777
relation P20
type Q486972
Bruno Schumacher died in [ANSWER]
['Q993777', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . resource:Q993777 property:P20 ?g }
Hamburg
Bruno Schumacher died in Hamburg
Hamburg
action filter_type
action find
entity Bruno Schumacher
relation place of death
type human settlement
['Bruno Schumacher', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . resource:Bruno_Schumacher property:place_of_death ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q993777
P106
Q12737077
USER
What are the job of that person ?
(Q1055,P106,c(Q12737077))
action filter_type
action find
entity Q993777
relation P106
type Q12737077
['Q1055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q993777 property:P106 ?e }
Bruno Schumacher
action filter_type
action find
entity Bruno Schumacher
relation occupation
type occupation
['Hamburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Bruno_Schumacher property:occupation ?e }
[]
occupation
Q201788 Q1622272
SYSTEM
historian, university teacher
Q201788 Q1622272
(Q1055,P106,c(Q12737077))
action filter_type
action find
entity Q993777
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q1055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q993777 property:P106 ?e }
historian university teacher
The job of that person are the historian and university teacher
historian university teacher
action filter_type
action find
entity Bruno Schumacher
relation occupation
type occupation
['Hamburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Bruno_Schumacher property:occupation ?e }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q274309
P106
Q502895
USER
Do Élisabeth Badinter have the profession as those occupations ?
(Q274309,P106,Q201788) (Q274309,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q274309
relation P106
['Q274309', 'P106', 'Q201788'] ['Q274309', 'P106', 'Q1622272']
ASK WHERE { resource:Q274309 property:P106 ?i . VALUES ( ?i ) { ( resource:Q201788 ) ( resource:Q1622272 ) } }
Élisabeth Badinter
action is_in
entity prev_answer
action find
entity Élisabeth Badinter
relation occupation
['Élisabeth Badinter', 'occupation', 'historian'] ['Élisabeth Badinter', 'occupation', 'university teacher']
ASK WHERE { resource:Élisabeth_Badinter property:occupation ?i . VALUES ( ?i ) { ( resource:historian ) ( resource:university_teacher ) } }
[]
common name
SYSTEM
YES
(Q274309,P106,Q201788) (Q274309,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q274309
relation P106
[ANSWER]
['Q274309', 'P106', 'Q201788'] ['Q274309', 'P106', 'Q1622272']
ASK WHERE { resource:Q274309 property:P106 ?i . VALUES ( ?i ) { ( resource:Q201788 ) ( resource:Q1622272 ) } }
Yes
action is_in
entity prev_answer
action find
entity Élisabeth Badinter
relation occupation
['Élisabeth Badinter', 'occupation', 'historian'] ['Élisabeth Badinter', 'occupation', 'university teacher']
ASK WHERE { resource:Élisabeth_Badinter property:occupation ?i . VALUES ( ?i ) { ( resource:historian ) ( resource:university_teacher ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1055 Q183
P17
Q1048835
USER
Is Hamburg located in Germany ?
(Q1055,P17,Q183)
action is_in
entity Q183
action find
entity Q1055
relation P17
['Q1055', 'P17', 'Q183']
ASK WHERE { resource:Q1055 property:P17 resource:Q183 }
Hamburg Germany
action is_in
entity Germany
action find
entity Hamburg
relation country
['Hamburg', 'country', 'Germany']
ASK WHERE { resource:Hamburg property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1055,P17,Q183)
action is_in
entity Q183
action find
entity Q1055
relation P17
[ANSWER]
['Q1055', 'P17', 'Q183']
ASK WHERE { resource:Q1055 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Hamburg
relation country
['Hamburg', 'country', 'Germany']
ASK WHERE { resource:Hamburg property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8356 Q993777
P47 P27
Q1048835
USER
Which political territories are the native countriesof Bruno Schumacher or have a shared border with Valladolid ?
OR((Q993777,P27,c(Q1048835)), (Q8356,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q993777
relation P27
action find
entity Q8356
relation P47
type Q1048835
{'OR': [['Q993777', 'P27', {'concept': 'Q1048835'}], ['Q8356', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q993777 property:P27 ?v } UNION { resource:Q8356 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Valladolid Bruno Schumacher
action filter_type
action union
action find
entity Bruno Schumacher
relation country of citizenship
action find
entity Valladolid
relation shares border with
type political territorial entity
{'OR': [['Bruno Schumacher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Valladolid', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bruno_Schumacher property:country_of_citizenship ?v } UNION { resource:Valladolid property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1919532 Q1907118 Q1650608 Q1919502 Q1907020 Q1921076 Q949199 Q968763 Q1651722 Q927038
SYSTEM
Some of them are Mucientes, Villalba de los Alcores, Cabezón de Pisuerga, La Mudarra, Robladillo, Ciguñuela, Boecillo, Santovenia de Pisuerga, Villanueva de Duero, Zaratán
Q949199 Q183 Q1651719 Q367842 Q1921076 Q1768521 Q1651671 Q1650608 Q1651677 Q1769167 Q1907020 Q1916474 Q1766715 Q965817 Q1919532 Q1919495 Q968763 Q1651705 Q986572 Q1648251 Q1651722 Q1919463 Q927038 Q1907118 Q1919502
OR((Q993777,P27,c(Q1048835)), (Q8356,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q993777
relation P27
action find
entity Q8356
relation P47
type Q1048835
[ANSWERS] are the native countriesof Bruno Schumacher or have a shared border with Valladolid
{'OR': [['Q993777', 'P27', {'concept': 'Q1048835'}], ['Q8356', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q993777 property:P27 ?v } UNION { resource:Q8356 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Boecillo Germany Torrelobatón Laguna de Duero Ciguñuela Cistérniga Villanubla Cabezón de Pisuerga Arroyo de la Encomienda Cigales Robladillo Castronuevo de Esgueva Viana de Cega Renedo de Esgueva Mucientes Valdenebro de los Valles Santovenia de Pisuerga Fuensaldaña Simancas Medina de Rioseco Villanueva de Duero Peñaflor de Hornija Zaratán Villalba de los Alcores La Mudarra
Mucientes, Villalba de los Alcores, Cabezón de Pisuerga, La Mudarra, Robladillo, Ciguñuela, Boecillo, Santovenia de Pisuerga, Villanueva de Duero and Zaratán are the native countriesof Bruno Schumacher or have a shared border with Valladolid
Mucientes Villalba de los Alcores Cabezón de Pisuerga La Mudarra Robladillo Ciguñuela Boecillo Santovenia de Pisuerga Villanueva de Duero Zaratán
action filter_type
action union
action find
entity Bruno Schumacher
relation country of citizenship
action find
entity Valladolid
relation shares border with
type political territorial entity
{'OR': [['Bruno Schumacher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Valladolid', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bruno_Schumacher property:country_of_citizenship ?v } UNION { resource:Valladolid property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2128418
P47
Q56061
USER
Are Kynnersley bordered by those political territories ?
(Q2128418,P47,Q1919532) (Q2128418,P47,Q1907118) (Q2128418,P47,Q1650608) (Q2128418,P47,Q1919502) (Q2128418,P47,Q1907020) (Q2128418,P47,Q1921076) (Q2128418,P47,Q949199) (Q2128418,P47,Q968763) (Q2128418,P47,Q1651722) (Q2128418,P47,Q927038)
action is_in
entity prev_answer
action find
entity Q2128418
relation P47
['Q2128418', 'P47', 'Q1919532'] ['Q2128418', 'P47', 'Q1907118'] ['Q2128418', 'P47', 'Q1650608'] ['Q2128418', 'P47', 'Q1919502'] ['Q2128418', 'P47', 'Q1907020'] ['Q2128418', 'P47', 'Q1921076'] ['Q2128418', 'P47', 'Q949199'] ['Q2128418', 'P47', 'Q968763'] ['Q2128418', 'P47', 'Q1651722'] ['Q2128418', 'P47', 'Q927038']
ASK WHERE { resource:Q2128418 property:P47 ?o . VALUES ( ?o ) { ( resource:Q949199 ) ( resource:Q183 ) ( resource:Q1651719 ) } }
Kynnersley
action is_in
entity prev_answer
action find
entity Kynnersley
relation shares border with
['Kynnersley', 'shares border with', 'Mucientes'] ['Kynnersley', 'shares border with', 'Villalba de los Alcores'] ['Kynnersley', 'shares border with', 'Cabezón de Pisuerga'] ['Kynnersley', 'shares border with', 'La Mudarra'] ['Kynnersley', 'shares border with', 'Robladillo'] ['Kynnersley', 'shares border with', 'Ciguñuela'] ['Kynnersley', 'shares border with', 'Boecillo'] ['Kynnersley', 'shares border with', 'Santovenia de Pisuerga'] ['Kynnersley', 'shares border with', 'Villanueva de Duero'] ['Kynnersley', 'shares border with', 'Zaratán']
ASK WHERE { resource:Kynnersley property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Boecillo ) ( resource:Germany ) ( resource:Torrelobatón ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q2128418,P47,Q1919532) (Q2128418,P47,Q1907118) (Q2128418,P47,Q1650608) (Q2128418,P47,Q1919502) (Q2128418,P47,Q1907020) (Q2128418,P47,Q1921076) (Q2128418,P47,Q949199) (Q2128418,P47,Q968763) (Q2128418,P47,Q1651722) (Q2128418,P47,Q927038)
action is_in
entity prev_answer
action find
entity Q2128418
relation P47
[ANSWER]
['Q2128418', 'P47', 'Q1919532'] ['Q2128418', 'P47', 'Q1907118'] ['Q2128418', 'P47', 'Q1650608'] ['Q2128418', 'P47', 'Q1919502'] ['Q2128418', 'P47', 'Q1907020'] ['Q2128418', 'P47', 'Q1921076'] ['Q2128418', 'P47', 'Q949199'] ['Q2128418', 'P47', 'Q968763'] ['Q2128418', 'P47', 'Q1651722'] ['Q2128418', 'P47', 'Q927038']
ASK WHERE { resource:Q2128418 property:P47 ?o . VALUES ( ?o ) { ( resource:Q949199 ) ( resource:Q183 ) ( resource:Q1651719 ) } }
No
action is_in
entity prev_answer
action find
entity Kynnersley
relation shares border with
['Kynnersley', 'shares border with', 'Mucientes'] ['Kynnersley', 'shares border with', 'Villalba de los Alcores'] ['Kynnersley', 'shares border with', 'Cabezón de Pisuerga'] ['Kynnersley', 'shares border with', 'La Mudarra'] ['Kynnersley', 'shares border with', 'Robladillo'] ['Kynnersley', 'shares border with', 'Ciguñuela'] ['Kynnersley', 'shares border with', 'Boecillo'] ['Kynnersley', 'shares border with', 'Santovenia de Pisuerga'] ['Kynnersley', 'shares border with', 'Villanueva de Duero'] ['Kynnersley', 'shares border with', 'Zaratán']
ASK WHERE { resource:Kynnersley property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Boecillo ) ( resource:Germany ) ( resource:Torrelobatón ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1907020 Q4664897 Q12650433
P47
Q56061
USER
Does Abderaz and Barskūnai share a border with Robladillo ?
(Q1907020,P47,Q4664897) (Q1907020,P47,Q12650433)
action is_in
entity Q1907020
action intersection
action find_reverse
entity Q4664897
relation P47
action find_reverse
entity Q12650433
relation P47
['Q1907020', 'P47', 'Q4664897'] ['Q1907020', 'P47', 'Q12650433']
ASK WHERE { resource:Q1907020 property:P47 resource:Q12650433 . resource:Q1907020 property:P47 resource:Q4664897 }
Robladillo Abderaz Barskūnai
action is_in
entity Robladillo
action intersection
action find_reverse
entity Abderaz
relation shares border with
action find_reverse
entity Barskūnai
relation shares border with
['Robladillo', 'shares border with', 'Abderaz'] ['Robladillo', 'shares border with', 'Barskūnai']
ASK WHERE { resource:Robladillo property:shares_border_with resource:Barskūnai . resource:Robladillo property:shares_border_with resource:Abderaz }
[]
administrative territorial entity
SYSTEM
NO
(Q1907020,P47,Q4664897) (Q1907020,P47,Q12650433)
action is_in
entity Q1907020
action intersection
action find_reverse
entity Q4664897
relation P47
action find_reverse
entity Q12650433
relation P47
[ANSWER]
['Q1907020', 'P47', 'Q4664897'] ['Q1907020', 'P47', 'Q12650433']
ASK WHERE { resource:Q1907020 property:P47 resource:Q12650433 . resource:Q1907020 property:P47 resource:Q4664897 }
No
action is_in
entity Robladillo
action intersection
action find_reverse
entity Abderaz
relation shares border with
action find_reverse
entity Barskūnai
relation shares border with
['Robladillo', 'shares border with', 'Abderaz'] ['Robladillo', 'shares border with', 'Barskūnai']
ASK WHERE { resource:Robladillo property:shares_border_with resource:Barskūnai . resource:Robladillo property:shares_border_with resource:Abderaz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1907020
P1001
Q12737077
USER
Which occupation has control over the jurisdiction of that political territory ?
action filter_type
action find_reverse
entity Q1907020
relation P1001
type Q12737077
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q1907020 . ?p rdf:type ontology:Q12737077 }
Robladillo
action filter_type
action find_reverse
entity Robladillo
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Robladillo . ?p rdf:type ontology:occupation }
[]
occupation
Q26696914
SYSTEM
mayor of Robladillo
Q26696914
action filter_type
action find_reverse
entity Q1907020
relation P1001
type Q12737077
[ANSWER] has control over the jurisdiction of that political territory
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q1907020 . ?p rdf:type ontology:Q12737077 }
mayor of Robladillo
Mayor of Robladillo has control over the jurisdiction of that political territory
mayor of Robladillo
action filter_type
action find_reverse
entity Robladillo
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Robladillo . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q7725634 Q838948
USER
How many political territories are the countries of origin of around 2630 literary works or works of art ?
(c(Q7725634)|c(Q838948),P495,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 2630
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?s WHERE { { ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q7725634 . ?x property:P495 ?s } UNION { ?x property:P495 ?s . ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?q = 2630 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 2630
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?s WHERE { { ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:literary_work . ?x property:country_of_origin ?s } UNION { ?x property:country_of_origin ?s . ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?q = 2630 ) }
[]
political territorial entity literary work work of art
SYSTEM
2
Q16 Q408
(c(Q7725634)|c(Q838948),P495,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 2630
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?s WHERE { { ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q7725634 . ?x property:P495 ?s } UNION { ?x property:P495 ?s . ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?q = 2630 ) }
Canada Australia
2
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 2630
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?s WHERE { { ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:literary_work . ?x property:country_of_origin ?s } UNION { ?x property:country_of_origin ?s . ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?q = 2630 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1907020
P47
Q56061 Q1048835
USER
How many administrative territories or political territories share border with Robladillo ?
(c(Q56061),P47,Q1907020) (c(Q1048835),P47,Q1907020)
action count
action union
action filter_type
action find_reverse
entity Q1907020
relation P47
type Q56061
action filter_type
action find_reverse
entity Q1907020
relation P47
type Q1048835
[{'concept': 'Q56061'}, 'P47', 'Q1907020'] [{'concept': 'Q1048835'}, 'P47', 'Q1907020']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:P47 resource:Q1907020 . ?m rdf:type ontology:Q56061 } UNION { ?m property:P47 resource:Q1907020 . ?m rdf:type ontology:Q1048835 } }
Robladillo
action count
action union
action filter_type
action find_reverse
entity Robladillo
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Robladillo
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Robladillo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Robladillo']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:shares_border_with resource:Robladillo . ?m rdf:type ontology:administrative_territorial_entity } UNION { ?m property:shares_border_with resource:Robladillo . ?m rdf:type ontology:political_territorial_entity } }
[]
administrative territorial entity political territorial entity
SYSTEM
4
Q986572 Q8356 Q1651719 Q1921076
(c(Q56061),P47,Q1907020) (c(Q1048835),P47,Q1907020)
action count
action union
action filter_type
action find_reverse
entity Q1907020
relation P47
type Q56061
action filter_type
action find_reverse
entity Q1907020
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q1907020'] [{'concept': 'Q1048835'}, 'P47', 'Q1907020']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:P47 resource:Q1907020 . ?m rdf:type ontology:Q56061 } UNION { ?m property:P47 resource:Q1907020 . ?m rdf:type ontology:Q1048835 } }
Simancas Valladolid Torrelobatón Ciguñuela
4
action count
action union
action filter_type
action find_reverse
entity Robladillo
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Robladillo
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Robladillo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Robladillo']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:shares_border_with resource:Robladillo . ?m rdf:type ontology:administrative_territorial_entity } UNION { ?m property:shares_border_with resource:Robladillo . ?m rdf:type ontology:political_territorial_entity } }
[]