query: #Actors whose Spanish label ends with “ (actor)”
  #added before 2016-10
  
  # Actors whose Spanish label ends with “ (actor)”.
  # This is almost certainly imported from the Wikipedia label, which needs to be unique (distinguish between John Doe the actor, John Doe the author, etc.).
  # Wikidata labels have no such restrictions, and therefore should contain no such disambiguatory additions.
  # Most likely, all these “ (actor)” suffixes can be removed.
  # (This concept obviously applies equally to other professions and languages.)
  SELECT ?person ?label (LANG(?label) AS ?lang)
  WHERE
  {
    ?person wdt:P31 wd:Q5;
            wdt:P106 wd:Q33999;
            rdfs:label ?label.
    FILTER(LANG(?label) = "es").
    FILTER(STRENDS(?label, " (actor)")).
  }