Question: Who is the current ruler of Denmark that served in the Socialist People's Party?
Answer(s):
answer: Helle Thorning-Schmidt

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0k6nt)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0k6nt ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} || 
EXISTS {?y ns:government.government_position_held.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^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) >= "2015-08-10"^^xsd:dateTime) })
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.party ns:m.01zwyy . 
}