SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/writer> <http://dbpedia.org/resource/Harry_Connick,_Jr.> . ?x <http://dbpedia.org/property/label> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Song>}
Which labels have published songs written by Harry Connick Jr?
SELECT DISTINCT ?c WHERE { ?h rdf:type ontology:Song . ?h property:writer resource:Harry_Connick,_Jr. . ?h property:label ?c }
Columbia Records, Sony
The labels of the songs whose writer is Harry Connick, Jr. are [Columbia Records, Sony].
The songs written by Harry Connick Jr are called [Columbia Records, Sony].