Give me {ensemble} that {architectural style} {Islamic art of the Emirate and the Caliphate} and which contains the word {alhambra} in their name
Tell me the ensemble that has architectural style as Islamic art of the Emirate and the Caliphate and that incorporates the word alhambra in it's name?
Tell me the ensemble that has architectural style as Islamic art of the Emirate and the Caliphate and that contains the word alhambra in it's name?
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:architectural_ensemble . ?x property:architectural_style resource:Islamic_art_of_the_Emirate_and_the_Caliphate . FILTER ( CONTAINS ( LCASE ( ?x ) , 'alhambra' ) ) }
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/Q1497375>. ?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/P149> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2864672>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'alhambra')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1497375 . ?sbj wdt:P149 wd:Q2864672 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'alhambra')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Alhambra Alhambra