What is {owners} of {YouTube}, that has {parent agency} is {Alphabet Inc.} ?
Who owns both YouTube and parent agency Alphabet Inc?
Who owns YouTube as well as the parent agency Alphabet Inc?
SELECT ?m WHERE { ?m property:parent_organization resource:Alphabet_Inc. . resource:YouTube property:owned_by ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q866> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P127>. ?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/P749> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q20800404> . }
SELECT ?answer WHERE { wd:Q866 wdt:P127 ?answer . ?answer wdt:P749 wd:Q20800404}
Google