Question: Which of the states that border the Pacific ocean has a GNIS feature ID location of less than 1779804?
Answer(s):
answer: Oregon

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.05rgl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05rgl ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
?x ns:location.location.gnis_feature_id ?num .
FILTER (xsd:integer(?num) < 1779804) . 
}