Re: [Wikidata] Where did label filtering break recently and how?

2019-06-01 Thread Lucas Werkmeister
For this query, you can also use the regular Wikibase search, either skipping the query service completely – https://www.wikidata.org/wiki/Special:Search/haswbstatement:P31=Q2085381 inlabel:simon@en

Re: [Wikidata] Where did label filtering break recently and how?

2019-06-01 Thread Thad Guidry
Found my answer !!! had to go back to the SPARQL Tutorial page and re-read the section on FILTER ...specifically... The label service is very useful if you just want to display the label of a > variable. *But if you want to do stuff

Re: [Wikidata] Where did label filtering break recently and how?

2019-06-01 Thread Thad Guidry
Thanks Andra. Is there no way to proactively without using a 2nd outer query to constrain the query within the WHERE clause? To help with faster query response? In other words, hitting some index so that only publishers containing "simon" are returned. I'm having to relearn some of this after

Re: [Wikidata] Where did label filtering break recently and how?

2019-05-31 Thread Andra Waagmeester
Yes that is indeed my experience as well. You can process the results but then in a SELECT within a SELECT query. This works: SELECT * WHERE { {SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q2085381. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

Re: [Wikidata] Where did label filtering break recently and how?

2019-05-31 Thread Nicolas VIGNERON
Hi Thad, Did it ever works? It was my understanding that if you want to manipulate the label (or the description, or the alias), you need to explicitly call it and that the SERVICE was for display only. At least, this is with this assumption that I always wrote my query (or explained during

Re: [Wikidata] Where did label filtering break recently and how?

2019-05-30 Thread Stas Malyshev
Hi! > and if I enable any of the FILTER lines, it returns 0 results. > What changed / Why ? Thanks for reporting, I'll check into it. -- Stas Malyshev smalys...@wikimedia.org ___ Wikidata mailing list Wikidata@lists.wikimedia.org

Re: [Wikidata] Where did label filtering break recently and how?

2019-05-30 Thread Fariz Darari
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