What is {partner town} of {Chiang Mai}, that has {MASL} is {150.0} ?
Which accomplice town of Chiang Mai has MASL of 150.0?
Which partner town of Chiang Mai has MASL of 150.0?
SELECT ?p WHERE { resource:Chiang_Mai property:twinned_administrative_body ?p . ?p property:elevation_above_sea_level ?k . FILTER ( ?k = 150.0 ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q52028> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2044> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <150.0> . }
SELECT ?answer WHERE { wd:Q52028 wdt:P190 ?answer . ?answer wdt:P2044 ?x FILTER(contains(?x , '150.0'))}