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.
  FILTER((LANG(?instanza_diLabel)) = "en").
  FILTER(CONTAINS(LCASE(?instanza_diLabel), "biokis"))
}
LIMIT 100

At least one article should be returned: 
but I got a timeout.

Thanks to anybody that can help

Fabrizio


Il giorno ven 14 dic 2018 alle ore 10:12 Ettore RIZZA <ettorerizza@gmail.com> 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.

Cheers,

Ettore Rizza


Le ven. 14 déc. 2018 à 09:59, Fabrizio Carrai <fabrizio.carrai@gmail.com> a écrit :
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
_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


--
Fabrizio