Give me {war} that contains the word {wars} in their name
What is the war in the name of the word wars?
Which is the war that contains the word wars in it's name?
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . FILTER ( CONTAINS ( LCASE ( ?z ) , '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/Q198>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wars')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q198 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wars')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Arab–Byzantine wars Arab–Byzantine wars Byzantine–Norman wars Byzantine–Norman wars Italian Wars Italian Wars French Revolutionary Wars French Revolutionary Wars Yugoslav Wars Yugoslav Wars Burgundian Wars Burgundian Wars Musket Wars Musket Wars Wars of Alexander the Great Wars of Alexander the Great French and Indian Wars French and Indian Wars Anglo-Mysore Wars Anglo-Mysore Wars Apache Wars Apache Wars Roman–Persian Wars Roman–Persian Wars Byzantine–Ottoman Wars Byzantine–Ottoman Wars Saxon Wars Saxon Wars Appenzell Wars Appenzell Wars Texas–Indian wars Texas–Indian wars Campaigns of 1796 in the French Revolutionary Wars Campaigns of 1796 in the French Revolutionary Wars Ottoman wars in Europe Ottoman wars in Europe Silesian Wars Silesian Wars Anglo-Ashanti wars Anglo-Ashanti wars Ottoman–Hungarian Wars Ottoman–Hungarian Wars Banana Wars Banana Wars Ottoman–Habsburg wars Ottoman–Habsburg wars Bafut Wars Bafut Wars Barbary Wars Barbary Wars