SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/judges> <http://dbpedia.org/resource/Harry_Connick,_Jr.> . ?uri <http://dbpedia.org/ontology/presenter> <http://dbpedia.org/resource/Ryan_Seacrest> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
Which TV show had a judge named Harry Connick, Jr. and was presented by Ryan Seacrest?
SELECT DISTINCT ?c WHERE { ?c property:judges resource:Harry_Connick,_Jr. . ?c rdf:type ontology:Television_Show . ?c property:presenter resource:Ryan_Seacrest }
American Idol
[American Idol] is the television show whose judge is Harry Connick, Jr. and presenter is Ryan Seacrest.
[American Idol] is a TV show with Harry Connick Jr. as judge and Ryan Seacrest as host.