Question: Which countries and seas borders the Ukraine, and have a country ISO numeric of less than 348?
Answer(s):
answer: Belarus

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.iso_numeric ?num .
FILTER (xsd:integer(?num) < 348) . 
}