Give me {National Historic Trail} that contains the word {trail} in their name
Tell me National Noteworthy Path whose title has the word path in it.
Tell me National Historic Trail  whose name has the word trail in it.
SELECT DISTINCT ?u WHERE { FILTER ( CONTAINS ( LCASE ( ?u ) , 'trail' ) ) . ?u rdf:type ontology:National_Historic_Trail }
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/Q6973377>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'trail')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q6973377 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'trail')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Oregon Trail Oregon Trail Mormon Trail Mormon Trail Santa Fe Trail Santa Fe Trail California Trail California Trail Iditarod Trail Iditarod Trail El Camino Real de los Tejas National Historic Trail El Camino Real de los Tejas National Historic Trail Lewis and Clark National Historic Trail Lewis and Clark National Historic Trail Nez Perce National Historic Trail Nez Perce National Historic Trail Overmountain Victory National Historic Trail Overmountain Victory National Historic Trail Star-Spangled Banner National Historic Trail Star-Spangled Banner National Historic Trail Captain John Smith Chesapeake National Historic Trail Captain John Smith Chesapeake National Historic Trail Juan Bautista de Anza National Historic Trail Juan Bautista de Anza National Historic Trail Ala Kahakai National Historic Trail Ala Kahakai National Historic Trail Trail Of Tears National Historic Trail Trail Of Tears National Historic Trail Pony Express National Historic Trail Pony Express National Historic Trail Selma to Montgomery National Historic Trail Selma to Montgomery National Historic Trail Old Spanish National Historic Trail Old Spanish National Historic Trail