Give me {weapon family} that contains the word {weapon} in their name
Let me know weapon family whose title has the word weapon in it.
Tell me weapon family whose name has the word weapon in it.
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:weapon_family . FILTER ( CONTAINS ( LCASE ( ?g ) , 'weapon' ) ) }
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/Q15142889>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'weapon')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q15142889 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'weapon')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
vehicle weapon vehicle weapon anti-aircraft weapon system anti-aircraft weapon system portable weapon system portable weapon system ranged weapon ranged weapon Davy Crockett Weapon System Davy Crockett Weapon System Crew-served weapon Crew-served weapon aircraft weapon aircraft weapon air defense weapon air defense weapon