Give me {character from Star Wars} that {first appearance} {Star Wars Episode IV: A New Hope} and which that starts with {'l'}
Give me the name of the character from Star Wars that has the first appearance in the Star Wars Episode IV: A New Hope and starts with the letter I?
Which is the character from Star Wars that has the first appearance in the Star Wars Episode IV: A New Hope and starts with the letter l?
SELECT DISTINCT ?t WHERE { FILTER ( STRSTARTS ( LCASE ( ?t ) , 'l' ) ) . ?t property:first_appearance resource:Star_Wars . ?t 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/P4584> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q17738>. ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'l')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q33125444 . ?sbj wdt:P4584 wd:Q17738 . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'l')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Luke Skywalker Luke Skywalker Leia Organa Leia Organa