On Mon, Aug 21, 2017 at 12:37 PM Osma Suominen <osma.suominen@helsinki.fi> wrote:
Thanks Magnus, I hadn't noticed this sync function.

When I open the sync page, it says "24 connections on Wikidata, but not
here". I clicked on "Update Mix'n'match", and after a while it says
"Done", but when I refresh the page, it still says there are 24
connections. When I started it said 27, then after one update it was 26,
then 24, but now I can't get it any lower. I wonder what's going on?

There may be items with YSO IDs on Wikidata that are not in Mix'n'match.
 

It also says "3 connections here, but not on Wikidata". When I click on
Update Wikidata, I get to the Quick Statements tool, with three
statements that I suppose would add the missing connections. But when I
click on "Do it" nothing happens. I also checked the 3 generated YSO ID
statements, but they were already in Wikidata, added several days ago!

When you say "nothing happens", did you scroll down? There's a bug that shows the manual again, so the edits are going on "below the fold".

The "diff" functionality for sync uses the Wikidata SPARQL interface, which might lack the odd statement. Or the Q item in Mix'n'match is now deleted, or a redirect, in which case editing won't work.
 

So something seems fishy here, the numbers don't quite add up and
apparently not everything can be synced between Mix'n'match and
Wikidata. But I think the important information got synced, so all is
(relatively) well.

Automation can only cope with so much human activity :-(


Part of the reason may be that there are a few YSO concepts that are
linked to from Wikidata entities using the same YSO ID property, but
these are not included in the "YSO Places" catalog in Mix'n'match
because they are not places. I suspect at least some of those "24
connections on Wikidata, but not here" may be like that - they don't
match any of the IDs in the YSO Places catalog.

-Osma

Magnus Manske kirjoitti 21.08.2017 klo 12:25:
> There is a sync function per catalog, in your case:
>
> https://tools.wmflabs.org/mix-n-match/#/sync/473
>
> This is also linked from the "Action" drop-down menu for the respective
> catalog.
>
> I am running it now, so should be low numbers (14 not on Wikidata when I
> got there).
>
> On Mon, Aug 21, 2017 at 10:07 AM Osma Suominen
> <osma.suominen@helsinki.fi <mailto:osma.suominen@helsinki.fi>> wrote:
>
>     Hi,
>
>     We're more than halfway through mapping YSO places to Wikidata. Most of
>     the remaining are places that don't exist in Wikidata, and adding them
>     is quite labor-intensive so we will have to consider our strategy.
>
>     Anyway, I did some checking of what remains unmapped and noticed a
>     potential problem: some mappings for places that we have mapped using
>     Mix'n'match have not actually been stored in Wikidata. For example Q36
>     Poland ("Puola" in YSO Places) is such a case. In Mix'n'match it is
>     shown as manually matched (see attached screenshot), but in Wikidata the
>     corresponding YSO ID property doesn't actually exist for the entity. I
>     checked the change history of the Q36 entity and couldn't find anything
>     relevant there, so it seems that the mapping was never stored in
>     Wikidata. Maybe there was a transient error of some kind?
>
>     Another such case was Q1754 Stockholm ("Tukholma" in YSO places). But
>     for that one we removed the existing mapping in Mix'n'match and set it
>     again, and now it is properly stored in Wikidata.
>
>     Mix'n'match currently reports 4228 mappings for YSO places, while a
>     SPARQL query for the Wikidata endpoint returns 4221 such mappings. So I
>     suspect that this only affects a small number of entities.
>
>     Is it possible to compare the Mix'n'match mappings with what actually
>     exists in Wikidata, and somehow re-sync them? Or just to get the
>     mappings out from Mix'n'match and compare them with what exists in
>     Wikidata, so that the few missing mappings may be added there manually?
>
>     Thanks,
>     Osma
>
>
>     --
>     Osma Suominen
>     D.Sc. (Tech), Information Systems Specialist
>     National Library of Finland
>     P.O. Box 26 (Kaikukatu 4)
>     00014 HELSINGIN YLIOPISTO
>     Tel. +358 50 3199529 <tel:+358%2050%203199529>
>     osma.suominen@helsinki.fi <mailto:osma.suominen@helsinki.fi>
>     http://www.nationallibrary.fi
>     _______________________________________________
>     Wikidata mailing list
>     Wikidata@lists.wikimedia.org <mailto: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
>


--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata