Question: Of the countries and seas bordering Ukraine, which country has the smallest calling code?
Answer(s):
answer: Russia

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.07t21)
FILTER (!isLiteral(?x) OR (lang(?x) = '' OR lang(?x) = 'en'))
ns:m.07t21 ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
{ {?x ns:common.topic.notable_types ns:m.01mp .} UNION {?x ns:common.topic.notable_types ns:m.01y2jks .} }
?x ns:location.country.calling_code ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1