What is {cohabitant} of {Courteney Cox}, that has {career} is {record producer} ?
What is the title of the man with a effective career as a record maker and could be a cohabitant with on-screen character Courtney Cox?
What is the name of the man with a successful career as a record producer and is a cohabitant with actress Courtney Cox?
SELECT ?c WHERE { ?c property:occupation resource:record_producer . resource:Courteney_Cox property:unmarried_partner ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q58912> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q183945> . }
SELECT ?answer WHERE { wd:Q58912 wdt:P451 ?answer . ?answer wdt:P106 wd:Q183945}
Johnny McDaid