Question: Which of the 9 justices of the supreme court of 2011 served in the Democratic Party?
Answer(s):
answer: Stephen Breyer

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.07sz1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07sz1 ns:law.court.judges ?y .
?y ns:law.judicial_tenure.judge ?x .
FILTER(NOT EXISTS {?y ns:law.judicial_tenure.from_date ?sk0} || 
EXISTS {?y ns:law.judicial_tenure.from_date ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:law.judicial_tenure.to_date ?sk2} || 
EXISTS {?y ns:law.judicial_tenure.to_date ?sk3 . 
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.party ns:m.0d075m . 
}