What is {written by} of {Yesterday}, that has {label} is {Parlophone} ?
Which Parlophone name craftsman was the melody “Yesterday” composed by?
Which Parlophone label artist was the song “Yesterday” written by?
SELECT ?x WHERE { ?x property:record_label resource:Parlophone . resource:Yesterday property:composer ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q202698> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P86>. ?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/P264> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q208909> . }
SELECT ?answer WHERE { wd:Q202698 wdt:P86 ?answer . ?answer wdt:P264 wd:Q208909}
John Lennon Paul McCartney