Property talk:P7859
Documentation
Lua error in Module:Property_documentation at line 1669: Entity not found.
Lua error in Module:Constraints at line 864: attempt to index local 'propertyentity' (a nil value).
value starting with "viaf-" doesn't match VIAF ID (P214)-value (Help)
Violations query:
SELECT ?item ?value { ?item wdt:P7859 ?value . OPTIONAL { ?item wdt:P214 ?viaf . BIND( concat("viaf-", ?viaf ) as ?viafvalue) } FILTER NOT EXISTS { ?item wdt:P7859 ?viafvalue } FILTER NOT EXISTS { ?item p:P7859 / ps:P7859 ?viafvalue } FILTER ( regex ( ?value, "^viaf-.*" ) ) } LIMIT 500
List of this constraint violations: Database reports/Complex constraint violations/P7859#Value doesn't match P214
value starting with "lccn-" doesn't match Library of Congress authority ID (P244)-value (Help)
Violations query:
SELECT ?item ?value ?lccn { ?item wdt:P7859 ?value . OPTIONAL { ?item wdt:P244 ?lccn . BIND( concat("lccn-", ?lccn ) as ?lccnvalue ) } FILTER NOT EXISTS { ?item wdt:P7859 ?lccnvalue } FILTER NOT EXISTS { ?item p:P7859 / ps:P7859 ?lccnvalue } FILTER ( regex ( ?value, "^lccn-.*" ) ) } LIMIT 500
List of this constraint violations: Database reports/Complex constraint violations/P7859#Value doesn't match P244
type constraint
i added a new type constraint for the class event (Q1656682) because also conferences like German Librarians Day Conference 1973 (Q62033327) have a P7859 (P7859). --Mfchris84 (talk) 05:45, 25 March 2020 (UTC)
novalue
Is it valid to use special novalue setting in this property? There are known cases when item has VIAF or LCCN (or both) but any WorldCatId created using those values does not work. Paweł Ziemian (talk) 21:00, 27 March 2020 (UTC)
- There is dedicated category in plwiki "pl:Kategoria:Kontrola autorytatywna bez linku do WorldCat", which groups articles where WorldCatId is manually disabled in a template. Paweł Ziemian (talk) 21:05, 27 March 2020 (UTC)
- @Paweł Ziemian: The allowed values are shown in the format regex above. You are right that some VIAF don't have a WorldCat page of either kind. But I would not import "novalue" claims because new links are added continuously (see last section), and at some point we'd have to remove these claims. Instead, I'd watch for incorrect values and take measures against that. --Vladimir Alexiev (talk) 14:20, 10 April 2020 (UTC)
negative type constraint
Notified participants of WikiProject Authority control, also
@ديفيد عادل وهبة خليل 2, Epìdosis, Salgo60, Animalparty, Jura1, ArthurPSmith:
I noticed people use P7859 (P7859) for books while they should use OCLC control number (P243). Eg see https://www.wikidata.org/w/index.php?title=Q48837289&action=history, and a full list of mistakes is below. Any takers to correct these? I fixed the first couple.
155331401 Q48837289 316763896 Q5223184 316942938 Q87140025 432822520 Q48837289 61935747 Q3236166 664802524 Q10316960 78751353 Q48837289 883743583 Q3391127 973542923 Q15595065
P7859 (P7859) already has type constraint (thanks @Mfchris84:). Can someone in the know add a negative type constraint to forbid the classes allowed for OCLC control number (P243)?
I added a note in the description --Vladimir Alexiev (talk) 14:14, 10 April 2020 (UTC)
initial load and refresh
Notified participants of WikiProject Authority control, also
@ديفيد عادل وهبة خليل 2, Epìdosis, Salgo60, Animalparty, Jura1, ArthurPSmith:
I finished importing 1683978 WorldCat ID from VIAF 20191104. I did it with QuickStatements batches (86 batches of 40k statements or 20k identifiers each). It took 2 months and 1 week to process them (from 4 Feb 2020 to 10 Apr 2020). 30326 (1.8%) failed to insert on this initial load because high load causes QS errors (timeouts when adding statements, then the corresponding reference also fails).
I also collected 57 errors (exceptions) from WD editor reverts of my inserts. I put them down at https://en.wikipedia.org/wiki/Wikipedia:VIAF/errors#WorldCat_Identities_errors. I will submit these to OCLC for correction.
Now I plan to do a refresh.
- From WD I got 2072346 VIAF ids
- From WD I got 1683967 WorldCat ids: 1096206+587684 (lccn+viaf)
- From VIAF http://viaf.org/viaf/data/viaf-20200302-links.txt.gz (7Gb unzipped) I got 20194854 WorldCat ids: 8521769+11673083+2 (lccn+viaf+other). This is growth by 275671 (1.36%) in 4 months (compared to 20191104)
- WD items with VIAF but no WorldCat: 377995
- Intersect with VIAF-WorldCat and remove exceptions: 57962
- Submitted 3 QuickStatements batches with the following number of lines
20001 wd-identities-new-00 20001 wd-identities-new-01 17963 wd-identities-new-02