Question: List the party of the office holder which also has the affiliation with Congress Socialist party ?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?x onto:otherParty <http://dbpedia.org/resource/Congress_Socialist_Party> . ?x onto:otherParty ?uri  . ?x rdf:type onto:OfficeHolder}