Question: what 4 states border the pacific ocean and is near the GNIS location with the id  1779804?
Answer(s):
answer: Washington

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 "1779804" . 
}