Question: Of the cities where Elvis Presley lived, which had the smallest GNIS feature ID?
Answer(s):
answer: Tupelo

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02jq1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02jq1 ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.gnis_feature_id ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1