What is the {national anthem} for {anthem} of {European Union}
Who is the {national song of devotion} for {song of devotion} of {European Union}
Who is the {national anthem} for {anthem} of {European Union}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:national_anthem . resource:European_Union property:anthem ?x }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q458> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P85> . ?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/Q23691> } 
 select distinct ?obj where { wd:Q458 wdt:P85 ?obj . ?obj wdt:P31 wd:Q23691 } 
Anthem of Europe