SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Boston> . ?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>}
Give me all tv shows which are based in boston and massachusetts?
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Television_Show . ?b property:location resource:Boston . ?b property:location resource:Massachusetts }
Cheers, Boston EMS (TV series), Save My Life: Boston Trauma, Evening at Pops, Penny Arcade Expo
The television shows located in Boston and Massachusetts are [Cheers, Boston EMS (TV series), Save My Life: Boston Trauma, Evening at Pops, Penny Arcade Expo].
TV shows in Boston and Massachusetts [Cheers, Boston EMS (TV series), Save My Life: Boston Trauma, Evening at Pops, Penny Arcade Expo].