What is the {communist party} for {member of political party} of {Fidel Castro}
What is Fidel Castro's communist party for the part of the political party.
What is Fidel Castro's communist party for the member of the political party.
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:communist_party . resource:Fidel_Castro property:member_of_political_party ?l }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11256> . ?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/Q233591> } 
 select distinct ?obj where { wd:Q11256 wdt:P102 ?obj . ?obj wdt:P31 wd:Q233591 } 
Communist Party of Cuba