What is the {political party in Spain} for {member of political party} of {Mariano Rajoy}
A member of which political party is Mariano Rajoy in Spain?
Mariano Rajoy is a member of which political party in Spain?
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_party_in_Spain . resource:Mariano_Rajoy property:member_of_political_party ?d }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q10819> . ?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/Q6065085> } 
 select distinct ?obj where { wd:Q10819 wdt:P102 ?obj . ?obj wdt:P31 wd:Q6065085 } 
People's Party People's Alliance