Internal scripts to play with Kangyur correspondence tables
Kangyurs:
W22084
,O1GS12980
(D) contains IDs forD
(~correct) andToh
W4CZ5369
,O4CZ5369
(D), idemW30532
, (no outline) (D), idemW1PD96682
,O1PD112371
(A), no catalogue indication in the outlineW4CZ7445
,O1PD185519
(J), idemW22703
,O01JW005
(N) contains IDs forD
,H
andN
(~correct)W26071
,O1PD11016
(H) contains IDs forD
,H
(~correct) andN
W29468
,O1PD19510
(U) contains IDs forD
,H
andN
(what would be correct? no idea, maybeN
)W1PD96685
,O4CZ3720
(C) contains IDs forN
,S
,D
,H
W22083
,O01CT0007
(S) contains IDs forS
(~correct),D
Tengyurs:
W1GS66030
,O2DB20796
(C) contains IDs forToh
W23703
,O1GS6011
(D), idemW22704
,O2DB75712
(N), contains IDs forD
,Q
(~correct?) andG
W1KG13126
,O1PD181215
(Q), contains IDs forQ
(~correct?) andG
W1PD95844
,O2MS16391
(A), contains IDs forToh
(~correct?),Q
andG
W23702
,O00CR0008
(G),Q
(~correct?) andG
Example of SPARQL request to produce the csv files:
PREFIX bdo: <http://purl.bdrc.io/ontology/core/>
PREFIX bdr: <http://purl.bdrc.io/resource/>
PREFIX adm: <http://purl.bdrc.io/ontology/admin/>
SELECT ?nodeId ?N ?D
WHERE {
GRAPH bdr:W1PD96682 {
?subject adm:workLegacyNode ?nodeId .
OPTIONAL { ?subject bdo:workKaTenSiglaD ?D }
OPTIONAL { ?subject bdo:workKaTenSiglaH ?N }
FILTER ( bound(?N) || bound(?D) )
}
}