SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/producer> <http://dbpedia.org/resource/Peter-John_Vettese> . ?x <http://dbpedia.org/ontology/writer> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Single>}
Who is the writer of the singles whose producer is Peter-John Vettese?
SELECT DISTINCT ?b WHERE { ?u rdf:type ontology:Single . ?u property:producer resource:Peter-_John_Vettese . ?u property:writer ?b }
Bjorn Ulvaeus, Benny Andersson, Tim Rice, Robin Gibb
The writers of the singles whose producer is Peter-John Vettese are [Bjorn Ulvaeus, Benny Andersson, Tim Rice, Robin Gibb].
The singles produced by Peter-John Vesey are by [Bjorn Ulvaeus, Bjorn Andersson, Tim Rice, Robin Gibb].
The writer of the singles whose producer is him are [Bjorn Ulvaeus, Benny Andersson, Tim Rice, Robin Gibb].
The singles he produces are by [Bjorn Ulvaeus, Bjorn Andersson, Tim Rice, Robin Gibb].