ANZSoilData / aus-vocab

SCMA work now in https://github.com/ANZSoilData/def-au-scma
1 stars 0 forks source link

loading to LDR sandbox - local identifiers required #1

Open meganrwong opened 3 years ago

meganrwong commented 3 years ago

From @dr-shorthair 19 Mar 2021 To make it easy to load in the sandbox and then transfer to the permanent location, the entries should have local identifiers, for example

<1A2> a skos:Concept, sosa:Procedure;
  dct:description "Field sampling - diagnostic"@en;
  dct:identifier "http://anzsoil.org/def/au/scma/1A2"^^xsd:anyURI;
  dct:source "ISBN 9780643101364"@en;
  rdfs:label "Field sampling - diagnostic"@en;
  skos:definition "Field sampling - diagnostic"@en;
  skos:inScheme <>;
  skos:member <1> ;
  skos:notation "1A2";
  skos:prefLabel "Field sampling - diagnostic"@en;
  skos:topConceptOf <> .

However, it doesn’t look like SKOS-Play! Will do this, so there may have to be a post-processing edit (I do this routinely when loading into the LDR.)

This regex will make the change the s: identifiers throughout the file –

Find s:([0-9][0-9a-zA-Z]*)
Replace <$1>
meganrwong commented 3 years ago

Identifier throughout is http://registry.it.csiro.au/sandbox/soil/scma/ Requires post-processing edit to http://anzsoil.org/def/au/scma/

dr-shorthair commented 3 years ago

Lets move the post-processing into a separate issue.