What is the {political party} for {member of political party} of {Nicolas Sarkozy}
Which political party does Nicolas Sarkozy belong to?
Which {political party} is {Nicolas Sarkozy} {member of}?
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_party . resource:Nicolas_Sarkozy property:member_of_political_party ?i }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q329> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7278> } 
 select distinct ?obj where { wd:Q329 wdt:P102 ?obj . ?obj wdt:P31 wd:Q7278 } 
Union for a Popular Movement Rally for the Republic Union of Democrats for the Republic The Republicans