This metadata-docs/ directory contains metadata technical documentation and specifications that don't fit in the existing codebase documentation methods, but require management, a review process, and versioning beyond what is captured in the GitHub wiki. In particular, when a Hyrax version is released, the metadata-docs/ travel with the codebase and indicate the current metadata specifications followed in that release. This documentation doesn't indicate recommendations for individual implementations of Hyrax (your metadata documentation will no doubt vary), but aims to clarify what metadata specifications exist in the core Hyrax codebase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # script modified from https://github.com/rhasan/sw/blob/master/genames/convert2ntriples.py | |
| # This script will take genames rdf dump available here http://download.geonames.org/all-geonames-rdf.zip | |
| # and convert each triples to N-Triple seralization. | |
| # The dump has one rdf document per toponym on every line of the file. | |
| # The produced N-Triples will be written in geonames.nt file. The final geonames.nt file is approximately 13.21GB | |
| #!/usr/bin/python | |
| import rdflib | |
| fo = open("geonames.nt", "wb") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
| @prefix pcdm: <http://pcdm.org/models#> . | |
| @prefix skos: <http://www.w3.org/2004/02/skos/core#> . | |
| @prefix acl: <http://www.w3.org/ns/auth/acl#> . | |
| @prefix pcdmfmt: <http://pcdm.org/file-format-types#> . | |
| @prefix pcdmuse: <http://pcdm.org/use#> . | |
| @prefix xml: <http://www.w3.org/XML/1998/namespace> . | |
| @prefix rel: <http://id.loc.gov/vocabulary/relators/> . | |
| @prefix dcterms: <http://purl.org/dc/terms/> . | |
| @prefix fedoraconfig: <http://fedora.info/definitions/v4/config#> . |