Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record identifiers #4

Open
nschorgh opened this issue Mar 10, 2021 · 1 comment
Open

record identifiers #4

nschorgh opened this issue Mar 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nschorgh
Copy link
Owner

For unique RDF record identifiers, generate hash codes based on the first five elements (country-code to other-cave-name).

To do that, either use existing MD5 hash-generator in cavexml.py and generate auxiliary XML file before applying cavexml2rdf.xquery, or re-implement hash generation within XQuery script.

@nschorgh nschorgh added the enhancement New feature or request label Mar 10, 2021
@nschorgh
Copy link
Owner Author

nschorgh commented Apr 3, 2021

@jmvanel
I made an attempt at getting proper record ids on each RDF UndergroundCavity record, with CaveXML2rdf.py. It generates unique hashes and two-letter country codes. Otherwise, it's more or less the same as CaveXML2rdf.xquery.

The output passes a RDF validator, except for slashes in the rdf:ID attribute, but these are present in the output of CaveXML2rdf.xquery as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant