Give me {federal holidays in the United States} that {location} {Spain} and which contains the word {thanksgiving} in their name
Name the American federal excursion that comprise the word " thanksgiving" in its name
Name the American federal holiday that contain the word " thanksgiving" in its name
SELECT DISTINCT ?l WHERE { FILTER ( CONTAINS ( LCASE ( ?l ) , 'thanksgiving' ) ) . ?l rdf:type ontology:federal_holidays_in_the_United_States . ?l property:location resource:Spain }
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/Q5440534>. ?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/P276> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q29>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'thanksgiving')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q5440534 . ?sbj wdt:P276 wd:Q29 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'thanksgiving')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 