# Bright stars (TOPCAT 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-44207833> a im:DigitalObject ;
    rdfs:label "Bright stars (TOPCAT example)" ;
    im:hasStorageLocation <https://raw.githubusercontent.com/dgiaretta/archivemanager/main/examples/topcat/bright-stars.bin> ;
    im:interpretedUsing <#digital-object-44207833-repinfo> .

<#digital-object-44207833-repinfo> a im:RepInfoAndGroup , im:RepresentationInformation ;
    rdfs:label "Representation Information for Bright stars (TOPCAT example)" ;
    im:hasGroupMember <#digital-object-44207833-structure> , <#digital-object-44207833-semantics> ;
    im:hasStructureRepresentationInformation <#digital-object-44207833-structure> ;
    im:hasSemanticRepresentationInformation <#digital-object-44207833-semantics> .

<#digital-object-44207833-structure> a im:RepInfoOrGroup , im:StructureRepresentationInformation ;
    rdfs:label "Structure of Bright stars (TOPCAT example): any one of these descriptions" ;
    im:hasGroupMember <#digital-object-44207833-structure-1> , <#digital-object-44207833-structure-2> .

<#digital-object-44207833-structure-1> a im:StructureRepresentationInformation ;
    im:specificationLanguage "DFDL" ;
    im:hasStorageLocation <https://archive-manager.oais.info/api/specifications/aHR0cDovL2V4YW1wbGUub3JnL2FyY2hpdmUvc3RydWN0dXJlLXJlcHJlc2VudGF0aW9uLWluZm9ybWF0aW9uLTk0OTMxNmRk> .

<#digital-object-44207833-structure-2> a im:StructureRepresentationInformation ;
    im:specificationLanguage "DRB SDF" ;
    im:hasStorageLocation <https://archive-manager.oais.info/api/specifications/aHR0cDovL2V4YW1wbGUub3JnL2FyY2hpdmUvc3RydWN0dXJlLXJlcHJlc2VudGF0aW9uLWluZm9ybWF0aW9uLWI4MDkxZDUw> .

<#digital-object-44207833-semantics> a im:SemanticRepresentationInformation ;
    rdfs:label "Semantics of Bright stars (TOPCAT example)" ;
    im:interpretedUsingRecurse <#digital-object-44207833-view-1> ,
        <#digital-object-44207833-element-1> ,
        <#digital-object-44207833-element-2> ,
        <#digital-object-44207833-element-3> ,
        <#digital-object-44207833-element-4> ,
        <#digital-object-44207833-element-5> ,
        <#digital-object-44207833-element-6> .

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

<#digital-object-44207833-element-1> a im:SemanticRepresentationInformation ;
    im:structuralPath "star" ;
    rdfs:label "Star" ;
    skos:definition "One star of the catalogue." .

<#digital-object-44207833-element-2> a im:SemanticRepresentationInformation ;
    im:structuralPath "star.parallax" ;
    rdfs:label "Parallax" ;
    skos:definition "Trigonometric parallax." ;
    im:hasUnitOfMeasurement [ rdfs:label "mas" ] .

<#digital-object-44207833-element-3> a im:SemanticRepresentationInformation ;
    im:structuralPath "star.vmag" ;
    rdfs:label "Visual magnitude" ;
    skos:definition "Apparent magnitude in the Johnson V band." ;
    im:hasUnitOfMeasurement [ rdfs:label "mag" ] .

<#digital-object-44207833-element-4> a im:SemanticRepresentationInformation ;
    im:structuralPath "star.dec" ;
    rdfs:label "Declination" ;
    skos:definition "Declination, ICRS, epoch J2000." ;
    im:hasUnitOfMeasurement [ rdfs:label "deg" ] .

<#digital-object-44207833-element-5> a im:SemanticRepresentationInformation ;
    im:structuralPath "star.ra" ;
    rdfs:label "Right ascension" ;
    skos:definition "Right ascension, ICRS, epoch J2000." ;
    im:hasUnitOfMeasurement [ rdfs:label "deg" ] .

<#digital-object-44207833-element-6> a im:SemanticRepresentationInformation ;
    im:structuralPath "star.name" ;
    rdfs:label "Star name" ;
    skos:definition "Common name, padded with spaces." .

