Simple Question (Direct)
Simple Question
Q138214
P1313
Q12737077
USER
What is the occupation held by Pajares de los Oteros ?
(Q138214,P1313,c(Q12737077))
action filter_type
action find
entity Q138214
relation P1313
type Q12737077
['Q138214', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q138214 property:P1313 ?s . ?s rdf:type ontology:Q12737077 }
Pajares de los Oteros
action filter_type
action find
entity Pajares de los Oteros
relation office held by head of government
type occupation
['Pajares de los Oteros', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Pajares_de_los_Oteros property:office_held_by_head_of_government ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q26691098
SYSTEM
mayor of Pajares de los Oteros
Q26691098
(Q138214,P1313,c(Q12737077))
action filter_type
action find
entity Q138214
relation P1313
type Q12737077
The occupation held by Pajares de los Oteros is the [ANSWER]
['Q138214', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q138214 property:P1313 ?s . ?s rdf:type ontology:Q12737077 }
mayor of Pajares de los Oteros
The occupation held by Pajares de los Oteros is the mayor of Pajares de los Oteros
mayor of Pajares de los Oteros
action filter_type
action find
entity Pajares de los Oteros
relation office held by head of government
type occupation
['Pajares de los Oteros', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Pajares_de_los_Oteros property:office_held_by_head_of_government ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q138214
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q26691098)
action filter_type
action find_reverse
entity Q138214
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q26691098']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q138214 . ?b rdf:type ontology:Q12737077 }
Pajares de los Oteros
action filter_type
action find_reverse
entity Pajares de los Oteros
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'mayor of Pajares de los Oteros']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Pajares_de_los_Oteros . ?b rdf:type ontology:occupation }
[]
occupation
Q26691098
SYSTEM
mayor of Pajares de los Oteros
Q26691098
(c(Q12737077),P1001,Q26691098)
action filter_type
action find_reverse
entity Q138214
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q26691098']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q138214 . ?b rdf:type ontology:Q12737077 }
mayor of Pajares de los Oteros
The mayor of Pajares de los Oteros applies to jurisdiction over that political territory
mayor of Pajares de los Oteros
action filter_type
action find_reverse
entity Pajares de los Oteros
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'mayor of Pajares de los Oteros']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Pajares_de_los_Oteros . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26691098
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q26691098,P17,c(Q15617994))
action filter_type
action find
entity Q26691098
relation P17
type Q15617994
['Q26691098', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q26691098 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
mayor of Pajares de los Oteros
action filter_type
action find
entity mayor of Pajares de los Oteros
relation country
type designation for an administrative territorial entity
['mayor of Pajares de los Oteros', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:mayor_of_Pajares_de_los_Oteros property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q26691098,P17,c(Q15617994))
action filter_type
action find
entity Q26691098
relation P17
type Q15617994
That occupation is in [ANSWER]
['Q26691098', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q26691098 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Spain
That occupation is in Spain
Spain
action filter_type
action find
entity mayor of Pajares de los Oteros
relation country
type designation for an administrative territorial entity
['mayor of Pajares de los Oteros', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:mayor_of_Pajares_de_los_Oteros property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1013758
Q15617994
USER
And also tell me about Lipu?
(Q1013758,P17,c(Q15617994))
action filter_type
action find
entity Q1013758
relation P17
type Q15617994
['Q1013758', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1013758 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Lipu
action filter_type
action find
entity Lipu
relation country
type designation for an administrative territorial entity
['Lipu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lipu property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
(Q1013758,P17,c(Q15617994))
action filter_type
action find
entity Q1013758
relation P17
type Q15617994
[ANSWER]
['Q1013758', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1013758 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Estonia
Estonia
action filter_type
action find
entity Lipu
relation country
type designation for an administrative territorial entity
['Lipu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lipu property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q191 Q15440361
P35
Q502895
USER
Is Tim Bete elected as the head of state of that administrative territory ?
(Q191,P35,Q15440361)
action is_in
entity Q15440361
action find
entity Q191
relation P35
['Q191', 'P35', 'Q15440361']
ASK WHERE { resource:Q191 property:P35 resource:Q15440361 }
Estonia Tim Bete
action is_in
entity Tim Bete
action find
entity Estonia
relation head of state
['Estonia', 'head of state', 'Tim Bete']
ASK WHERE { resource:Estonia property:head_of_state resource:Tim_Bete }
[]
common name
SYSTEM
NO
(Q191,P35,Q15440361)
action is_in
entity Q15440361
action find
entity Q191
relation P35
[ANSWER]
['Q191', 'P35', 'Q15440361']
ASK WHERE { resource:Q191 property:P35 resource:Q15440361 }
No
action is_in
entity Tim Bete
action find
entity Estonia
relation head of state
['Estonia', 'head of state', 'Tim Bete']
ASK WHERE { resource:Estonia property:head_of_state resource:Tim_Bete }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q211
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with approximately the same number of administrative territories as Latvia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q211 property:P530 ?t } } . FILTER ( ?c = ?x ) }
Latvia
action count
action approx
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_type
action find
entity Latvia
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 ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Latvia property:diplomatic_relation ?t } } . FILTER ( ?c = ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q211 property:P530 ?t } } . FILTER ( ?c = ?x ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action approx
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_type
action find
entity Latvia
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 ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Latvia property:diplomatic_relation ?t } } . FILTER ( ?c = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P1532
Q1194951 Q6979593
USER
How many national sports teams and national association football teams play for Spain ?
(c(Q1194951),P1532,Q29) (c(Q6979593),P1532,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q29
relation P1532
type Q6979593
[{'concept': 'Q1194951'}, 'P1532', 'Q29'] [{'concept': 'Q6979593'}, 'P1532', 'Q29']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P1532 resource:Q29 . ?p rdf:type ontology:Q1194951 } UNION { ?p property:P1532 resource:Q29 . ?p rdf:type ontology:Q6979593 } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Spain
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Spain'] [{'concept': 'national association football team'}, 'country for sport', 'Spain']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:country_for_sport resource:Spain . ?p rdf:type ontology:national_sports_team } UNION { ?p property:country_for_sport resource:Spain . ?p rdf:type ontology:national_association_football_team } }
[]
national sports team national association football team
SYSTEM
3 national sports teams and 5 national association football teams
Q23013889 Q23830553 Q6124085 Q16629980 Q18128271 Q42267 Q847623 Q1481307
(c(Q1194951),P1532,Q29) (c(Q6979593),P1532,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q29
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q29'] [{'concept': 'Q6979593'}, 'P1532', 'Q29']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P1532 resource:Q29 . ?p rdf:type ontology:Q1194951 } UNION { ?p property:P1532 resource:Q29 . ?p rdf:type ontology:Q6979593 } }
Spain women's national under-20 football team Spain B national football team Spain national amateur football team Spain women's national under-17 football team Spain women's national under-19 football team Spain national football team Spain women's national football team Spain national Olympic football team
3 national sports teams and 5 national association football teams
action count
action union
action filter_type
action find_reverse
entity Spain
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Spain
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Spain'] [{'concept': 'national association football team'}, 'country for sport', 'Spain']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:country_for_sport resource:Spain . ?p rdf:type ontology:national_sports_team } UNION { ?p property:country_for_sport resource:Spain . ?p rdf:type ontology:national_association_football_team } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1919495 Q26691098
P47 P1001
Q1048835
USER
Which political territories come under the supervision of mayor of Pajares de los Oteros or share border with Valdenebro de los Valles ?
OR((Q26691098,P1001,c(Q1048835)), (Q1919495,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q26691098
relation P1001
action find
entity Q1919495
relation P47
type Q1048835
{'OR': [['Q26691098', 'P1001', {'concept': 'Q1048835'}], ['Q1919495', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q26691098 property:P1001 ?i } UNION { resource:Q1919495 property:P47 ?i } } . ?i rdf:type ontology:Q1048835 }
Valdenebro de los Valles mayor of Pajares de los Oteros
action filter_type
action union
action find
entity mayor of Pajares de los Oteros
relation applies to jurisdiction
action find
entity Valdenebro de los Valles
relation shares border with
type political territorial entity
{'OR': [['mayor of Pajares de los Oteros', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['Valdenebro de los Valles', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:mayor_of_Pajares_de_los_Oteros property:applies_to_jurisdiction ?i } UNION { resource:Valdenebro_de_los_Valles property:shares_border_with ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1919502 Q1648251 Q1907118 Q964867 Q138214
SYSTEM
La Mudarra, Medina de Rioseco, Villalba de los Alcores, Montealegre de Campos, Pajares de los Oteros
Q1919502 Q1648251 Q1907118 Q964867 Q138214
OR((Q26691098,P1001,c(Q1048835)), (Q1919495,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q26691098
relation P1001
action find
entity Q1919495
relation P47
type Q1048835
[ANSWERS] come under the supervision of mayor of Pajares de los Oteros or share border with Valdenebro de los Valles
{'OR': [['Q26691098', 'P1001', {'concept': 'Q1048835'}], ['Q1919495', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q26691098 property:P1001 ?i } UNION { resource:Q1919495 property:P47 ?i } } . ?i rdf:type ontology:Q1048835 }
La Mudarra Medina de Rioseco Villalba de los Alcores Montealegre de Campos Pajares de los Oteros
La Mudarra, Medina de Rioseco, Villalba de los Alcores, Montealegre de Campos and Pajares de los Oteros come under the supervision of mayor of Pajares de los Oteros or share border with Valdenebro de los Valles
La Mudarra Medina de Rioseco Villalba de los Alcores Montealegre de Campos Pajares de los Oteros
action filter_type
action union
action find
entity mayor of Pajares de los Oteros
relation applies to jurisdiction
action find
entity Valdenebro de los Valles
relation shares border with
type political territorial entity
{'OR': [['mayor of Pajares de los Oteros', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['Valdenebro de los Valles', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:mayor_of_Pajares_de_los_Oteros property:applies_to_jurisdiction ?i } UNION { resource:Valdenebro_de_los_Valles property:shares_border_with ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1919502 Q1648251 Q1907118 Q964867 Q138214
P47
Q1048835
USER
Which political territories do La Mudarra, Medina de Rioseco, Villalba de los Alcores, Montealegre de Campos and Pajares de los Oteros share a border with ?
(c(Q1048835),P47,Q1919502) (c(Q1048835),P47,Q1648251) (c(Q1048835),P47,Q1907118) (c(Q1048835),P47,Q964867) (c(Q1048835),P47,Q138214)
action union
action filter_type
action find_reverse
entity Q138214
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1919502
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1648251
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1907118
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q964867
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1919502'] [{'concept': 'Q1048835'}, 'P47', 'Q1648251'] [{'concept': 'Q1048835'}, 'P47', 'Q1907118'] [{'concept': 'Q1048835'}, 'P47', 'Q964867'] [{'concept': 'Q1048835'}, 'P47', 'Q138214']
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Q1919502 ) ( resource:Q138214 ) } . ?i property:P47 ?j }
La Mudarra Medina de Rioseco Villalba de los Alcores Montealegre de Campos Pajares de los Oteros
action union
action filter_type
action find_reverse
entity Pajares de los Oteros
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity La Mudarra
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Medina de Rioseco
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Villalba de los Alcores
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Montealegre de Campos
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'La Mudarra'] [{'concept': 'political territorial entity'}, 'shares border with', 'Medina de Rioseco'] [{'concept': 'political territorial entity'}, 'shares border with', 'Villalba de los Alcores'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montealegre de Campos'] [{'concept': 'political territorial entity'}, 'shares border with', 'Pajares de los Oteros']
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:La_Mudarra ) ( resource:Pajares_de_los_Oteros ) } . ?i property:shares_border_with ?j }
[]
political territorial entity
Q1648251 Q1648251 Q1769167
SYSTEM
Cigales for 3rd, Medina de Rioseco for 1st, 2nd
Q1919495 Q1919463 Q1648251 Q1919502 Q1919495 Q1919463 Q1919532 Q1919495 Q1769167 Q1907118 Q1919495 Q1648251 Q141169 Q1615350 Q141258 Q1640104 Q141244 Q26445 Q385017
(c(Q1048835),P47,Q1919502) (c(Q1048835),P47,Q1648251) (c(Q1048835),P47,Q1907118) (c(Q1048835),P47,Q964867) (c(Q1048835),P47,Q138214)
action union
action filter_type
action find_reverse
entity Q138214
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1919502
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1648251
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1907118
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q964867
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q1919502'] [{'concept': 'Q1048835'}, 'P47', 'Q1648251'] [{'concept': 'Q1048835'}, 'P47', 'Q1907118'] [{'concept': 'Q1048835'}, 'P47', 'Q964867'] [{'concept': 'Q1048835'}, 'P47', 'Q138214']
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Q1919502 ) ( resource:Q138214 ) } . ?i property:P47 ?j }
Valdenebro de los Valles Peñaflor de Hornija Medina de Rioseco La Mudarra Valdenebro de los Valles Peñaflor de Hornija Mucientes Valdenebro de los Valles Cigales Villalba de los Alcores Valdenebro de los Valles Medina de Rioseco Cubillas de los Oteros Corbillos de los Oteros Gusendos de los Oteros Villabraz Matadeón de los Oteros Fresno de la Vega Valencia de Don Juan
Medina de Rioseco, Medina de Rioseco and Cigales La Mudarra, Medina de Rioseco, Villalba de los Alcores, Montealegre de Campos and Pajares de los Oteros share a border with
Medina de Rioseco Medina de Rioseco Cigales
action union
action filter_type
action find_reverse
entity Pajares de los Oteros
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity La Mudarra
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Medina de Rioseco
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Villalba de los Alcores
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Montealegre de Campos
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'La Mudarra'] [{'concept': 'political territorial entity'}, 'shares border with', 'Medina de Rioseco'] [{'concept': 'political territorial entity'}, 'shares border with', 'Villalba de los Alcores'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montealegre de Campos'] [{'concept': 'political territorial entity'}, 'shares border with', 'Pajares de los Oteros']
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:La_Mudarra ) ( resource:Pajares_de_los_Oteros ) } . ?i property:shares_border_with ?j }
[]