Question: Which location with the smallest GNIS feature ID has a Baybrook mall?
Answer(s):
answer: Friendswood

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