# A0 V star spectrum (SPLAT example): Representation Information from the archive
#
# A Representation Information manifest: the Data Object(s) below, where their
# bits are, and the OAIS Representation Information needed to interpret them --
# structure descriptions (equivalent alternatives: any one will do), how to view
# the data, and what its elements mean. Every file is named explicitly; relative
# locations resolve against this file's own location.

@prefix im:     <http://ontology.oais.info/im/> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos:   <http://www.w3.org/2004/02/skos/core#> .

<http://example.org/archive/digital-object-25a19d6a> a im:DigitalObject ;
    rdfs:label "A0 V star spectrum (SPLAT example)" ;
    im:hasStorageLocation <https://raw.githubusercontent.com/dgiaretta/archivemanager/main/examples/splat/a0v-spectrum.bin> ;
    im:interpretedUsing <#digital-object-25a19d6a-repinfo> .

<#digital-object-25a19d6a-repinfo> a im:RepInfoAndGroup , im:RepresentationInformation ;
    rdfs:label "Representation Information for A0 V star spectrum (SPLAT example)" ;
    im:hasGroupMember <#digital-object-25a19d6a-structure> , <#digital-object-25a19d6a-semantics> ;
    im:hasStructureRepresentationInformation <#digital-object-25a19d6a-structure> ;
    im:hasSemanticRepresentationInformation <#digital-object-25a19d6a-semantics> .

<#digital-object-25a19d6a-structure> a im:RepInfoOrGroup , im:StructureRepresentationInformation ;
    rdfs:label "Structure of A0 V star spectrum (SPLAT example): any one of these descriptions" ;
    im:hasGroupMember <#digital-object-25a19d6a-structure-1> , <#digital-object-25a19d6a-structure-2> .

<#digital-object-25a19d6a-structure-1> a im:StructureRepresentationInformation ;
    im:specificationLanguage "DRB SDF" ;
    im:hasStorageLocation <https://archive-manager.oais.info/api/specifications/aHR0cDovL2V4YW1wbGUub3JnL2FyY2hpdmUvc3RydWN0dXJlLXJlcHJlc2VudGF0aW9uLWluZm9ybWF0aW9uLWFlOTM4Yjhk> .

<#digital-object-25a19d6a-structure-2> a im:StructureRepresentationInformation ;
    im:specificationLanguage "DFDL" ;
    im:hasStorageLocation <https://archive-manager.oais.info/api/specifications/aHR0cDovL2V4YW1wbGUub3JnL2FyY2hpdmUvc3RydWN0dXJlLXJlcHJlc2VudGF0aW9uLWluZm9ybWF0aW9uLWVjMjY3MDAz> .

<#digital-object-25a19d6a-semantics> a im:SemanticRepresentationInformation ;
    rdfs:label "Semantics of A0 V star spectrum (SPLAT example)" ;
    im:interpretedUsingRecurse <#digital-object-25a19d6a-view-1> ,
        <#digital-object-25a19d6a-element-1> ,
        <#digital-object-25a19d6a-element-2> ,
        <#digital-object-25a19d6a-element-3> ,
        <#digital-object-25a19d6a-element-4> ,
        <#digital-object-25a19d6a-element-5> ,
        <#digital-object-25a19d6a-element-6> .

<#digital-object-25a19d6a-view-1> a im:ViewSpecification , im:SemanticRepresentationInformation ;
    im:viewKind "table" ;
    im:hasStorageLocation <https://archive-manager.oais.info/api/specifications/aHR0cDovL2V4YW1wbGUub3JnL2FyY2hpdmUvdmlldy1zcGVjaWZpY2F0aW9uLWJiMzljNWNl> .

<#digital-object-25a19d6a-element-1> a im:SemanticRepresentationInformation ;
    im:structuralPath "point" ;
    rdfs:label "Point" ;
    skos:definition "One point of the spectrum." .

<#digital-object-25a19d6a-element-2> a im:SemanticRepresentationInformation ;
    im:structuralPath "point.error" ;
    rdfs:label "Flux density error" ;
    skos:definition "One-sigma uncertainty of the flux density." ;
    im:hasUnitOfMeasurement [ rdfs:label "erg/cm2/s/Angstrom" ] .

<#digital-object-25a19d6a-element-3> a im:SemanticRepresentationInformation ;
    im:structuralPath "point.flux" ;
    rdfs:label "Flux density" ;
    skos:definition "Flux density per unit wavelength." ;
    im:hasUnitOfMeasurement [ rdfs:label "erg/cm2/s/Angstrom" ] .

<#digital-object-25a19d6a-element-4> a im:SemanticRepresentationInformation ;
    im:structuralPath "point.wavelength" ;
    rdfs:label "Wavelength" ;
    skos:definition "Wavelength in air." ;
    im:hasUnitOfMeasurement [ rdfs:label "Angstrom" ] .

<#digital-object-25a19d6a-element-5> a im:SemanticRepresentationInformation ;
    im:structuralPath "n_points" ;
    rdfs:label "Number of points" ;
    skos:definition "How many points the spectrum has." .

<#digital-object-25a19d6a-element-6> a im:SemanticRepresentationInformation ;
    im:structuralPath "object" ;
    rdfs:label "Object" ;
    skos:definition "Name of the object observed, padded with spaces." .

