SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/A_Nice_Pair> <http://dbpedia.org/ontology/previousWork> ?x . ?x <http://dbpedia.org/property/producer> ?uri . }
Who is the producer of the album, after which A Nice pair was released ?
SELECT DISTINCT ?h WHERE { resource:A_Nice_Pair property:previous_work ?m . ?m property:producer ?h . }
Pink Floyd
[Pink Floyd] is the producer of the previous work of A Nice Pair.
[Pink Floyd] produced A Nice Pair's previous work.