What is the {record label} for {manager/director} of {David Foster}
For David Cultivate what is the record name for manager/director?
For David Foster what is the record label for manager/director?
SELECT DISTINCT ?o WHERE { ?o property:director_/_manager resource:David_Foster . ?o rdf:type ontology:record_label }
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/P1037> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q77112> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q18127> } 
 select distinct ?sbj where { ?sbj wdt:P1037 wd:Q77112 . ?sbj wdt:P31 wd:Q18127 } 