Give me {Catholic cathedral} that {dedicated to} {Virgin Mary} and which contains the word {dame} in their name
Title a Catholic cathedral committed to Virgin Mary that contains the word "woman" in its name
Name a Catholic cathedral dedicated to Virgin Mary that contains the word "dame" in its name
SELECT DISTINCT ?k WHERE { ?k property:dedicated_to resource:Mary . FILTER ( CONTAINS ( LCASE ( ?k ) , 'dame' ) ) . ?k rdf:type ontology:Catholic_cathedral }
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/Q56242215>. ?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/P825> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q345>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'dame')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q56242215 . ?sbj wdt:P825 wd:Q345 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'dame')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Notre-Dame Basilica-Cathedral Notre-Dame Basilica-Cathedral Notre-Dame d'Amiens Notre-Dame d'Amiens Notre-Dame de Chartres Notre-Dame de Chartres Notre-Dame de Paris Notre-Dame de Paris Cathédrale Notre-Dame (Bangui) Cathédrale Notre-Dame (Bangui)