What is the {organization} for {appointed by} of {European Parliament}
Which organization is appointed by the European Parliament?
SELECT DISTINCT ?a WHERE { ?a property:appointed_by resource:European_Parliament . ?a rdf:type ontology:organization }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P748> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8889> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q43229> } 
 select distinct ?sbj where { ?sbj wdt:P748 wd:Q8889 . ?sbj wdt:P31 wd:Q43229 } 
European Ombudsman