Give me {slave rebellion} that contains the word {war} in their name
Tell me slave revolt whose identify have the word struggle in their title
Tell me slave rebellion whose name have the word war in their name
SELECT DISTINCT ?a WHERE { FILTER ( CONTAINS ( LCASE ( ?a ) , 'war' ) ) . ?a rdf:type ontology:slave_rebellion }
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/Q1155622>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'war')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1155622 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'war')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
First Servile War First Servile War Second Servile War Second Servile War First Maroon War First Maroon War Tacky's War Tacky's War Second Maroon War Second Maroon War Second Carib War Second Carib War Baptist War Baptist War Bayano Wars Bayano Wars