NXDG 2024 - Amsterdam - 17th September 2024
(TNA)
TNA in Kew
Formalised closure with 50 year period from date of creation
Reduced closure period to 30 years
Removed closure altogether unless exemption applied
Started 2019
Scope: identify and prove a new data model and technology stack for a PROCat replacement
@prefix premis: <http://www.loc.gov/premis/rdf/v3/> .
@prefix schema: <https://schema.org/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix cat: <http://catalogue.nationalarchives.gov.uk/> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
cat:ADM.2021.2NW6VY.P.1
a premis:IntellectualEntity ;
schema:identifier [
a schema:identifier ;
schema:propertyID <http://www.nationalarchives.gov.uk/ont.ccr> ;
schema:value "ADM 53/121006"
] ;
dct:abstract
"<scopecontent><p>BIRMINGHAM</p></scopecontent>"^^rdf:XMLLiteral ;
dct:accessRights [
a dct:RightsStatement ;
odrl:hasPolicy
cat:policy.Open_Description,
cat:policy.Normal_Closure_before_FOI_Act_30_years_from_1945-05-31
] .
"An Asset class is a resource or a collection of resources that are the subject of a Rule. The Asset can be any form of identifiable resource, such as data/information, content/media, applications, services, or physical artefacts."
ODRL Information Model 2.2
odrl:readDescription
rdf:type owl:NamedIndividual , skos:Concept , odrl:Action ;
odrl:includedIn odrl:read ;
rdfs:isDefinedBy odrl: ;
rdfs:label "Read Description"@en ;
skos:definition "To read a record description." .
odrl:readDocument
rdf:type owl:NamedIndividual , skos:Concept , odrl:Action ;
odrl:includedIn odrl:read ;
rdfs:isDefinedBy odrl: ;
rdfs:label "Read Document"@en ;
skos:definition "To read a record document." .
"The National Archives prohibits the public from reading the record description or realisation."
"The National Archives (assigner) prohibits (prohibition) the public (assignees) from reading (action) the record description or record document (asset)"
@prefix cat: <http://catalogue.nationalarchives.gov.uk/> .
@prefix nat: <http://www.nationalarchives.gov.uk/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
cat:policy.Closure
rdf:type odrl:Policy, odrl:Offer ;
rdfs:label "Closure"^^xsd:string ;
odrl:conflict odrl:perm ;
odrl:profile nat:odrl-profile ;
odrl:prohibition [ rdf:type odrl:Prohibition ;
odrl:assigner cat:The_National_Archives ;
odrl:assignee cat:The_Public ;
odrl:action odrl:read ] .
"The National Archives prohibits The Public from reading a record description."
"The National Archives (assigner) prohibits (prohibition) The Public (assignee) from reading (action) a record description (asset)."
@prefix cat: <http://catalogue.nationalarchives.gov.uk/> .
@prefix nat: <http://www.nationalarchives.gov.uk/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
cat:policy.Closed_Description
rdf:type odrl:Policy ;
rdfs:label "Closed Description"^^xsd:string ;
odrl:conflict odrl:perm ;
odrl:profile nat:odrl-profile ;
odrl:inheritFrom cat:policy.Closure .
"The National Archives (assigner) prohibits (prohibition) The Public (assignees) from reading (action) a record document (asset)."
@prefix cat: <http://catalogue.nationalarchives.gov.uk/> .
@prefix nat: <http://www.nationalarchives.gov.uk/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
cat:policy.Closed_or_Retained_Document
rdf:type odrl:Policy ;
rdfs:label "Closed or Retained Document"^^xsd:string ;
odrl:conflict odrl:perm ;
odrl:profile nat:odrl-profile ;
odrl:inheritFrom cat:policy.Closure .
(ADM 53/121006)
"The National Archives (assigner) permits (permission) the public (assignees) to read (action) the ADM 53/121006 record document (asset) after a delay period of 30 years from the 31st May 1945 (temporal constraint)."
Normal Closure before FOI Act
30 years from 31st May 1945
cat:policy.Normal_Closure_before_FOI_Act_30_years_from_1945-05-31
rdf:type odrl:Policy, odrl:Offer ;
rdfs:label
"Normal Closure before FOI Act: 30 years from 1945-05-31" ;
odrl:inheritFrom cat:policy.Closed_or_Retained_Document ;
odrl:conflict odrl:perm ;
odrl:profile nat:odrl-profile ;
odrl:permission [
rdf:type odrl:Permission ;
odrl:assigner cat:The_National_Archives ;
odrl:assignee cat:The_Public ;
odrl:action odrl:readDocument ;
odrl:constraint [
rdf:type odrl:LogicalConstraint ;
odrl:andSequence (
[ rdf:type odrl:Constraint ;
odrl:leftOperand odrl:dateTime ;
odrl:operator odrl:gt ;
odrl:rightOperand "1945-05-31"^^xsd:date ]
[ rdf:type odrl:Constraint ;
odrl:leftOperand odrl:delayPeriod ;
odrl:operator odrl:eq ;
odrl:rightOperand "P30Y"^^xsd:duration ] ) ]
] ] .
PREFIX cat: <http://cat.nationalarchives.gov.uk/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX nat: <http://www.nationalarchives.gov.uk/>
PREFIX odrl: <http://www.w3.org/ns/odrl/2/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT {
?policyUri a odrl:Policy, odrl:Offer ;
odrl:profile nat:odrl-profile ;
odrl:conflict ?conflict ;
odrl:permission ?b1 ;
odrl:prohibition ?b2 .
?b1 ?p1 ?v1 ;
odrl:assigner cat:The_National_Archives ;
odrl:target ?resource .
?b2 ?p2 ?v2 ;
odrl:assigner cat:The_National_Archives ;
odrl:target ?resource .
?b1 odrl:constraint ?c1 .
?c1 ?c2 ?c3 .
?b1 odrl:constraint ?bnode .
?bnode rdf:type odrl:Constraint ;
odrl:leftOperand odrl:dateTime ;
odrl:operator odrl:gt ;
odrl:rightOperand ?openingDate .
}
WHERE
{
BIND(cat:ADM.2021.2NW6VY.P.1 AS ?resource)
?resource dct:identifier ?identifier
BIND(URI(CONCAT(?identifier,"-policy")) AS ?policyUri)
{
{
SELECT DISTINCT ?permission
WHERE {
BIND(cat:ADM.2021.2NW6VY.P.1 AS ?resource)
?resource dct:accessRights ?accessRights .
?accessRights odrl:hasPolicy ?policy .
{ ?policy odrl:permission ?permission . }
UNION
{
?policy odrl:inheritFrom+ ?parentPolicy .
?parentPolicy odrl:permission ?permission
}
}
}
BIND(BNODE() AS ?b1)
OPTIONAL {
?permission odrl:constraint ?constraint .
FILTER NOT EXISTS { ?constraint odrl:andSequence ?sequence . }
BIND(BNODE() AS ?c1)
?constraint ?c2 ?c3 .
}
OPTIONAL {
?permission odrl:constraint ?constraint .
?constraint odrl:andSequence ?seq .
?seq rdf:first ?firstConstraint .
?seq rdf:rest/rdf:first ?secondConstraint .
?firstConstraint odrl:rightOperand ?lastDate .
?secondConstraint odrl:rightOperand ?duration .
BIND((?lastDate + ?duration) AS ?openingDate) .
BIND(BNODE() AS ?bnode)
}
?permission ?p1 ?v1 .
FILTER(?p1 NOT IN(odrl:constraint)) .
}
UNION
{
{
SELECT DISTINCT ?prohibition
WHERE {
BIND(cat:ADM.2021.2NW6VY.P.1 AS ?resource)
?resource dct:accessRights ?accessRights .
?accessRights odrl:hasPolicy ?policy .
{ ?policy odrl:prohibition ?prohibition . }
UNION
{
?policy odrl:inheritFrom+ ?parentPolicy .
?parentPolicy odrl:prohibition ?prohibition
}
}
}
BIND(BNODE() AS ?b2)
?prohibition ?p2 ?v2 .
}
{
SELECT DISTINCT ?conflict
WHERE {
BIND(cat:ADM.2021.2NW6VY.P.1 AS ?resource)
?resource dct:accessRights ?accessRights .
?accessRights odrl:hasPolicy ?policy .
{ ?policy odrl:conflict ?conflict . }
UNION
{
?policy odrl:inheritFrom+ ?parentPolicy .
?parentPolicy odrl:conflict ?conflict .
}
}
}
}
@prefix nat: <http://www.nationalarchives.gov.uk/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix cat: <http://cat.nationalarchives.gov.uk/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
cat:ADM.2021.2NW6VY.P.1-policy
rdf:type odrl:Offer , odrl:Policy ;
odrl:conflict odrl:perm ;
odrl:permission [
rdf:type odrl:Permission ;
odrl:action odrl:readDocument ;
odrl:assignee cat:The_Public ;
odrl:assigner cat:The_National_Archives ;
odrl:constraint [
rdf:type odrl:Constraint ;
odrl:leftOperand odrl:dateTime ;
odrl:operator odrl:gt ;
odrl:rightOperand "1975-05-31"^^xs:date
] ;
odrl:target cat:ADM.2021.2NW6VY.P.1
] ;
odrl:permission [
rdf:type odrl:Permission ;
odrl:action odrl:readDescription ;
odrl:assignee cat:The_Public ;
odrl:assigner cat:The_National_Archives ;
odrl:target cat:ADM.2021.2NW6VY.P.1
] ;
odrl:profile nat:odrl-profile ;
odrl:prohibition [
rdf:type odrl:Prohibition ;
odrl:action odrl:read ;
odrl:assignee cat:The_Public ;
odrl:assigner cat:The_National_Archives ;
odrl:target cat:ADM.2021.2NW6VY.P.1
] .