Simple Question (Direct)
Simple Question
Q984234
P21
Q290
USER
What is the sex of Ryan Ellis ?
(Q984234,P21,c(Q290))
action filter_type
action find
entity Q984234
relation P21
type Q290
['Q984234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q984234 property:P21 ?p }
Ryan Ellis
action filter_type
action find
entity Ryan Ellis
relation gender
type sex
['Ryan Ellis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Ryan_Ellis property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q984234,P21,c(Q290))
action filter_type
action find
entity Q984234
relation P21
type Q290
The sex of Ryan Ellis is the [ANSWER]
['Q984234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q984234 property:P21 ?p }
male
The sex of Ryan Ellis is the male
male
action filter_type
action find
entity Ryan Ellis
relation gender
type sex
['Ryan Ellis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Ryan_Ellis property:gender ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q984234
P54
Q12973014
USER
What is that person a member of ?
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q984234
relation P54
type Q12973014
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q984234 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Ryan Ellis
action filter_type
action find
entity Ryan Ellis
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Ryan_Ellis property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q207980
SYSTEM
Nashville Predators
Q207980
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q984234
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q984234 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Nashville Predators
That person a member of is the Nashville Predators
Nashville Predators
action filter_type
action find
entity Ryan Ellis
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Ryan_Ellis property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3840351 Q984234
P19
Q56061
USER
Which administrative territories were Ryan Ellis or Luis Ribera born ?
OR((Q984234,P19,c(Q56061)), (Q3840351,P19,c(Q56061)))
action filter_type
action union
action find
entity Q984234
relation P19
action find
entity Q3840351
relation P19
type Q56061
{'OR': [['Q984234', 'P19', {'concept': 'Q56061'}], ['Q3840351', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?g ) { ( resource:Q984234 ) ( resource:Q3840351 ) } . ?g property:P19 ?n } . ?n rdf:type ontology:Q56061 }
Luis Ribera Ryan Ellis
action filter_type
action union
action find
entity Ryan Ellis
relation place of birth
action find
entity Luis Ribera
relation place of birth
type administrative territorial entity
{'OR': [['Ryan Ellis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Luis Ribera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?g ) { ( resource:Ryan_Ellis ) ( resource:Luis_Ribera ) } . ?g property:place_of_birth ?n } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q686736 Q133116
SYSTEM
Chivilcoy, Hamilton
Q686736 Q133116
OR((Q984234,P19,c(Q56061)), (Q3840351,P19,c(Q56061)))
action filter_type
action union
action find
entity Q984234
relation P19
action find
entity Q3840351
relation P19
type Q56061
[ANSWERS] were Ryan Ellis or Luis Ribera born
{'OR': [['Q984234', 'P19', {'concept': 'Q56061'}], ['Q3840351', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?g ) { ( resource:Q984234 ) ( resource:Q3840351 ) } . ?g property:P19 ?n } . ?n rdf:type ontology:Q56061 }
Chivilcoy Hamilton
Chivilcoy and Hamilton were Ryan Ellis or Luis Ribera born
Chivilcoy Hamilton
action filter_type
action union
action find
entity Ryan Ellis
relation place of birth
action find
entity Luis Ribera
relation place of birth
type administrative territorial entity
{'OR': [['Ryan Ellis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Luis Ribera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?g ) { ( resource:Ryan_Ellis ) ( resource:Luis_Ribera ) } . ?g property:place_of_birth ?n } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1905584 Q984234
P47 P27
Q1048835
USER
Which political territories are the native countriesof Ryan Ellis or share border with Granyanella ?
OR((Q984234,P27,c(Q1048835)), (Q1905584,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q984234
relation P27
action find
entity Q1905584
relation P47
type Q1048835
{'OR': [['Q984234', 'P27', {'concept': 'Q1048835'}], ['Q1905584', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q984234 property:P27 ?g } UNION { resource:Q1905584 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Granyanella Ryan Ellis
action filter_type
action union
action find
entity Ryan Ellis
relation country of citizenship
action find
entity Granyanella
relation shares border with
type political territorial entity
{'OR': [['Ryan Ellis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Granyanella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ryan_Ellis property:country_of_citizenship ?g } UNION { resource:Granyanella property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q1901194 Q847011 Q1900803 Q752137
SYSTEM
Canada, Granyena de Segarra, Cervera, Els Plans de Sió, Tàrrega
Q16 Q1901194 Q847011 Q1900803 Q752137
OR((Q984234,P27,c(Q1048835)), (Q1905584,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q984234
relation P27
action find
entity Q1905584
relation P47
type Q1048835
[ANSWERS] are the native countriesof Ryan Ellis or share border with Granyanella
{'OR': [['Q984234', 'P27', {'concept': 'Q1048835'}], ['Q1905584', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q984234 property:P27 ?g } UNION { resource:Q1905584 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Canada Granyena de Segarra Cervera Els Plans de Sió Tàrrega
Canada, Granyena de Segarra, Cervera, Els Plans de Sió and Tàrrega are the native countriesof Ryan Ellis or share border with Granyanella
Canada Granyena de Segarra Cervera Els Plans de Sió Tàrrega
action filter_type
action union
action find
entity Ryan Ellis
relation country of citizenship
action find
entity Granyanella
relation shares border with
type political territorial entity
{'OR': [['Ryan Ellis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Granyanella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ryan_Ellis property:country_of_citizenship ?g } UNION { resource:Granyanella property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relationships with max number of political territories ?
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?t ) WHERE { ?e property:P530 ?k . ?k rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?m = ?y ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?t ) WHERE { ?e property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?m = ?y ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] have diplomatic relationships with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?t ) WHERE { ?e property:P530 ?k . ?k rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?m = ?y ) }
Australia
Australia have diplomatic relationships with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?t ) WHERE { ?e property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?m ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?m = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q151624
P27
Q502895
USER
How many people are a citizen of Australia and German Confederation ?
(c(Q502895),P27,Q408) (c(Q502895),P27,Q151624)
action count
action intersection
action filter_type
action find_reverse
entity Q408
relation P27
type Q502895
action filter_type
action find_reverse
entity Q151624
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q408'] [{'concept': 'Q502895'}, 'P27', 'Q151624']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P27 resource:Q408 . ?v rdf:type ontology:Q502895 . ?v property:P27 resource:Q151624 . ?v rdf:type ontology:Q502895 }
Australia German Confederation
action count
action intersection
action filter_type
action find_reverse
entity Australia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Confederation
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Australia'] [{'concept': 'common name'}, 'country of citizenship', 'German Confederation']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:country_of_citizenship resource:Australia . ?v rdf:type ontology:common_name . ?v property:country_of_citizenship resource:German_Confederation . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q4526861 Q71350 Q66934
(c(Q502895),P27,Q408) (c(Q502895),P27,Q151624)
action count
action intersection
action filter_type
action find_reverse
entity Q408
relation P27
type Q502895
action filter_type
action find_reverse
entity Q151624
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q408'] [{'concept': 'Q502895'}, 'P27', 'Q151624']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P27 resource:Q408 . ?v rdf:type ontology:Q502895 . ?v property:P27 resource:Q151624 . ?v rdf:type ontology:Q502895 }
Joachim Steetz Gerard Krefft Hans Hermann Behr
3
action count
action intersection
action filter_type
action find_reverse
entity Australia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Confederation
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Australia'] [{'concept': 'common name'}, 'country of citizenship', 'German Confederation']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:country_of_citizenship resource:Australia . ?v rdf:type ontology:common_name . ?v property:country_of_citizenship resource:German_Confederation . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P36
Q56061
USER
What is the capital of that political territory ?
action filter_type
action find
entity Q408
relation P36
type Q56061
SELECT DISTINCT ?y WHERE { resource:Q408 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Australia
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Australia property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
action filter_type
action find
entity Q408
relation P36
type Q56061
The capital of that political territory is in [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q408 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Canberra
The capital of that political territory is in Canberra
Canberra
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Australia property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q794394 Q408
P1142 P17
Q7210356
USER
Which political organizations are located in Australia and promote classical liberalism ?
AND((c(Q7210356),P17,Q408), (c(Q7210356),P1142,Q794394))
action filter_type
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q794394
relation P1142
type Q7210356
{'AND': [[{'concept': 'Q7210356'}, 'P17', 'Q408'], [{'concept': 'Q7210356'}, 'P1142', 'Q794394']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q408 . ?n property:P1142 resource:Q794394 . ?n rdf:type ontology:Q7210356 }
classical liberalism Australia
action filter_type
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity classical liberalism
relation political ideology
type political organization
{'AND': [[{'concept': 'political organization'}, 'country', 'Australia'], [{'concept': 'political organization'}, 'political ideology', 'classical liberalism']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Australia . ?n property:political_ideology resource:classical_liberalism . ?n rdf:type ontology:political_organization }
[]
political organization
Q6540624
SYSTEM
Liberal Democratic Party
Q6540624
AND((c(Q7210356),P17,Q408), (c(Q7210356),P1142,Q794394))
action filter_type
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q794394
relation P1142
type Q7210356
[ANSWER] is located in Australia and promote classical liberalism
{'AND': [[{'concept': 'Q7210356'}, 'P17', 'Q408'], [{'concept': 'Q7210356'}, 'P1142', 'Q794394']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q408 . ?n property:P1142 resource:Q794394 . ?n rdf:type ontology:Q7210356 }
Liberal Democratic Party
Liberal Democratic Party is located in Australia and promote classical liberalism
Liberal Democratic Party
action filter_type
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity classical liberalism
relation political ideology
type political organization
{'AND': [[{'concept': 'political organization'}, 'country', 'Australia'], [{'concept': 'political organization'}, 'political ideology', 'classical liberalism']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Australia . ?n property:political_ideology resource:classical_liberalism . ?n rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2921259 Q984234
P19
Q56061
USER
Which administrative territories are the birthplace of Ryan Ellis or Rudi Ekkart ?
OR((Q984234,P19,c(Q56061)), (Q2921259,P19,c(Q56061)))
action filter_type
action union
action find
entity Q984234
relation P19
action find
entity Q2921259
relation P19
type Q56061
{'OR': [['Q984234', 'P19', {'concept': 'Q56061'}], ['Q2921259', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?x ) { ( resource:Q984234 ) ( resource:Q2921259 ) } . ?x property:P19 ?p } . ?p rdf:type ontology:Q56061 }
Rudi Ekkart Ryan Ellis
action filter_type
action union
action find
entity Ryan Ellis
relation place of birth
action find
entity Rudi Ekkart
relation place of birth
type administrative territorial entity
{'OR': [['Ryan Ellis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudi Ekkart', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?x ) { ( resource:Ryan_Ellis ) ( resource:Rudi_Ekkart ) } . ?x property:place_of_birth ?p } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36600 Q133116
SYSTEM
The Hague, Hamilton
Q36600 Q133116
OR((Q984234,P19,c(Q56061)), (Q2921259,P19,c(Q56061)))
action filter_type
action union
action find
entity Q984234
relation P19
action find
entity Q2921259
relation P19
type Q56061
[ANSWERS] are the birthplace of Ryan Ellis or Rudi Ekkart
{'OR': [['Q984234', 'P19', {'concept': 'Q56061'}], ['Q2921259', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?x ) { ( resource:Q984234 ) ( resource:Q2921259 ) } . ?x property:P19 ?p } . ?p rdf:type ontology:Q56061 }
The Hague Hamilton
The Hague and Hamilton are the birthplace of Ryan Ellis or Rudi Ekkart
The Hague Hamilton
action filter_type
action union
action find
entity Ryan Ellis
relation place of birth
action find
entity Rudi Ekkart
relation place of birth
type administrative territorial entity
{'OR': [['Ryan Ellis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudi Ekkart', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?x ) { ( resource:Ryan_Ellis ) ( resource:Rudi_Ekkart ) } . ?x property:place_of_birth ?p } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53366 Q3840351
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Luis Ribera or share border with Socchieve ?
OR((Q3840351,P27,c(Q15617994)), (Q53366,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3840351
relation P27
action find
entity Q53366
relation P47
type Q15617994
{'OR': [['Q3840351', 'P27', {'concept': 'Q15617994'}], ['Q53366', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3840351 property:P27 ?e } UNION { resource:Q53366 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
Socchieve Luis Ribera
action filter_type
action union
action find
entity Luis Ribera
relation country of citizenship
action find
entity Socchieve
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Luis Ribera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Socchieve', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Luis_Ribera property:country_of_citizenship ?e } UNION { resource:Socchieve property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53298 Q414 Q53199 Q53214 Q53330 Q53319 Q53264 Q53200
SYSTEM
Ovaro, Argentina, Tramonti di Sopra, Ampezzo, Raveo, Preone, Forni di Sotto, Tramonti di Sotto
Q53298 Q414 Q53199 Q53214 Q53330 Q53319 Q53264 Q53200
OR((Q3840351,P27,c(Q15617994)), (Q53366,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3840351
relation P27
action find
entity Q53366
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Luis Ribera or share border with Socchieve
{'OR': [['Q3840351', 'P27', {'concept': 'Q15617994'}], ['Q53366', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3840351 property:P27 ?e } UNION { resource:Q53366 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
Ovaro Argentina Tramonti di Sopra Ampezzo Raveo Preone Forni di Sotto Tramonti di Sotto
Ovaro, Argentina, Tramonti di Sopra, Ampezzo, Raveo, Preone, Forni di Sotto and Tramonti di Sotto are the countries of citizenship of Luis Ribera or share border with Socchieve
Ovaro Argentina Tramonti di Sopra Ampezzo Raveo Preone Forni di Sotto Tramonti di Sotto
action filter_type
action union
action find
entity Luis Ribera
relation country of citizenship
action find
entity Socchieve
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Luis Ribera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Socchieve', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Luis_Ribera property:country_of_citizenship ?e } UNION { resource:Socchieve property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]