Give me {London borough} that contains the word {london} in their name
Let me know London borough whose title has the word london in it.
Tell me London borough whose name has the word london in it.
SELECT DISTINCT ?v WHERE { FILTER ( CONTAINS ( LCASE ( ?v ) , 'london' ) ) . ?v rdf:type ontology:London_borough }
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/Q211690>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'london')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q211690 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'london')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
London Borough of Barking and Dagenham London Borough of Barking and Dagenham London Borough of Tower Hamlets London Borough of Tower Hamlets London Borough of Redbridge London Borough of Redbridge London Borough of Barnet London Borough of Barnet London Borough of Bexley London Borough of Bexley London Borough of Harrow London Borough of Harrow London Borough of Haringey London Borough of Haringey London Borough of Sutton London Borough of Sutton London Borough of Lambeth London Borough of Lambeth London Borough of Ealing London Borough of Ealing London Borough of Hounslow London Borough of Hounslow London Borough of Lewisham London Borough of Lewisham London Borough of Newham London Borough of Newham London Borough of Wandsworth London Borough of Wandsworth London Borough of Hillingdon London Borough of Hillingdon London Borough of Brent London Borough of Brent London Borough of Camden London Borough of Camden London Borough of Enfield London Borough of Enfield London Borough of Southwark London Borough of Southwark London Borough of Hackney London Borough of Hackney London Borough of Bromley London Borough of Bromley London Borough of Islington London Borough of Islington London Borough of Havering London Borough of Havering London Borough of Merton London Borough of Merton London Borough of Croydon London Borough of Croydon