Give me {peace treaty} that contains the word {treaty} in their name
Let me know peace arrangement whose title has the word arrangement in it.
Tell me peace treaty whose name has the word treaty in it.
SELECT DISTINCT ?l WHERE { FILTER ( CONTAINS ( LCASE ( ?l ) , 'treaty' ) ) . ?l rdf:type ontology:peace_treaty }
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/Q625298>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'treaty')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q625298 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'treaty')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Treaty of Peace and love Treaty of Peace and love Treaty of Bucharest Treaty of Bucharest Treaty of Stralsund Treaty of Stralsund Treaty of Constantinople Treaty of Constantinople Treaty of Valençay Treaty of Valençay Treaty of San Francisco Treaty of San Francisco Treaty of Warsaw Treaty of Warsaw Treaty of Berlin (1921) Treaty of Berlin (1921) treaty of Aix-la-Chapelle treaty of Aix-la-Chapelle Treaty of Peace and Friendship between Japan and the People's Republic of China Treaty of Peace and Friendship between Japan and the People's Republic of China Treaty of Altranstädt Treaty of Altranstädt Treaty of Chaumont Treaty of Chaumont Treaty of Crépy Treaty of Crépy Treaty of El Pardo Treaty of El Pardo Hassan–Muawiya treaty Hassan–Muawiya treaty Treaty of Coche Treaty of Coche Italo-Ethiopian Treaty of 1928 Italo-Ethiopian Treaty of 1928 Treaty of London Treaty of London Treaty of Bergerac Treaty of Bergerac Treaty of Jaffa (1192) Treaty of Jaffa (1192) Treaty of Seringapatam Treaty of Seringapatam Treaty of Ófalu Treaty of Ófalu Treaty of Casco Treaty of Casco Treaty of Lahore Treaty of Lahore Treaty of Lima Treaty of Lima