Question: What state has both a politician named Deval Patrick and has the Connecticut river flowing through it?
Answer(s):
answer: Massachusetts

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01ldvs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01ldvs ns:location.location.partially_containedby ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
?x ns:government.political_district.representatives ?c .
?c ns:government.government_position_held.appointed_by ns:m.06l70t . 
}