query-f01c6ef8872b5fc64185b3643fb8ab70
Query server 17:23, 23 January 2020 (UTC) JuraIt seems to show old (yesterday's) cached versions of queries (despite displaying a lag of just a few minutes) or time-out. --- 10:12, 24 January 2020 (UTC)) talk (GLederrey (WMF)Do you have an example of such a query? Running a few of the example queries, I don't see them being cached. But I'm unsure what to check for in term of content. We might have some triples that are not updated as they should. More context would help us understand what might be wrong. 15:00, 2 February 2020 (UTC) JuraThis used to give up to date data. Now it tends to be outdated or fail entirely. However, the later doesn't seem to throw an error. --- I think it may have something to do with the use of the search api with SERVICE wikibase:mwapi : thanks for looking into this. Sorry for not getting back earlier, but I have trouble finding queries that consistently fail.GLederrey (WMF)@: GLederrey (WMF)@
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT * WHERE
{
BIND( "Joe haswbstatement:P31=Q5 -haswbstatement:P735" as ?search)
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org" ; wikibase:api "Generator" ;
mwapi:generator "search" ; mwapi:gsrsearch ?search ;
mwapi:gsrlimit "max" ; mwapi:gsrnamespace "0" .
?article wikibase:apiOutput mwapi:title .
}
BIND(URI(CONCAT("http://www.wikidata.org/entity/",?article) ) as ?item)
}
LIMIT 10