What is the {television program} for {inspired by} of {Eurovision Song Contest}
What tv program was the Eurovision Melody Substance inspried by
What tv program was the Eurovision Song Contents inspried by
SELECT DISTINCT ?a WHERE { resource:Eurovision_Song_Contest property:inspired_by ?a . ?a rdf:type ontology:television_program }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q276> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P941> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15416> } 
 select distinct ?obj where { wd:Q276 wdt:P941 ?obj . ?obj wdt:P31 wd:Q15416 } 
Sanremo Music Festival