SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Massachusetts> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
Which televison shows have location as Massachusetts ?
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Television_Show . ?i property:location resource:Massachusetts }
Cheers, October Road, Boston EMS (TV series), Save My Life: Boston Trauma, On Harvard Time, Evening at Pops, Penny Arcade Expo
The televison shows that have location as Massachusetts are [Cheers, October Road, Boston EMS (TV series), Save My Life: Boston Trauma, On Harvard Time, Evening at Pops, Penny Arcade Expo].
In Massachusetts they are shooting TV shows [Cheers, October Road, Boston EMS (TV series), Save My Life: Boston Trauma, On Harvard Time, Evening at Pops, Penny Arcade Expo].