Difference between revisions of "RDF/OWL"

From Archivematica
Jump to navigation Jump to search
Line 20: Line 20:
 
   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 <fixity1> ;
+
   premis:hasFixity <file1fixity> ;
 
   premis:hasFormat <jpgformat> ;
 
   premis:hasFormat <jpgformat> ;
 
   resubtype:iso <file2> ;
 
   resubtype:iso <file2> ;
Line 40: Line 40:
  
 
<file1mes> a premis:Event, evtype:mes ;
 
<file1mes> a premis:Event, evtype:mes ;
 +
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 
   premis:eventDateTime "2017-01-21T01:46:16" ;
 
   premis:eventDateTime "2017-01-21T01:46:16" ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 
 
   premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 
   premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 
   premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
 
   premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
Line 99: Line 99:
 
<Archivematica> a prov:Agent, prov:SoftwareApplication ;
 
<Archivematica> a prov:Agent, prov:SoftwareApplication ;
 
   doap:name "Archivematica" .
 
   doap:name "Archivematica" .
 +
 +
<file2> a premis:File
 +
  dce:identifier "3d418ac1-43d9-4a5e-82f0-9ff45fbaa509" ;
 +
  premis:compositionLevel "0" ;
 +
  ebucore:fileSize "4536475" ;
 +
  premis:hasFixity <file2fixity> ;
 +
  resubtype:hss <file1> ;
 +
  premis:hasEvent <file2cre>, <file2mes>, <file2fix> .
 +
 +
<file2fixity> a premis:Fixity, premis:SHA256Fixity ;
 +
  rdf:value "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92" .
 +
 +
<file2> a premis:Event, evtype:cre ;
 +
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 +
  premis:eventDateTime "2017-01-21T01:46:16" ;
 +
  premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 +
  premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
 +
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .
 +
 +
 +
<file2mes> a premis:Event, evtype:mes ;
 +
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 +
  premis:eventDateTime "2017-01-21T01:46:16" ;
 +
  premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
 +
  premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
 +
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .
 +
 +
 
</pre>
 
</pre>

Revision as of 22:28, 21 January 2017

Main Page > Development > Development documentation > Metadata elements > METS

@prefix dce: <http://purl.org/dc/elements/1.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix doap="http://usefulinc.com/ns/doap#" .
@prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
@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
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:compositionLevel "0" ;
  ebucore:fileSize "158131" ;
  premis:originalName "%transferDirectory%objects/evelyn's second photo.jpg" ;
  premis:hasFixity <file1fixity> ;
  premis:hasFormat <jpgformat> ;
  resubtype:iso <file2> ;
  premis:hasEvent <file1ing>, <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> .

<file1ing> a premis:Event, evtype:ing ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:13" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .

<file1mes> a premis:Event, evtype:mes ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:16" ;
  premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .

<file1vir> a premis:Event, evtype:vir ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:23" ;
  premis:hasOutcome "Pass" ;
  premis:eventDetail "program="Clam AV"; version="ClamAV 0.99.2"; virusDefinitions="22920/Sat Jan 21 00:16:22 2017 "" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .

<file1fnm> a premis:Event, evtype:fnm ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:29" ;
  premis:hasOutcome "Original name="%transferDirectory%objects/evelyn's photo.jpg"; cleaned up name="%transferDirectory%objects/evelyn_s_photo.jpg"" ;
  premis:eventDetail "prohibited characters removed:program="sanitizeNames"; version="1.10.d204c68e72645b2b4228520680ca211f7bc20b3b"" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .

<file1fid> a premis:Event, evtype:fid ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:52:21" ;
  premis:hasOutcome "Positive" ;
  premis:eventDetail "program="Fido"; version="1"" ;
  premis:eventOutcomeDetailNote <http://www.nationalarchives.gov.uk/pronom/fmt/43> ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .

<file1val> a premis:Event, evtype:val ;
  dce: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 ;
  dce: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 ;
  dce: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 "Loblaw, Bob" .

<Archivematica> a prov:Agent, prov:SoftwareApplication ;
  doap:name "Archivematica" .

<file2> a premis:File
  dce:identifier "3d418ac1-43d9-4a5e-82f0-9ff45fbaa509" ;
  premis:compositionLevel "0" ;
  ebucore:fileSize "4536475" ;
  premis:hasFixity <file2fixity> ;
  resubtype:hss <file1> ;
  premis:hasEvent <file2cre>, <file2mes>, <file2fix> .

<file2fixity> a premis:Fixity, premis:SHA256Fixity ;
  rdf:value "d2bed92b73c7090bb30a0b30016882e7069c437488e1513e9deaacbe29d38d92" .

<file2> a premis:Event, evtype:cre ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:16" ;
  premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .


<file2mes> a premis:Event, evtype:mes ;
  dce:identifier "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDateTime "2017-01-21T01:46:16" ;
  premis:hasOutcome "ff8a8142-00a8-41d4-a8ff-892d123d45ff" ;
  premis:eventDetail "program="python"; module="hashlib.sha256()"" ;
  prov:wasAttributedTo <NRI>, <pk1>, <Archivematica> .