What is the {country} for {contains administrative territorial entity} of {European Union}
What nations are inside the European Union?
What countries are within the European Union?
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:country . resource:European_Union property:contains_administrative_territorial_entity ?r }
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/P150> . ?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/Q6256> } 
 select distinct ?obj where { wd:Q458 wdt:P150 ?obj . ?obj wdt:P31 wd:Q6256 } 
Ireland Hungary Sweden Denmark Finland Italy Poland Austria Greece Portugal Netherlands France Germany Latvia Slovakia Czech Republic Romania Bulgaria Croatia Cyprus Malta