Re: [Wikidata] Query on scholarly article fails

2018-12-15 Thread Egon Willighagen
you can't fulltext search all the scholarly articles >>>> <https://www.wikidata.org/wiki/Q13442814> , you should better work >>>> with indexed properties, so >>>> you can query for other articles with microgravity as main subject ... >>>> Wit

Re: [Wikidata] Query on scholarly article fails

2018-12-15 Thread Fabrizio Carrai
with >>> indexed properties, so >>> you can query for other articles with microgravity as main subject ... >>> With the ajax based wikidata search >>> >>> SELECT ?item >>> WHERE { >>> ?item wdt:P31 wd:Q13442814; >>>

Re: [Wikidata] Query on scholarly article fails

2018-12-15 Thread Egon Willighagen
>> *Gesendet:* Freitag, 14. Dezember 2018 um 18:55 Uhr >> *Von:* "Fabrizio Carrai" >> *An:* "Discussion list for the Wikidata project" < >> wikidata@lists.wikimedia.org> >> *Betreff:* Re: [Wikidata] Query on scholarly article fails >> Than

Re: [Wikidata] Query on scholarly article fails

2018-12-14 Thread Matthias Erfurth
;           wdt:P921 wd:Q48655. }   Best regards,   ciao matthias     Gesendet: Freitag, 14. Dezember 2018 um 18:55 Uhr Von: "Fabrizio Carrai" An: "Discussion list for the Wikidata project" Betreff: Re: [Wikidata] Query on scholarly article fails Thanks ag

Re: [Wikidata] Query on scholarly article fails

2018-12-14 Thread Fabrizio Carrai
Thanks again to Ettore, but I immediately found another timeout problem when I just added a FILTER to find all the articles with the word "biokis" in the title SELECT ?istanza_di ?instanza_diLabel WHERE { ?istanza_di wdt:P31 wd:Q13442814. ?istanza_di rdfs:label ?instanza_diLabel.

Re: [Wikidata] Query on scholarly article fails

2018-12-14 Thread Darren Cook
> It seems that the problem comes from SERVICE wikibase:label. As said in > another > discussion, ... I noticed I could also specify AUTO_LANGUAGE in the filter, and it is still a quick query: SELECT ?istanza_di ?instanza_diLabel WHERE { ?istanza_di wdt:P31 wd:Q13442814. ?istanza_di

Re: [Wikidata] Query on scholarly article fails

2018-12-14 Thread Fabrizio Carrai
Thanks! Fabrizio Il giorno ven 14 dic 2018 alle ore 10:12 Ettore RIZZA ha scritto: > Hello Fabrizio, > > It seems that the problem comes from SERVICE wikibase:label. As said in > another discussion, the query executes in less than one second if you rewrite > it in this way >

Re: [Wikidata] Query on scholarly article fails

2018-12-14 Thread Ettore RIZZA
Hello Fabrizio, It seems that the problem comes from SERVICE wikibase:label. As said in another discussion, the query executes in less than one second if you rewrite it in this way

[Wikidata] Query on scholarly article fails

2018-12-14 Thread Fabrizio Carrai
Hello all, the following query ends with a timeot: SELECT ?istanza_di ?istanza_diLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?istanza_di wdt:P31 wd:Q13442814. } LIMIT 10 Can anybody explain why ? Thanks in advance -- *Fabrizio*