Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-13 Thread Nicola Vitucci
Hi all, > I agree that creating such a UI should not be left to WMF or WMDE > developers. The SPARQL web api is there for everybody to use. One could > also start from general SPARQL tools such as YASGUI (about.yasgui.org) > as a basis for SPARQL editor. > > An extra step should not be needed.

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-09 Thread Markus Krötzsch
Good morning :-) On 09.09.2015 00:45, Stas Malyshev wrote: Hi! P.S. I am not convinced yet of this non-standard extension of SPARQL to fetch labels. Its behaviour based on the variables given in SELECT seems You don't have to use variables in SELECT, it's just a shortcut. What I meant

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Stas Malyshev
Hi! > As suggested somewhere far above, it would be great for the community to > catalogue the queries that are most important for their use cases that > do not do well on the SPARQL endpoint. Its likely that the list isn't > going to be super-long (in terms of query structure), hence it might >

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Lydia Pintscher
On Tue, Sep 8, 2015 at 9:52 PM, Stas Malyshev wrote: > Hi! > >> Yes it is the continuation of the beta on labs. >> Stas: Do you want to turn that into a redirect now? > > Not sure yet what to do with it. I want to keep the labs setup for > continued development work,

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Stas Malyshev
Hi! > Yes it is the continuation of the beta on labs. > Stas: Do you want to turn that into a redirect now? Not sure yet what to do with it. I want to keep the labs setup for continued development work, especially when potentially breaking things, but we do want to redirect most of the people

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Andra Waagmeester
I think a blinking banner would work on the main side. However, you would miss people like me, who use the service mainly from within R or my text editor (Text mate with turtle bundle). I wouldn't see a blinking banner. On Tue, Sep 8, 2015 at 9:55 PM, Lydia Pintscher <

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Stas Malyshev
Hi! > Before turning that it into a redirect, it might be worth looking at > the content. There seems to be some discrepancy between the results > from http://wdqs-beta.wmflabs.org/ and those from > http://query.wikidata.org. When submitted to both endpoints the > following query returns

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Stas Malyshev
Hi! > Anyone an idea why this query has a trouble when I add the OPTIONAL keyword? > > *http://tinyurl.com/pgsujp2* > > Doesn't look much harder than the queries in the examples. It's not because it's harder. It's because ?head can be unbound, and you can not apply label service to unbound

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread James Heald
It seems to be that it doesn't like looking up the label for ?head when ?head is undefined. Without ?headLabel it runs fine: http://tinyurl.com/p6rfpgv -- James. On 08/09/2015 22:56, Denny Vrandečić wrote: Anyone an idea why this query has a trouble when I add the OPTIONAL keyword?

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Markus Krötzsch
On 08.09.2015 23:56, Denny Vrandečić wrote: Anyone an idea why this query has a trouble when I add the OPTIONAL keyword? *http://tinyurl.com/pgsujp2* Doesn't look much harder than the queries in the examples. Looking at the bottom of the exceptions, you can see that the system simply

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Nicola Vitucci
Il 09/09/2015 00:13, Markus Krötzsch ha scritto: > On 09.09.2015 00:07, Markus Krötzsch wrote: >> On 08.09.2015 23:56, Denny Vrandečić wrote: >>> Anyone an idea why this query has a trouble when I add the OPTIONAL >>> keyword? >>> >>> *http://tinyurl.com/pgsujp2* >>> >>> Doesn't look much harder

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Andra Waagmeester
Hi Denny, The following R script ( https://gist.github.com/andrawaag/2b8c831ab4dd70b16cf2) plots wikidata content on a worldmap in R. Andra On Tue, Sep 8, 2015 at 10:19 PM, Denny Vrandečić wrote: > Is there a write up of how you are using Wikidata from R? That sounds >

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Markus Krötzsch
On 09.09.2015 00:07, Markus Krötzsch wrote: On 08.09.2015 23:56, Denny Vrandečić wrote: Anyone an idea why this query has a trouble when I add the OPTIONAL keyword? *http://tinyurl.com/pgsujp2* Doesn't look much harder than the queries in the examples. Looking at the bottom of the

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Stas Malyshev
Hi! > It seems the implementation of the label service needs some improvement > to support unbound variables (which should then return unbound labels, > rather than throw a runtime exception ;-). Not sure whether this is possible (need to research it) but if it is, yes, that probably would be

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Markus Krötzsch
On 09.09.2015 00:13, Stas Malyshev wrote: Hi! Anyone an idea why this query has a trouble when I add the OPTIONAL keyword? *http://tinyurl.com/pgsujp2* Doesn't look much harder than the queries in the examples. It's not because it's harder. It's because ?head can be unbound, and you can

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Denny Vrandečić
Anyone an idea why this query has a trouble when I add the OPTIONAL keyword? *http://tinyurl.com/pgsujp2 * Doesn't look much harder than the queries in the examples. On Tue, Sep 8, 2015 at 1:39 PM Andra Waagmeester wrote: > Hi Denny, > > The

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Lydia Pintscher
On Tue, Sep 8, 2015 at 1:21 PM, Andra Waagmeester wrote: > Great news! I have been using its predecessor on > http://wdqs-beta.wmflabs.org/ for some time now, and can only say that I am > quite enthusiastic. Is query.wikidata.org a continuation of the wdqs on wmf > labs? I

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Lydia Pintscher
On Tue, Sep 8, 2015 at 6:15 PM, Markus Krötzsch wrote: > On 08.09.2015 18:06, Benjamin Good wrote: >> >> Chiming in my excitement that the sparql service is 'officially' up! >> >> As suggested somewhere far above, it would be great for the community to >> catalogue

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread James Heald
It may not be time to retire WDQ quite just yet... Further to what Markus wrote earlier, it does seem that there are still some queries that are a *lot* faster on WDQ than on this initial release of WQS. For example, as described on Project Chat here,

Re: [Wikidata] Announcing the release of the Wikidata Query Service

2015-09-08 Thread Andra Waagmeester
lydia, Before turning that it into a redirect, it might be worth looking at the content. There seems to be some discrepancy between the results from http://wdqs-beta.wmflabs.org/ and those from http://query.wikidata.org. When submitted to both endpoints the following query returns different