RDF representation english version
The National Archives use RDF for representing single records, serialzed as RDF/XML and JSON-LD. Mapping the data to RDF is a work in progress, currently incomplete.
Previously, there is linked data for topographies, specifically older settlements (villages, farmsteads), registered in the TORA project. The TORA resources are externally stored in EntryScape, which also provides a web app for searching and preentation. The RDF representation in EntryScape has some minor differences from what is used elsewhere, e.g. the URIs using https instead of http.
The RDF resources have a http URI in the domain data.riksarkivet.se for persistent identifier.
The handling of URIs and HTTP requests is based on the Cool URIs recommendation. The URIs http://data.riksarkivet.se/... return a redirect controlled by the Accept header in the GET request:
Accept | Redirect to | Result | Example |
---|---|---|---|
text/html (default, also used when there is no Accept header) | https://sok.riksarkivet.se/{object type}/{pid} | Web page, presentation in the search service | GET http://data.riksarkivet.se/archive/497YFecRrH6d0G02H087k3 -> https://sok.riksarkivet.se/arkiv/497YFecRrH6d0G02H087k3 |
application/rdf+xml | https://data.riksarkivet.se/{object type}/{pid}.rdfxml | RDF representation, serialized as RDF/XML | GET http://data.riksarkivet.se/archive/497YFecRrH6d0G02H087k3 Accept: application/rdf+xml -> https://data.riksarkivet.se/archive/497YFecRrH6d0G02H087k3.rdfxml |
application/ld+json | https://data.riksarkivet.se/{object type}/{pid}.jsonld | RDF representation, serialized as JSON-LD | GET http://data.riksarkivet.se/archive/497YFecRrH6d0G02H087k3 Accept: application/ld+json -> https://data.riksarkivet.se/archive/497YFecRrH6d0G02H087k3.jsonld |
The National Archives have not created a dedicated ontology. Data are mapped to classer and properties from different existing schemas when there is a good correspondence. Data element which have no direct correspondence in established schemas are mapped to classes and properties in the namespaces http://data.riksarkivet.se/schema/ and http://data.riksarkivet.se/tora/.