Give me {big city} that {twinned administrative body} {Los Angeles} and which contains the word {vancouver} in their name
What town is twinned to Los Angeles and contains the word " Vancouver" in its identify
What city is twinned to Los Angeles and contains the word " Vancouver" in its name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:big_city . ?c property:twinned_administrative_body resource:Los_Angeles . FILTER ( CONTAINS ( LCASE ( ?c ) , 'vancouver' ) ) }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1549591>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q65>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vancouver')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1549591 . ?sbj wdt:P190 wd:Q65 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vancouver')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Vancouver Vancouver