Give me {low-cost airline} that {item operated} {Boeing 737-800} and which contains the word {ryanair} in their name
Nale a inexpensive airline that operates Boeing 737-800 and that carries the phrase "Ryanair" in its name
Nale a low-cost airline that operates Boeing 737-800 and that contains the word "Ryanair" in its name
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:low-cost_airline . ?g property:item_operated resource:Boeing_737-800 . FILTER ( CONTAINS ( LCASE ( ?g ) , 'ryanair' ) ) }
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/Q190915>. ?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/P121> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12476717>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ryanair')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q190915 . ?sbj wdt:P121 wd:Q12476717 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ryanair')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Ryanair Ryanair