SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/colour> <http://dbpedia.org/resource/Royal_blue> . ?x <http://dbpedia.org/property/nickname> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/School>}
What are the nicknames of the schools whose color is royal blue?
SELECT DISTINCT ?j WHERE { ?t property:nickname ?j . ?t property:colour resource:Royal_blue . ?t rdf:type ontology:School }
Hawks, Bison, The Generals, Hawk, Dandy, Lion
The nicknames of the schools whose colour is Royal blue are [Hawks, Bison, The Generals, Hawk, Dandy, Lion].
The nicknames of the schools in royal blue are [Hawks, Bison, Generals, Hawks, Dundee, Lion].