What is the {Roman city} for {twinned administrative body} of {Thessaloniki}
Thessaloniki is following to which Roman city?
Thessaloniki is next to which Roman city?
SELECT DISTINCT ?x WHERE { ?x property:twinned_administrative_body resource:Thessaloniki . ?x rdf:type ontology:Roman_city }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q17151> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2202509> } 
 select distinct ?sbj where { ?sbj wdt:P190 wd:Q17151 . ?sbj wdt:P31 wd:Q2202509 } 