Question: Which ancient country had capital as Nicomedia and History of Trier?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:capital <http://dbpedia.org/resource/Nicomedia> . ?uri onto:capital <http://dbpedia.org/resource/History_of_Trier> . ?uri rdf:type onto:Country}