Hello,

I also got a similar problem, the following does not return the label:

SELECT ?res ?resLabel WHERE {
SELECT ?res ?resLabel
WHERE {
   ?res wdt:P31 wd:Q5 .
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} LIMIT 1
}

Regards,
Fariz

On Fri, May 31, 2019 at 8:05 AM Thad Guidry <thadguidry@gmail.com> wrote:
My Query:

SELECT ?item ?itemLabel  WHERE {
   ?item wdt:P31 wd:Q2085381.

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  #   FILTER(CONTAINS(LCASE(?itemLabel), "simon"))
  #   FILTER (LANG(?itemLabel)="en")
}

and if I enable any of the FILTER lines, it returns 0 results.
What changed / Why ?

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata