Give me {Christian holy day} that {follows} {Shrove Tuesday} and which contains the word {ash} in their name
Which is the Christian holy day that follows the Shrove Tuesday and carries the word ash in it is name?
Which is the Christian holy day that follows the Shrove Tuesday and contains the word ash in it's name?
SELECT DISTINCT ?c WHERE { FILTER ( CONTAINS ( LCASE ( ?c ) , 'ash' ) ) . ?c rdf:type ontology:Catholic_holy_day . ?c property:follows resource:Shrove_Tuesday }
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/Q60075825>. ?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/P155> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4845365>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ash')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q60075825 . ?sbj wdt:P155 wd:Q4845365 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ash')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Ash Wednesday Ash Wednesday