What is the {human} for {partner} of {Johann Wolfgang von Goethe}
Who is Johann Wolfgang von Goethe's partner?
Who is Johann Wolfgang von Goethe's partner?
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:human . ?n property:unmarried_partner resource:Johann_Wolfgang_von_Goethe }
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/P451> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5879> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?sbj where { ?sbj wdt:P451 wd:Q5879 . ?sbj wdt:P31 wd:Q5 } 
Lili Schönemann