What is the {consolidated city-county} for {twinned administrative body} of {Thessaloniki}
Thessaloniki is portion of what region?
Thessaloniki is part of what region?
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:consolidated_city-county . ?o property:twinned_administrative_body resource:Thessaloniki }
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/Q3301053> } 
 select distinct ?sbj where { ?sbj wdt:P190 wd:Q17151 . ?sbj wdt:P31 wd:Q3301053 } 
San Francisco