Question: Who is the senator of the state that held the US senate election in Connecticut in 2010 and 2012?
Answer(s):
answer: Chris Dodd
answer: Joe Lieberman

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_district.elections ns:m.05f411m . 
?c ns:government.political_district.representatives ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.office_position_or_title ns:m.02_7l8y .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} || 
EXISTS {?y ns:government.government_position_held.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2010-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} || 
EXISTS {?y ns:government.government_position_held.to ?sk3 . 
FILTER(xsd:datetime(?sk3) >= "2010-01-01"^^xsd:dateTime) })
}