Give me {border} that contains the word {line} in their name
Which border in its name contains the word line
Tell me the border that contains the word line in their name
SELECT DISTINCT ?k WHERE { FILTER ( CONTAINS ( LCASE ( ?k ) , 'line' ) ) . ?k rdf:type ontology:border }
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/Q133346>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'line')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q133346 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'line')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Black-Allan Line Black-Allan Line section line section line Purchase line Purchase line Thornton Line Thornton Line Coxe-Barclay Line Coxe-Barclay Line Line of Property Line of Property Durand Line Durand Line Military Demarcation Line Military Demarcation Line Van Mook Line Van Mook Line Radcliffe Line Radcliffe Line International Date Line International Date Line Jireček Line Jireček Line Inter-Entity Boundary Line Inter-Entity Boundary Line Collins–Valentine line Collins–Valentine line