Hi  Zbyszko!

Thank you! The problem indeed was in the missing namespace 122.

It works now, Q-items are returned from ns 120, and P-items from ns 122.

Sincerely,
Victor


> Date: Wed, 10 Feb 2021 10:22:24 +0100
> From: Zbyszko Papierski <[email protected]>
> To: Wikidata technical discussion <[email protected]>
> Subject: Re: [Wikidata-tech] Is updater script really updating the set
>         of properties?
> Message-ID:
>         <
> caasuyi8vx6jy4o9nea4+-rgq-bywsffv3suzg2eept9_g6g...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> Hi Victor,
> After discussing this with colleagues I'm still unable to tell you why
> recentchanges isn't sending out property changes. It definitely should, as
> you can clearly observe on production. Please verify if you're not using
> some filters on rcnamespace.
> Another issue is that even if you get it to work, properties may not be
> added properly to the triplestore, because the updater also filters out
> namespaces - by default 0 (Q-items) and 120(properties) are processed.
> Since wikibase uses different ones (120 and 122), you'd need to use
> runUpdate parameter *--entityNamespaces 120,122* (or other values you
> might've set up).
> Sorry I can't be more helpful - wikibase isn't my area of expertise.
> Zbyszko


On Mon, 8 Feb 2021 at 14:45, Victor Agroskin <[email protected]> wrote:

> Dear colleagues,
>
> I'm running a custom instance of Wikibase with SPARQL service and I'd
> noticed that updater service  (runUpdate.sh) doesn't really update
> triplestore with new properties created in my Wikibase instance.  As well
> as I can see, newly created P-item names aren't even returned by API call
> for "recentchanges". So new properties with their names and
> other attributes never appear in the triplestore after their creation.
>
> Once the property is used in some statement or qualifier, corresponding
> triples are put into the triplestore immediately, but the property remains
> without names or descriptions.
>
> Is it because properties are managed centrally in Wikidata? Is it assumed
> that I should reload a full snapshot each time I create a new property? Or
> is it some bug on my side?
>
> Thank you for your help!
> Victor Agroskin
>
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

Reply via email to