SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/city> <http://dbpedia.org/resource/Norton,_Massachusetts> . ?x <http://dbpedia.org/property/nickname> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/University>}
What nicknames do the universities in Norton, Massachusetts have?
SELECT DISTINCT ?g WHERE { ?e rdf:type ontology:University . ?e property:nickname ?g . ?e property:city resource:Norton,_Massachusetts }
Lion, Lyons
The universities situated in Norton, Massachusetts have two nicknames and they are [Lion, Lyons].
Universities in Nashville, Massachusetts, have two nicknames and they [Lion, Lyons].