Simple Question (Direct)
Simple Question
Q5299216
P495
Q15617994
USER
Which administrative territory is the country of origin of Dos corazones y un cielo ?
(Q5299216,P495,c(Q15617994))
action filter_type
action find
entity Q5299216
relation P495
type Q15617994
['Q5299216', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q5299216 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Dos corazones y un cielo
action filter_type
action find
entity Dos corazones y un cielo
relation country of origin
type designation for an administrative territorial entity
['Dos corazones y un cielo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dos_corazones_y_un_cielo property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q5299216,P495,c(Q15617994))
action filter_type
action find
entity Q5299216
relation P495
type Q15617994
[ANSWER] is the country of origin of Dos corazones y un cielo
['Q5299216', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q5299216 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Mexico
Mexico is the country of origin of Dos corazones y un cielo
Mexico
action filter_type
action find
entity Dos corazones y un cielo
relation country of origin
type designation for an administrative territorial entity
['Dos corazones y un cielo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dos_corazones_y_un_cielo property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5299216
P364
Q34770
USER
Which language was used originally for the creation of Dos corazones y un cielo ?
(Q5299216,P364,c(Q34770))
action filter_type
action find
entity Q5299216
relation P364
type Q34770
['Q5299216', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q5299216 property:P364 ?t }
Dos corazones y un cielo
action filter_type
action find
entity Dos corazones y un cielo
relation original language of work
type language
['Dos corazones y un cielo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Dos_corazones_y_un_cielo property:original_language_of_work ?t }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5299216,P364,c(Q34770))
action filter_type
action find
entity Q5299216
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Dos corazones y un cielo
['Q5299216', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q5299216 property:P364 ?t }
Spanish
In Spanish was used originally for the creation of Dos corazones y un cielo
Spanish
action filter_type
action find
entity Dos corazones y un cielo
relation original language of work
type language
['Dos corazones y un cielo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Dos_corazones_y_un_cielo property:original_language_of_work ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20811319
Q34770
USER
And how about The Last Words of Dutch Schultz?
(Q20811319,P364,c(Q34770))
action filter_type
action find
entity Q20811319
relation P364
type Q34770
['Q20811319', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q20811319 property:P364 ?l . ?l rdf:type ontology:Q34770 }
The Last Words of Dutch Schultz
action filter_type
action find
entity The Last Words of Dutch Schultz
relation original language of work
type language
['The Last Words of Dutch Schultz', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Last_Words_of_Dutch_Schultz property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q20811319,P364,c(Q34770))
action filter_type
action find
entity Q20811319
relation P364
type Q34770
[ANSWER]
['Q20811319', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q20811319 property:P364 ?l . ?l rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity The Last Words of Dutch Schultz
relation original language of work
type language
['The Last Words of Dutch Schultz', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Last_Words_of_Dutch_Schultz property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q18160835
P1412
Q502895
USER
Does Quintin McKellar used that language ?
(Q18160835,P1412,Q1860)
action is_in
entity Q18160835
action find
entity Q1860
relation P1412
['Q18160835', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q18160835 }
English Quintin McKellar
action is_in
entity Quintin McKellar
action find
entity English
relation languages spoken, written or signed
['Quintin McKellar', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Quintin_McKellar }
[]
common name
SYSTEM
NO
(Q18160835,P1412,Q1860)
action is_in
entity Q18160835
action find
entity Q1860
relation P1412
[ANSWER]
['Q18160835', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q18160835 }
No
action is_in
entity Quintin McKellar
action find
entity English
relation languages spoken, written or signed
['Quintin McKellar', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Quintin_McKellar }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
Which administrative territories are approximately 4 languages associated to as the official language ?
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?h ) WHERE { ?x property:P37 ?g . ?x rdf:type ontology:Q56061 . ?g rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?h = 4 ) }
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?h ) WHERE { ?x property:official_language ?g . ?x rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?h = 4 ) }
[]
language administrative territorial entity
Q458
SYSTEM
European Union
Q458
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
The [ANSWER] is approximately 4 languages associated to as the official language
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?h ) WHERE { ?x property:P37 ?g . ?x rdf:type ontology:Q56061 . ?g rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?h = 4 ) }
European Union
The European Union is approximately 4 languages associated to as the official language
European Union
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?h ) WHERE { ?x property:official_language ?g . ?x rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?h = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages utilizes max number of writing systems or notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?w WHERE { { ?w property:P282 ?p . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?w property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 } } GROUP BY ?w } . FILTER ( ?t = ?y ) }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?w WHERE { { ?w property:writing_system ?p . ?w rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?w property:writing_system ?p . ?p rdf:type ontology:notation . ?w rdf:type ontology:language } } GROUP BY ?w } . FILTER ( ?t = ?y ) }
[]
writing system notation language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[ANSWER] utilizes max number of writing systems or notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?w WHERE { { ?w property:P282 ?p . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?w property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 } } GROUP BY ?w } . FILTER ( ?t = ?y ) }
Late Old Japanese
Late Old Japanese utilizes max number of writing systems or notations as the writing system
Late Old Japanese
action argmax
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?w WHERE { { ?w property:writing_system ?p . ?w rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?w property:writing_system ?p . ?p rdf:type ontology:notation . ?w rdf:type ontology:language } } GROUP BY ?w } . FILTER ( ?t = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages adopt around the same number of writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q182695
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?g ) WHERE { ?d rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 . ?d property:P282 ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q182695 property:P282 ?o . ?o rdf:type ontology:Q34770 } } . FILTER ( ?g = ?y ) }
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Late Old Japanese
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?g ) WHERE { ?d rdf:type ontology:language . ?e rdf:type ontology:writing_system . ?d property:writing_system ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Late_Old_Japanese property:writing_system ?o . ?o rdf:type ontology:language } } . FILTER ( ?g = ?y ) }
[]
writing system language
SYSTEM
56
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q182695
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?g ) WHERE { ?d rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 . ?d property:P282 ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q182695 property:P282 ?o . ?o rdf:type ontology:Q34770 } } . FILTER ( ?g = ?y ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
56
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Late Old Japanese
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?g ) WHERE { ?d rdf:type ontology:language . ?e rdf:type ontology:writing_system . ?d property:writing_system ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Late_Old_Japanese property:writing_system ?o . ?o rdf:type ontology:language } } . FILTER ( ?g = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
How many notations are utilized as the script for atmost 3 languages ?
(c(Q34770),P282,c(Q2001982))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 3
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?f ) WHERE { ?j rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?j } GROUP BY ?j } . FILTER ( ?f <= 3 ) }
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 3
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?f ) WHERE { ?j rdf:type ontology:notation . ?b rdf:type ontology:language . ?b property:writing_system ?j } GROUP BY ?j } . FILTER ( ?f <= 3 ) }
[]
notation language
SYSTEM
21
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q8216 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q401 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 3
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?f ) WHERE { ?j rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?j } GROUP BY ?j } . FILTER ( ?f <= 3 ) }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo Greek alphabet kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script cuneiform Bamum script Canadian Aboriginal syllabics
21
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 3
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?f ) WHERE { ?j rdf:type ontology:notation . ?b rdf:type ontology:language . ?b property:writing_system ?j } GROUP BY ?j } . FILTER ( ?f <= 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9148 Q458
P47
Q15617994
USER
Which administrative territories are adjacent to European Union or Candiolo ?
OR((Q458,P47,c(Q15617994)), (Q9148,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q458
relation P47
action find
entity Q9148
relation P47
type Q15617994
{'OR': [['Q458', 'P47', {'concept': 'Q15617994'}], ['Q9148', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q9148 property:P47 ?j } UNION { resource:Q458 property:P47 ?j } } . ?j rdf:type ontology:Q15617994 }
Candiolo European Union
action filter_type
action union
action find
entity European Union
relation shares border with
action find
entity Candiolo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['European Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Candiolo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Candiolo property:shares_border_with ?j } UNION { resource:European_Union property:shares_border_with ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q9519 Q225 Q29 Q212 Q9498 Q155 Q221 Q347 Q159
SYSTEM
Some of them are Czech Republic, Orbassano, Bosnia and Herzegovina, Spain, Ukraine, Nichelino, Brazil, Republic of Macedonia, Liechtenstein, Russia
Q238 Q184 Q1028 Q347 Q225 Q224 Q222 Q221 Q9498 Q228 Q36 Q10361 Q39 Q9578 Q730 Q403 Q43 Q212 Q213 Q236 Q9512 Q159 Q217 Q215 Q155 Q218 Q219 Q9519 Q20 Q28 Q29
OR((Q458,P47,c(Q15617994)), (Q9148,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q458
relation P47
action find
entity Q9148
relation P47
type Q15617994
[ANSWERS] are adjacent to European Union or Candiolo
{'OR': [['Q458', 'P47', {'concept': 'Q15617994'}], ['Q9148', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q9148 property:P47 ?j } UNION { resource:Q458 property:P47 ?j } } . ?j rdf:type ontology:Q15617994 }
San Marino Belarus Morocco Liechtenstein Bosnia and Herzegovina Croatia Albania Republic of Macedonia Nichelino Andorra Poland Vinovo Switzerland Piobesi Torinese Suriname Serbia Turkey Ukraine Czech Republic Montenegro None Russia Republic of Moldova Slovenia Brazil Romania Bulgaria Orbassano Norway Hungary Spain
Czech Republic, Orbassano, Bosnia and Herzegovina, Spain, Ukraine, Nichelino, Brazil, Republic of Macedonia, Liechtenstein and Russia are adjacent to European Union or Candiolo
Czech Republic Orbassano Bosnia and Herzegovina Spain Ukraine Nichelino Brazil Republic of Macedonia Liechtenstein Russia
action filter_type
action union
action find
entity European Union
relation shares border with
action find
entity Candiolo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['European Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Candiolo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Candiolo property:shares_border_with ?j } UNION { resource:European_Union property:shares_border_with ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]