Give me {character from Star Wars} that {noble title} {princess} and which contains the word {leia} in their name
Let me know me a character from Star Wars whose title comprise of the word "lady" and whose respectable title princess leia
Tell me me a character from Star Wars whose name consist of the word "woman" and whose noble title princess leia
SELECT DISTINCT ?r WHERE { FILTER ( CONTAINS ( LCASE ( ?r ) , 'leia' ) ) . ?r property:noble_title resource:princess . ?r rdf:type ontology:character_from_Star_Wars }
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/Q33125444>. ?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/P97> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q863048>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'leia')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q33125444 . ?sbj wdt:P97 wd:Q863048 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'leia')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Leia Organa Leia Organa