What is the {annual event} for {inspired by} of {Eurovision Song Contest}
Which annual event the Eurovision Song Contest inspired?
Which annual event was inspired by the Eurovision Song Contest?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q18574946 . resource:Eurovision_Song_Contest property:inspired_by ?w }
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/Q18574946> } 
 select distinct ?obj where { wd:Q276 wdt:P941 ?obj . ?obj wdt:P31 wd:Q18574946 } 