Simple Question (Direct)
Simple Question
Q919837
P108
Q3918
USER
Which university employs Noël Carroll ?
(Q919837,P108,c(Q3918))
action filter_type
action find
entity Q919837
relation P108
type Q3918
['Q919837', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q919837 property:P108 ?p . ?p rdf:type ontology:Q3918 }
Noël Carroll
action filter_type
action find
entity Noël Carroll
relation employer
type university
['Noël Carroll', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Noël_Carroll property:employer ?p . ?p rdf:type ontology:university }
[]
university
Q838330
SYSTEM
University of Wisconsin–Madison
Q838330
(Q919837,P108,c(Q3918))
action filter_type
action find
entity Q919837
relation P108
type Q3918
[ANSWER] employs Noël Carroll
['Q919837', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q919837 property:P108 ?p . ?p rdf:type ontology:Q3918 }
University of Wisconsin–Madison
University of Wisconsin–Madison employs Noël Carroll
University of Wisconsin–Madison
action filter_type
action find
entity Noël Carroll
relation employer
type university
['Noël Carroll', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Noël_Carroll property:employer ?p . ?p rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q919837
P19
Q486972
USER
Which human settlement is the place of birth of Noël Carroll ?
(Q919837,P19,c(Q486972))
action filter_type
action find
entity Q919837
relation P19
type Q486972
['Q919837', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q919837 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Noël Carroll
action filter_type
action find
entity Noël Carroll
relation place of birth
type human settlement
['Noël Carroll', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Noël_Carroll property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q62460
SYSTEM
Far Rockaway
Q62460
(Q919837,P19,c(Q486972))
action filter_type
action find
entity Q919837
relation P19
type Q486972
The [ANSWER] is the place of birth of Noël Carroll
['Q919837', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q919837 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Far Rockaway
The Far Rockaway is the place of birth of Noël Carroll
Far Rockaway
action filter_type
action find
entity Noël Carroll
relation place of birth
type human settlement
['Noël Carroll', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Noël_Carroll property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q62460 Q585500 Q30
P17
Q15617994
USER
Is Far Rockaway located in Schenkenfelden and United States of America ?
(Q62460,P17,Q585500) (Q62460,P17,Q30)
action is_in
entity Q62460
action intersection
action find_reverse
entity Q585500
relation P17
action find_reverse
entity Q30
relation P17
['Q62460', 'P17', 'Q585500'] ['Q62460', 'P17', 'Q30']
ASK WHERE { resource:Q62460 property:P17 resource:Q30 . resource:Q62460 property:P17 resource:Q585500 }
Far Rockaway Schenkenfelden United States of America
action is_in
entity Far Rockaway
action intersection
action find_reverse
entity Schenkenfelden
relation country
action find_reverse
entity United States of America
relation country
['Far Rockaway', 'country', 'Schenkenfelden'] ['Far Rockaway', 'country', 'United States of America']
ASK WHERE { resource:Far_Rockaway property:country resource:United_States_of_America . resource:Far_Rockaway property:country resource:Schenkenfelden }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q62460,P17,Q585500) (Q62460,P17,Q30)
action is_in
entity Q62460
action intersection
action find_reverse
entity Q585500
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q62460', 'P17', 'Q585500'] ['Q62460', 'P17', 'Q30']
ASK WHERE { resource:Q62460 property:P17 resource:Q30 . resource:Q62460 property:P17 resource:Q585500 }
NO and YES respectively
action is_in
entity Far Rockaway
action intersection
action find_reverse
entity Schenkenfelden
relation country
action find_reverse
entity United States of America
relation country
['Far Rockaway', 'country', 'Schenkenfelden'] ['Far Rockaway', 'country', 'United States of America']
ASK WHERE { resource:Far_Rockaway property:country resource:United_States_of_America . resource:Far_Rockaway property:country resource:Schenkenfelden }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q275642
P1376
Q515 Q486972
USER
Which cities have less number of human settlements have their center of administration than Roznov ?
(c(Q486972),P1376,c(Q515))
action less
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find_reverse
entity Q275642
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P1376 ?i . ?i rdf:type ontology:Q515 . ?f rdf:type ontology:Q486972 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1376 resource:Q275642 . ?v rdf:type ontology:Q486972 } } . FILTER ( ?h < ?d ) }
Roznov
action less
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find_reverse
entity Roznov
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:capital_of ?i . ?i rdf:type ontology:city . ?f rdf:type ontology:human_settlement } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:capital_of resource:Roznov . ?v rdf:type ontology:human_settlement } } . FILTER ( ?h < ?d ) }
[]
city human settlement
Q1410 Q235 Q148540
SYSTEM
Gibraltar, Monaco, Republic of Florence
Q1410 Q235 Q148540
(c(Q486972),P1376,c(Q515))
action less
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find_reverse
entity Q275642
relation P1376
type Q486972
[ANSWERS] have less number of human settlements have their center of administration than Roznov
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P1376 ?i . ?i rdf:type ontology:Q515 . ?f rdf:type ontology:Q486972 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1376 resource:Q275642 . ?v rdf:type ontology:Q486972 } } . FILTER ( ?h < ?d ) }
Gibraltar Monaco Republic of Florence
Gibraltar, Monaco and Republic of Florence have less number of human settlements have their center of administration than Roznov
Gibraltar Monaco Republic of Florence
action less
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find_reverse
entity Roznov
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:capital_of ?i . ?i rdf:type ontology:city . ?f rdf:type ontology:human_settlement } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:capital_of resource:Roznov . ?v rdf:type ontology:human_settlement } } . FILTER ( ?h < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q167792
P1376
Q515 Q486972
USER
And what about Sărmașu?
(c(Q486972),P1376,c(Q515))
action less
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find_reverse
entity Q167792
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { ?p rdf:type ontology:Q515 . ?e rdf:type ontology:Q486972 . ?e property:P1376 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1376 resource:Q167792 . ?k rdf:type ontology:Q486972 } } . FILTER ( ?x < ?b ) }
Sărmașu
action less
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find_reverse
entity Sărmașu
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { ?p rdf:type ontology:city . ?e rdf:type ontology:human_settlement . ?e property:capital_of ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:capital_of resource:Sărmașu . ?k rdf:type ontology:human_settlement } } . FILTER ( ?x < ?b ) }
[]
city human settlement
Q1410 Q235 Q148540
SYSTEM
Gibraltar, Monaco, Republic of Florence
Q1410 Q235 Q148540
(c(Q486972),P1376,c(Q515))
action less
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find_reverse
entity Q167792
relation P1376
type Q486972
[ANSWERS]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { ?p rdf:type ontology:Q515 . ?e rdf:type ontology:Q486972 . ?e property:P1376 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1376 resource:Q167792 . ?k rdf:type ontology:Q486972 } } . FILTER ( ?x < ?b ) }
Gibraltar Monaco Republic of Florence
Gibraltar Monaco Republic of Florence
action less
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find_reverse
entity Sărmașu
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { ?p rdf:type ontology:city . ?e rdf:type ontology:human_settlement . ?e property:capital_of ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:capital_of resource:Sărmașu . ?k rdf:type ontology:human_settlement } } . FILTER ( ?x < ?b ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1427
Q515 Q878123 Q18608583
USER
How many cities do lesser number of racings and recurring sporting events start than that city ?
(c(Q878123)|c(Q18608583),P1427,c(Q515))
[[{'concept': 'Q878123'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q18608583 }
[[{'concept': 'racing'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:city . ?x rdf:type ontology:recurring_sporting_event }
[]
city racing recurring sporting event
Comparative|Count over More/Less|Mult. entity type|Clarification
Q148540
SYSTEM
Did you mean Republic of Florence ?
(c(Q878123)|c(Q18608583),P1427,c(Q515))
[ANSWER]
[[{'concept': 'Q878123'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q18608583 }
Did you mean Republic of Florence ?
Republic of Florence
[[{'concept': 'racing'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:city . ?x rdf:type ontology:recurring_sporting_event }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Monaco. Could you tell me the answer for that?
(c(Q878123)|c(Q18608583),P1427,c(Q515))
Q235
[[{'concept': 'Q878123'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q515'}]
[[{'concept': 'racing'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'city'}]
[]
SYSTEM
15
Q682361 Q505208 Q840610 Q1636 Q9005 Q3859 Q182378 Q19660 Q1486 Q11736 Q1854 Q166282 Q17042 Q3861 Q16666
(c(Q878123)|c(Q18608583),P1427,c(Q515))
[ANSWER]
[[{'concept': 'Q878123'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q7930989 . ?x rdf:type ontology:Q18608583 }
Uničov Ouarzazate Yamanashi Antipolo Brussels Kigali Putrajaya Bucharest Buenos Aires Tianjin Ho Chi Minh City Alghero Oakland Doha Nanjing
15
[[{'concept': 'racing'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:city . ?x rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P1427
Q18608583
USER
Which recurring sporting event starts at Monaco ?
(c(Q18608583),P1427,Q235)
action filter_type
action find_reverse
entity Q235
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q235']
SELECT DISTINCT ?l WHERE { ?l property:P1427 resource:Q235 . ?l rdf:type ontology:Q18608583 }
Monaco
action filter_type
action find_reverse
entity Monaco
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Monaco']
SELECT DISTINCT ?l WHERE { ?l property:start_point resource:Monaco . ?l rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q217263
SYSTEM
2009 Tour de France
Q217263
(c(Q18608583),P1427,Q235)
action filter_type
action find_reverse
entity Q235
relation P1427
type Q18608583
[ANSWER] starts at Monaco
[{'concept': 'Q18608583'}, 'P1427', 'Q235']
SELECT DISTINCT ?l WHERE { ?l property:P1427 resource:Q235 . ?l rdf:type ontology:Q18608583 }
2009 Tour de France
2009 Tour de France starts at Monaco
2009 Tour de France
action filter_type
action find_reverse
entity Monaco
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Monaco']
SELECT DISTINCT ?l WHERE { ?l property:start_point resource:Monaco . ?l rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217263
P710
Q502895
USER
Who were the artist who participated in that recurring sporting event ?
(Q217263,P710,c(Q502895))
action filter_type
action find
entity Q217263
relation P710
type Q502895
['Q217263', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q217263 property:P710 ?a . ?a rdf:type ontology:Q502895 }
2009 Tour de France
action filter_type
action find
entity 2009 Tour de France
relation participant
type common name
['2009 Tour de France', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:2009_Tour_de_France property:participant ?a . ?a rdf:type ontology:common_name }
[]
common name
Q132738 Q376376 Q2172
SYSTEM
Alberto Contador, Yauheni Hutarovich, Lance Armstrong
Q241280 Q376376 Q2172 Q132738
(Q217263,P710,c(Q502895))
action filter_type
action find
entity Q217263
relation P710
type Q502895
The artist participated in that recurring sporting event were [ANSWERS]
['Q217263', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q217263 property:P710 ?a . ?a rdf:type ontology:Q502895 }
Andy Schleck Yauheni Hutarovich Lance Armstrong Alberto Contador
The artist participated in that recurring sporting event were Alberto Contador, Yauheni Hutarovich and Lance Armstrong
Alberto Contador Yauheni Hutarovich Lance Armstrong
action filter_type
action find
entity 2009 Tour de France
relation participant
type common name
['2009 Tour de France', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:2009_Tour_de_France property:participant ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2172
P921
Q838948
USER
Which work of art was mainly based on that person ?
(c(Q838948),P921,Q2172)
action filter_type
action find_reverse
entity Q2172
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q2172']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P921 resource:Q2172 }
Lance Armstrong
action filter_type
action find_reverse
entity Lance Armstrong
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Lance Armstrong']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:main_subject resource:Lance_Armstrong }
[]
work of art
Clarification for simple ques.
Q2172
SYSTEM
Did you mean Lance Armstrong ?
Q132738 Q376376 Q2172
(c(Q838948),P921,Q132738) (c(Q838948),P921,Q376376) (c(Q838948),P921,Q2172)
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q132738'] [{'concept': 'Q838948'}, 'P921', 'Q376376'] [{'concept': 'Q838948'}, 'P921', 'Q2172']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P921 resource:Q2172 }
Alberto Contador Yauheni Hutarovich Lance Armstrong
Did you mean Lance Armstrong ?
Lance Armstrong
[{'concept': 'work of art'}, 'main subject', 'Alberto Contador'] [{'concept': 'work of art'}, 'main subject', 'Yauheni Hutarovich'] [{'concept': 'work of art'}, 'main subject', 'Lance Armstrong']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:main_subject resource:Lance_Armstrong }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P921,Q2172)
[{'concept': 'Q838948'}, 'P921', 'Q2172']
[{'concept': 'work of art'}, 'main subject', 'Lance Armstrong']
[]
Q15052280
SYSTEM
The Armstrong Lie
Q15052280
(c(Q838948),P921,Q2172)
action filter_type
action find_reverse
entity Q2172
relation P921
type Q838948
[ANSWER] was mainly based on that person
[{'concept': 'Q838948'}, 'P921', 'Q2172']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P921 resource:Q2172 }
The Armstrong Lie
The Armstrong Lie was mainly based on that person
The Armstrong Lie
action filter_type
action find_reverse
entity Lance Armstrong
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Lance Armstrong']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:main_subject resource:Lance_Armstrong }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17659 Q1410
P47 P17
Q15617994
USER
Which administrative territories are Gibraltar present in or share the border with Sala Monferrato ?
OR((Q1410,P17,c(Q15617994)), (Q17659,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1410
relation P17
action find
entity Q17659
relation P47
type Q15617994
{'OR': [['Q1410', 'P17', {'concept': 'Q15617994'}], ['Q17659', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1410 property:P17 ?t } UNION { resource:Q17659 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Sala Monferrato Gibraltar
action filter_type
action union
action find
entity Gibraltar
relation country
action find
entity Sala Monferrato
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Gibraltar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sala Monferrato', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Gibraltar property:country ?t } UNION { resource:Sala_Monferrato property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17631 Q145 Q17628 Q17341 Q17687 Q17343
SYSTEM
Ozzano Monferrato, United Kingdom, Ottiglio, Cella Monte, Treville, Cereseto
Q17631 Q145 Q17628 Q17341 Q17687 Q17343
OR((Q1410,P17,c(Q15617994)), (Q17659,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1410
relation P17
action find
entity Q17659
relation P47
type Q15617994
[ANSWERS] are Gibraltar present in or share the border with Sala Monferrato
{'OR': [['Q1410', 'P17', {'concept': 'Q15617994'}], ['Q17659', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1410 property:P17 ?t } UNION { resource:Q17659 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Ozzano Monferrato United Kingdom Ottiglio Cella Monte Treville Cereseto
Ozzano Monferrato, United Kingdom, Ottiglio, Cella Monte, Treville and Cereseto are Gibraltar present in or share the border with Sala Monferrato
Ozzano Monferrato United Kingdom Ottiglio Cella Monte Treville Cereseto
action filter_type
action union
action find
entity Gibraltar
relation country
action find
entity Sala Monferrato
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Gibraltar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sala Monferrato', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Gibraltar property:country ?t } UNION { resource:Sala_Monferrato property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]