Give me {Colonial Colleges} that contains the word {university} in their name
Let me know colonial colleges whose title has the word college in it.
Tell me colonial colleges whose name has the word university in it.
SELECT DISTINCT ?t WHERE { FILTER ( CONTAINS ( LCASE ( ?t ) , 'university' ) ) . ?t rdf:type ontology:Colonial_Colleges }
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/Q1188663>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'university')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1188663 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'university')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Rutgers University Rutgers University Columbia University Columbia University Harvard University Harvard University Yale University Yale University Princeton University Princeton University Brown University Brown University University of Pennsylvania University of Pennsylvania