Skip to content

Raw data

Lars Berg Hustveit edited this page Jan 22, 2019 · 3 revisions

Raw data

Article metadata from our [web archive](https://leksikon.fylkesarkivet.no/ and https://encyclopedia.fylkesarkivet.no/) is publically available as raw data. It is available as open linked data in the format of RDF Turtle.

Permanent identifier

Each article (thing/resource) has a permanent identifier that is globally unique. It comes in the form of an Internationalized Resource Identifier (IRI). The permanent identifier makes it possible to link to our articles from any system.

Example:

https://resource.fylkesarkivet.no/article/d089f86a-55a7-4bb5-a3be-35858b217f56#

Permanent identifier link redirect

Any request to a permanent article identifier will redirect to our publicly available presentation page for the article, unless the request ask for "Content-Type", "text/turtle", in the header.

“Content-Type: text/turtle” requests will redirect to the public available metadata we have about the article. Example:

https://article-raw-data.fylkesarkivet.no/article/rdf-turtle/d089f86a-55a7-4bb5-a3be-35858b217f56

Article list

This resource list all articles in the web archive:

https://article-raw-data.fylkesarkivet.no/article/rdf-turtle/version-code-graph

Version code

Each identifier comes with a metadata version code. It changes when metadata about the thing have changed in our web archive.

Example:

<https://resource.fylkesarkivet.no/article/d089f86a-55a7-4bb5-a3be-35858b217f56#> <https://ontology.fylkesarkivet.no/article#DataVersion> "2018-11-16T13:51:56".

Q: What articles are listed in the graph?

A: All published articles are listed in the graph.

Q: How are deleted articles detected?

A: Deleted articles will just disappear from the list.

Ontology

The ontology contains a taxonomy in which the articles are ordered:

https://article-raw-data.fylkesarkivet.no/article-ontology

Taxonomy

Example:

:Accommodation a owl:Class;
   rdfs:label "Accommodation"@en,
              "Losji"@no;
   rdfs:subClassOf :Building.

Parse RDF Turtle format

In order to parse the RDF Turtle format, we recommend using dotNetRDF, a complete library for parsing, managing, querying and writing RDF. See their documentation on GitHub for examples on how to do this.

Data set profiles

This data set is published trough these profiles:

Data set included in services

This data set is presented as content through these services: