I think my wikibase https://ottgaz.org, hosted on wikibase.cloud, needs to be reindexed. Certain SPARQL queries aren't working. More generally, I would like to understand how indexing works--is there a way to know when/if data is not indexed?
Steps to replicate the issue (include links if applicable):
My queries are not returning all the results I'd expect. For example, this query (meant to return all subregions of the superregion Q39) does not return https://ottgaz.org/wiki/Item:Q128, even though it has a status property object with the qualifier Q39.
query: # regions contained by Edirne (Q39) PREFIX og: <https://ottgaz.org/entity/> PREFIX ogs: <https://ottgaz.org/entity/statement/> PREFIX ogv: <https://ottgaz.org/value/> PREFIX ogt: <https://ottgaz.org/prop/direct/> PREFIX ogp: <https://ottgaz.org/prop/> PREFIX ogps: <https://ottgaz.org/prop/statement/> PREFIX ogpq: <https://ottgaz.org/prop/qualifier/> SELECT ?subregion ?subregionLabel ?statusLabel WHERE { ?subregion ogp:P15 ?statement. ?statement ogps:P15 ?status. ?statement ogpq:P34 og:Q39. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } }
On Telegram, GreenReaper helped me with the following:
The ones that appear there were modified two days ago while the one that does not was only modified a week ago. Perhaps the indexing was not working properly at that time, in which case this is a Wikibase.cloud issue. I expect if modified it would start showing up.
I modified one item and it did indeed show up.
Later GreenReaper wrote
Not sure ?action=purge will do it. I think you might need to get the cloud team to reindex it. I think they have a method of doing it on their end.
Thanks for any specific and general advice. I'm hoping I don't have to request reindexing all that often--invisible data makes me nervous!