What is {label} of {Rick Astley}, that has {owner} is {Sony Corporation of America} ?
"What is the label of Rick Astley whose owner is Sony Corporation of America?"
"What is the label of Rick Astley whose owner is Sony Corporation of America?"
SELECT ?q WHERE { ?q property:owned_by resource:Sony_Corporation_of_America . resource:Rick_Astley property:record_label ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q219237> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P264>. ?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/P127> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1134268> . }
SELECT ?answer WHERE { wd:Q219237 wdt:P264 ?answer . ?answer wdt:P127 wd:Q1134268}