Give me {municipal corporation in India} that {authority} {Amritsar Municipal Corporation} and which contains the word {amritsar} in their name
WHat is the city in India that is ruled by using Amritsar Municipal Corporation and that consists of the word "amritsar" in its identify
WHat is the city in India that is ruled by Amritsar Municipal Corporation and that contains the word "amritsar" in its name
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:municipal_corporation_in_India . ?d property:authority resource:Amritsar_Municipal_Corporation . FILTER ( CONTAINS ( LCASE ( ?d ) , 'amritsar' ) ) }
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/Q6936225>. ?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/P797> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q58942508>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'amritsar')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q6936225 . ?sbj wdt:P797 wd:Q58942508 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'amritsar')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Amritsar Amritsar