Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

loading to LDR sandbox - local identifiers required #1

Open
meganrwong opened this issue Apr 20, 2021 · 2 comments
Open

loading to LDR sandbox - local identifiers required #1

meganrwong opened this issue Apr 20, 2021 · 2 comments

Comments

@meganrwong
Copy link
Contributor

meganrwong commented Apr 20, 2021

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
Copy link
Contributor Author

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

@dr-shorthair
Copy link
Member

Lets move the post-processing into a separate issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants