query: #defaultView:Map
  # 
  # Narrative locations of TV series and episodes
  # - define more with P840 on items for series or episodes
  # - discuss on https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_Movies
  # query by Jura1, 2018-04-25
  SELECT  DISTINCT ?seriestitle ?narrativelocation ?narrativelocationLabel   ?coor   ?layer ?layerLabel ?episode ?episodeLabel 
  WHERE
  {
  	{ ?layer wdt:P31 wd:Q5398426 ; wdt:P840 ?narrativelocation } 
      UNION { ?episode wdt:P31 wd:Q21191270 ; wdt:P179 ?layer ; wdt:P840 ?narrativelocation }
      UNION { ?episode wdt:P31 wd:Q506240 ; wdt:P179 ?layer ; wdt:P840 ?narrativelocation . ?layer wdt:P31 wd:Q5398426 }
      ?narrativelocation wdt:P625 ?coor . 
      FILTER NOT EXISTS { ?layer wdt:P136 wd:Q182415 }  
      FILTER NOT EXISTS { ?layer wdt:P136 wd:Q93204 }  
      OPTIONAL { ?layer wdt:P1476 ?seriestitle }
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  }