Difference between revisions of "RDF/OWL"
Jump to navigation
Jump to search
(19 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Main Page]] > [[Development]] > [[:Category:Development documentation|Development documentation]] > [[Metadata elements]] > | + | [[Main Page]] > [[Development]] > [[:Category:Development documentation|Development documentation]] > [[Metadata elements]] > RDF/OWL |
+ | |||
+ | <div style="padding: 10px 10px; border: 1px solid black; background-color: #F79086;">This page is no longer being maintained and may contain inaccurate information. Please see the [https://www.archivematica.org/docs/latest/ Archivematica documentation] for up-to-date information. </div> <p> | ||
+ | |||
+ | This example is based on an OWL ontology for PREMIS being drafted by a working group associated with the PREMIS Editorial Committee. The draft ontology will be made publicly available in February 2017. | ||
<pre> | <pre> | ||
− | @prefix | + | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
− | @prefix | + | @prefix doap: "http://usefulinc.com/ns/doap#" . |
− | |||
@prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> . | @prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> . | ||
− | @prefix evtype: <http://id.loc.gov/vocabulary/preservation/eventType | + | @prefix evRelAgRole: <http://id.loc.gov/vocabulary/preservation/linkingAgentRoleEvent> . |
− | @prefix foaf | + | @prefix evtype: <http://id.loc.gov/vocabulary/preservation/eventType> . |
+ | @prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | @prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix premis: <http://www.loc.gov/premis/rdf/v2#> . | @prefix premis: <http://www.loc.gov/premis/rdf/v2#> . | ||
Line 13: | Line 17: | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
− | @prefix relsubtype: <http://id.loc.gov/vocabulary/preservation/relationshipSubType | + | @prefix relsubtype: <http://id.loc.gov/vocabulary/preservation/relationshipSubType> . |
<file1> a premis:File | <file1> a premis:File | ||
− | + | dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; | |
+ | dc:description "original" ; | ||
premis:compositionLevel "0" ; | premis:compositionLevel "0" ; | ||
ebucore:fileSize "158131" ; | ebucore:fileSize "158131" ; | ||
premis:originalName "%transferDirectory%objects/evelyn's second photo.jpg" ; | premis:originalName "%transferDirectory%objects/evelyn's second photo.jpg" ; | ||
− | premis:hasFixity < | + | premis:hasFixity <file1fixity> ; |
premis:hasFormat <jpgformat> ; | premis:hasFormat <jpgformat> ; | ||
− | + | relsubtype:iso <file2> ; | |
− | premis:hasEvent < | + | premis:hasEvent <info:nri/ff8a8142-00a8-41d4-a8ff-892d123d45ff>, <file1mes>, <file1vir>, <file1fnm>, <file1fid>, <file1val>, <file1nor>, <file1fix> . |
− | |||
<file1fixity> a premis:Fixity, premis:SHA256Fixity ; | <file1fixity> a premis:Fixity, premis:SHA256Fixity ; | ||
Line 34: | Line 38: | ||
owl:sameAs <http://www.nationalarchives.gov.uk/pronom/fmt/43> . | owl:sameAs <http://www.nationalarchives.gov.uk/pronom/fmt/43> . | ||
− | < | + | <info:nri/ff8a8142-00a8-41d4-a8ff-892d123d45ff> rdf:type, evType:ing ; |
− | + | dc:date "2017-01-21T01:46:13" ; | |
− | + | evRelAgRole:imp <NRI> ; | |
− | + | evRelAgRole:aut <pk1> ; | |
− | + | evRelAgRole:exe <Archivematica> . | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | <info:nri/aj8a8142-00a8-41d4-a8db-892d123d45cm> rdf:type, evType:mes ; |
− | + | dc:date "2017-01-21T01:46:16" ; | |
− | + | premis:hasNote "program="python"; module="hashlib.sha256()"" ; | |
− | premis: | + | premis:hasOutcomeNote "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92" ; |
− | premis: | + | evRelAgRole:imp <NRI> ; |
− | + | evRelAgRole:aut <pk1> ; | |
+ | evRelAgRole:exe <Archivematica> . | ||
+ | |||
+ | <info:nri/1de1f888-fbf7-47e5-987e-5e5bc72ac2c5> rdf:type, evType:vir ; | ||
+ | dc:date "2017-01-21T01:46:23" ; | ||
+ | premis:hasStatus "Pass" ; | ||
+ | premis:hasNote "program="Clam AV"; version="ClamAV 0.99.2"; virusDefinitions="22920/Sat Jan 21 00:16:22 2017 "" ; | ||
+ | evRelAgRole:imp <NRI> ; | ||
+ | evRelAgRole:aut <pk1> ; | ||
+ | evRelAgRole:exe <Archivematica> . | ||
− | < | + | <info:nri/b6a96d52-390e-4a32-a824-727f624c9d44> rdf:type, evtype:fnm ; |
− | + | dc:date "2017-01-21T01:46:29" ; | |
− | premis: | + | premis:hasNote "prohibited characters removed:program="sanitizeNames"; version="1.10.d204c68e72645b2b4228520680ca211f7bc20b3b"" ; |
− | premis: | + | premis:hasOutcomeNote "Original name="%transferDirectory%objects/evelyn's photo.jpg"; cleaned up name="%transferDirectory%objects/evelyn_s_photo.jpg"" ; |
− | + | evRelAgRole:imp <NRI> ; | |
− | + | evRelAgRole:aut <pk1> ; | |
+ | evRelAgRole:exe <Archivematica> . | ||
− | < | + | <info:nri/2cae3c41-fb3a-42e5-a4cf-4bdbba96c36f> rdf:type, evtype:fid ; |
− | + | dc:date "2017-01-21T01:52:21" ; | |
− | + | premis:hasStatus "Positive" ; | |
− | premis: | + | premis:hasNote "program="Fido"; version="1"" ; |
− | premis: | + | premis:eventOutcomeNote <http://www.nationalarchives.gov.uk/pronom/fmt/43> ; |
− | premis: | + | evRelAgRole:imp <NRI> ; |
− | + | evRelAgRole:aut <pk1> ; | |
+ | evRelAgRole:exe <Archivematica> . | ||
<file1val> a premis:Event, evtype:val ; | <file1val> a premis:Event, evtype:val ; | ||
− | + | dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; | |
premis:eventDateTime "2017-01-21T01:52:30" ; | premis:eventDateTime "2017-01-21T01:52:30" ; | ||
premis:hasOutcome "pass" ; | premis:hasOutcome "pass" ; | ||
Line 77: | Line 86: | ||
<file1nor> a premis:Event, evtype:nor ; | <file1nor> a premis:Event, evtype:nor ; | ||
− | + | dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; | |
premis:eventDateTime "2017-01-21T01:54:26" ; | premis:eventDateTime "2017-01-21T01:54:26" ; | ||
premis:eventDetail "ArchivematicaFPRCommandID="a34ddc9b-c922-4bb6-8037-bbe713332175"; program="convert"; version="Version: ImageMagick 6.7.7-10 2016-11-29 Q16 http://www.imagemagick.org"" ; | premis:eventDetail "ArchivematicaFPRCommandID="a34ddc9b-c922-4bb6-8037-bbe713332175"; program="convert"; version="Version: ImageMagick 6.7.7-10 2016-11-29 Q16 http://www.imagemagick.org"" ; | ||
Line 84: | Line 93: | ||
<file1fix> a premis:Event, evtype:fix ; | <file1fix> a premis:Event, evtype:fix ; | ||
− | + | dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; | |
premis:eventDateTime "2017-01-21T01:59:46" ; | premis:eventDateTime "2017-01-21T01:59:46" ; | ||
premis:hasOutcome "pass" ; | premis:hasOutcome "pass" ; | ||
Line 95: | Line 104: | ||
<pk1> prov:Agent, prov:Person; | <pk1> prov:Agent, prov:Person; | ||
− | rdfs:label " | + | rdfs:label "McLellan, Evelyn" . |
<Archivematica> a prov:Agent, prov:SoftwareApplication ; | <Archivematica> a prov:Agent, prov:SoftwareApplication ; | ||
− | doap:name "Archivematica" . | + | doap:name "Archivematica" ; |
+ | premis:hasVersion "1.6" . | ||
+ | |||
+ | <file2> a premis:File | ||
+ | dc:identifier "3d418ac1-43d9-4a5e-82f0-9ff45fbaa509" ; | ||
+ | dc:description "preservation" ; | ||
+ | premis:compositionLevel "0" ; | ||
+ | ebucore:fileSize "1446768" ; | ||
+ | premis:hasFixity <file2fixity> ; | ||
+ | relsubtype:hss <file1> ; | ||
+ | premis:hasEvent <file2cre>, <file2mes>, <file2fix> . | ||
+ | |||
+ | <file2fixity> a premis:Fixity, premis:SHA256Fixity ; | ||
+ | rdf:value "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910" . | ||
+ | |||
+ | <file2cre> a premis:Event, evtype:cre ; | ||
+ | dc:identifier "4c23296c-1382-4b1e-ab96-3c128c533fc0" ; | ||
+ | premis:eventDateTime "2017-01-21T01:54:26" ; | ||
+ | prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . | ||
+ | |||
+ | <file2mes> a premis:Event, evtype:mes ; | ||
+ | dc:identifier "555e3339-3410-4c73-a7c5-30d3bc7a6afc" ; | ||
+ | premis:eventDateTime "2017-01-21T01:54:26" ; | ||
+ | premis:hasOutcome "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910" ; | ||
+ | premis:eventDetail "program="python"; module="hashlib.sha256()"" ; | ||
+ | prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . | ||
+ | |||
+ | <file2fix> a premis:Event, evtype:fix ; | ||
+ | dc:identifier "cac3adfa-7b27-4dbb-9874-c3af255efbdf" ; | ||
+ | premis:eventDateTime "2017-01-21T01:59:43" ; | ||
+ | premis:hasOutcome "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910 verified" ; | ||
+ | premis:eventDetail "program="python"; module="hashlib.sha256()"" ; | ||
+ | prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . | ||
+ | |||
+ | |||
</pre> | </pre> |
Latest revision as of 15:36, 11 February 2020
Main Page > Development > Development documentation > Metadata elements > RDF/OWL
This page is no longer being maintained and may contain inaccurate information. Please see the Archivematica documentation for up-to-date information.
This example is based on an OWL ontology for PREMIS being drafted by a working group associated with the PREMIS Editorial Committee. The draft ontology will be made publicly available in February 2017.
@prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix doap: "http://usefulinc.com/ns/doap#" . @prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> . @prefix evRelAgRole: <http://id.loc.gov/vocabulary/preservation/linkingAgentRoleEvent> . @prefix evtype: <http://id.loc.gov/vocabulary/preservation/eventType> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix premis: <http://www.loc.gov/premis/rdf/v2#> . @prefix prov: <http://www.w3.org/ns/prov#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix relsubtype: <http://id.loc.gov/vocabulary/preservation/relationshipSubType> . <file1> a premis:File dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; dc:description "original" ; premis:compositionLevel "0" ; ebucore:fileSize "158131" ; premis:originalName "%transferDirectory%objects/evelyn's second photo.jpg" ; premis:hasFixity <file1fixity> ; premis:hasFormat <jpgformat> ; relsubtype:iso <file2> ; premis:hasEvent <info:nri/ff8a8142-00a8-41d4-a8ff-892d123d45ff>, <file1mes>, <file1vir>, <file1fnm>, <file1fid>, <file1val>, <file1nor>, <file1fix> . <file1fixity> a premis:Fixity, premis:SHA256Fixity ; rdf:value "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92" . <jpgformat> a dcterms:FileFormat ; rdfs:label "JPEG File Interchange Format" ; premis:hasVersion "1.01" ; owl:sameAs <http://www.nationalarchives.gov.uk/pronom/fmt/43> . <info:nri/ff8a8142-00a8-41d4-a8ff-892d123d45ff> rdf:type, evType:ing ; dc:date "2017-01-21T01:46:13" ; evRelAgRole:imp <NRI> ; evRelAgRole:aut <pk1> ; evRelAgRole:exe <Archivematica> . <info:nri/aj8a8142-00a8-41d4-a8db-892d123d45cm> rdf:type, evType:mes ; dc:date "2017-01-21T01:46:16" ; premis:hasNote "program="python"; module="hashlib.sha256()"" ; premis:hasOutcomeNote "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92" ; evRelAgRole:imp <NRI> ; evRelAgRole:aut <pk1> ; evRelAgRole:exe <Archivematica> . <info:nri/1de1f888-fbf7-47e5-987e-5e5bc72ac2c5> rdf:type, evType:vir ; dc:date "2017-01-21T01:46:23" ; premis:hasStatus "Pass" ; premis:hasNote "program="Clam AV"; version="ClamAV 0.99.2"; virusDefinitions="22920/Sat Jan 21 00:16:22 2017 "" ; evRelAgRole:imp <NRI> ; evRelAgRole:aut <pk1> ; evRelAgRole:exe <Archivematica> . <info:nri/b6a96d52-390e-4a32-a824-727f624c9d44> rdf:type, evtype:fnm ; dc:date "2017-01-21T01:46:29" ; premis:hasNote "prohibited characters removed:program="sanitizeNames"; version="1.10.d204c68e72645b2b4228520680ca211f7bc20b3b"" ; premis:hasOutcomeNote "Original name="%transferDirectory%objects/evelyn's photo.jpg"; cleaned up name="%transferDirectory%objects/evelyn_s_photo.jpg"" ; evRelAgRole:imp <NRI> ; evRelAgRole:aut <pk1> ; evRelAgRole:exe <Archivematica> . <info:nri/2cae3c41-fb3a-42e5-a4cf-4bdbba96c36f> rdf:type, evtype:fid ; dc:date "2017-01-21T01:52:21" ; premis:hasStatus "Positive" ; premis:hasNote "program="Fido"; version="1"" ; premis:eventOutcomeNote <http://www.nationalarchives.gov.uk/pronom/fmt/43> ; evRelAgRole:imp <NRI> ; evRelAgRole:aut <pk1> ; evRelAgRole:exe <Archivematica> . <file1val> a premis:Event, evtype:val ; dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; premis:eventDateTime "2017-01-21T01:52:30" ; premis:hasOutcome "pass" ; premis:eventDetail "program="JHOVE"; version="1.6"" ; premis:eventOutcomeDetailNote "format="JPEG"; version="1.02"; result="Well-Formed and valid"" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . <file1nor> a premis:Event, evtype:nor ; dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; premis:eventDateTime "2017-01-21T01:54:26" ; premis:eventDetail "ArchivematicaFPRCommandID="a34ddc9b-c922-4bb6-8037-bbe713332175"; program="convert"; version="Version: ImageMagick 6.7.7-10 2016-11-29 Q16 http://www.imagemagick.org"" ; premis:eventOutcomeDetailNote "%SIPDirectory%objects/evelyn_s_photo-4c23296c-1382-4b1e-ab96-3c128c533fc0.tif" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . <file1fix> a premis:Event, evtype:fix ; dc:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ; premis:eventDateTime "2017-01-21T01:59:46" ; premis:hasOutcome "pass" ; premis:eventDetail "program="python"; module="hashlib.sha256()"" ; premis:eventOutcomeDetailNote "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92 verified" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . <NRI> a prov:Agent, prov:Organization ; foaf:name “Not a Real Institution” . <pk1> prov:Agent, prov:Person; rdfs:label "McLellan, Evelyn" . <Archivematica> a prov:Agent, prov:SoftwareApplication ; doap:name "Archivematica" ; premis:hasVersion "1.6" . <file2> a premis:File dc:identifier "3d418ac1-43d9-4a5e-82f0-9ff45fbaa509" ; dc:description "preservation" ; premis:compositionLevel "0" ; ebucore:fileSize "1446768" ; premis:hasFixity <file2fixity> ; relsubtype:hss <file1> ; premis:hasEvent <file2cre>, <file2mes>, <file2fix> . <file2fixity> a premis:Fixity, premis:SHA256Fixity ; rdf:value "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910" . <file2cre> a premis:Event, evtype:cre ; dc:identifier "4c23296c-1382-4b1e-ab96-3c128c533fc0" ; premis:eventDateTime "2017-01-21T01:54:26" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . <file2mes> a premis:Event, evtype:mes ; dc:identifier "555e3339-3410-4c73-a7c5-30d3bc7a6afc" ; premis:eventDateTime "2017-01-21T01:54:26" ; premis:hasOutcome "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910" ; premis:eventDetail "program="python"; module="hashlib.sha256()"" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> . <file2fix> a premis:Event, evtype:fix ; dc:identifier "cac3adfa-7b27-4dbb-9874-c3af255efbdf" ; premis:eventDateTime "2017-01-21T01:59:43" ; premis:hasOutcome "1b3cd0d919a3d80aa042ff46d8c4f209c054f83ff4faa6a155e66cc0ba612910 verified" ; premis:eventDetail "program="python"; module="hashlib.sha256()"" ; prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .