ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
Notes
2
3
Data scrapped using https://www.webscraper.io/
4
Sitemap data for webscrapper.io {"_id":"nzmuseums","startUrl":["https://www.nzmuseums.co.nz/collections?sort=name","https://www.nzmuseums.co.nz/collections?sort=name&page=[2-35]"],"selectors":[{"id":"entry","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.summary-item","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["entry"],"selector":"a.eh-summary-account-record-profile-name","multiple":false,"regex":"","delay":0},{"id":"description","type":"SelectorText","parentSelectors":["entry"],"selector":"p","multiple":false,"regex":"","delay":0},{"id":"link","type":"SelectorLink","parentSelectors":["entry"],"selector":"a.eh-summary-account-record-profile-name","multiple":false,"delay":0}]}
5
6
7
Scope
8
Add NZ Museums ID to existing entries in Wikidata
9
Add new Wikidata entries for organisations not in WIkidata
10
Improve Wikidata entries for New Zealand organisations
11
12
Log of activities
13
10 January 2021
Property proposal finalised https://www.wikidata.org/wiki/Wikidata:Property_proposal/NZ_Museums_ID
14
22 January 2021
Property created https://www.wikidata.org/wiki/Property:P9074
15
26 January 2021
Data extracted from nzmuseums.co.nz using webscraper - 419 results
16
27 January 2021
Initial go through using TABernacle to add NZ Museums ID (see TABernacle queries)
17
18
Progress (weekly intervals)Total IDsWith IDs% completed
19
22 January 202141940.95%
20
27 January 20214199121.72%
21
22
23
24
Things to do
25
Reconcile to what is already in Wikidata using OpenRefine
26
Add NZ Museums ID for existing organisations in Wikidata using quick statements
27
Add Wikidata entries for organisations not in Wikidata
28
Wikidata query - data + map: before and after
29
Communication - results (before, after, workflow, maintaining), at meetups, Wikipedia GLAM newsletter, representative organsiations in NZ
30
31
Query - organisations that have a NZ Museums ID recorded https://w.wiki/vru
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Query to list organisations that have a NZ Museums ID (property P9074)
# These organisations are listed at https://www.nzmuseums.co.nz

SELECT ?item ?itemLabel ?NZMuseumID
?countryLabel
WHERE
{
?item wdt:P9074 ?NZMuseumID .
OPTIONAL { ?item wdt:P17 ?country } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY (?itemLabel)
32
Query - museums and archives (including subclasses) in New Zealand NOT FINALISED, doesn't work correctly yet
# Museums and archives in New Zealand
# Includes art museums, excludes libraries
#defaultView:Table
SELECT DISTINCT ?museum ?museumLabel ?country WHERE {

?museum wdt:P31/wdt:P279* wd:Q33506 .
# ?museum wdt:P31/wdt:P279* wd:Q166118 .
?country wdt:P17 wd:Q664 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY (?museumLabel)
LIMIT 20
33
34
TABernacle list of NZ museums (included sub classes of)https://tabernacle.toolforge.org/?#/tab/sparql/%23Museums%20in%20New%20Zealand%0A%23defaultView%3ATable%0ASELECT%20DISTINCT%20%3Fmuseum%20%3FmuseumLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fmuseum%20(wdt%3AP31%2F(wdt%3AP279*))%20wd%3AQ33506%3B%0A%20%20%20%20wdt%3AP17%20wd%3AQ664.%20%0A%7DORDER%20BY%20ASC%20(%3FmuseumLabel)/L%3BDen%3BP361%3BP9074%3BP131%3BP276%3BP6375%3BP281%3BP1329%3BP2900%3BP968%3BP527%3BP18%3BP856%3BP31
35
TABernacle list of NZ archives (included sub classes of)https://tabernacle.toolforge.org/?#/tab/sparql/%23Archives%20in%20New%20Zealand%0A%23defaultView%3ATable%0ASELECT%20DISTINCT%20%3Farchive%20%3FarchiveLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Farchive%20(wdt%3AP31%2F(wdt%3AP279*))%20wd%3AQ166118%3B%0A%20%20%20%20wdt%3AP17%20wd%3AQ664.%20%0A%7DORDER%20BY%20ASC%20(%3FarchiveLabel)/L%3BDen%3BP361%3BP9074%3BP131%3BP276%3BP6375%3BP281%3BP1329%3BP2900%3BP968%3BP527%3BP18%3BP856%3BP31
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100