Give me {railway tunnel} that {terminus} {Erstfeld} and which contains the word {base} in their name
Which is the railway tunnel with terminus Erstfeld and consists of the phrase base in it's name?
Which is the railway tunnel with terminus Erstfeld and contains the word base in it's name?
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:railway_tunnel . ?u property:terminus resource:Erstfeld . FILTER ( CONTAINS ( LCASE ( ?u ) , 'base' ) ) }
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/Q1311958>. ?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/P559> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q69642>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'base')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1311958 . ?sbj wdt:P559 wd:Q69642 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'base')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Gotthard Base Tunnel Gotthard Base Tunnel