Give me {geographic location} that {category of associated people} {Category:People of Al-Andalus} and which contains the word {al} in their name
Let me know me a geographic area whose title comprise of the word al and whose individuals of al-andalus
Tell me me a  geographic location whose name consist of the word al and whose people of al-andalus
SELECT DISTINCT ?a WHERE { FILTER ( CONTAINS ( LCASE ( ?a ) , 'al' ) ) . ?a property:category_of_associated_people resource:Category:People_of_Al-Andalus . ?a rdf:type ontology:geographic_location }
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/Q2221906>. ?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/P1792> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9073671>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'al')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q2221906 . ?sbj wdt:P1792 wd:Q9073671 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'al')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
al-Andalus al-Andalus