Question: Which politican was had tenure at a school until 2006 and was also a senator of Connecticut until 2010?
Answer(s):
answer: Joe Lieberman

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01x73)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01x73 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) })
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.to "2006"^^xsd:dateTime . 
}