@prefix dct: <http://purl.org/dc/terms/> .
@prefix pdssp: <https://pdssp.github.io/pdssp-ontology/vocab#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

pdssp:ProcessingLevel-Ancillary a skos:Concept ;
    skos:altLabel "ANCDR"@en,
        "Ancillary Data Record"@en ;
    skos:definition "Ancillary Data Record: extra data specifically supporting a data set, such as coordinates or geometry, but also dark currents, flat fields, etc."@en ;
    skos:inScheme pdssp:ProcessingLevelScheme ;
    skos:prefLabel "Ancillary"@en ;
    skos:topConceptOf pdssp:ProcessingLevelScheme ;
    pdssp:codmacLevel "6 (ancillary)" ;
    pdssp:epntapLevel "6" ;
    pdssp:pds3Code "ANCDR" ;
    pdssp:pds4Code "Derived" .

pdssp:ProcessingLevel-Calibrated a skos:Concept ;
    skos:altLabel "RDR"@en,
        "Reduced Data Record"@en ;
    skos:definition "Reduced Data Record: values in physical units, no resampling."@en ;
    skos:inScheme pdssp:ProcessingLevelScheme ;
    skos:prefLabel "Calibrated"@en ;
    skos:topConceptOf pdssp:ProcessingLevelScheme ;
    pdssp:codmacLevel "3 (calibrated)" ;
    pdssp:epntapLevel "3" ;
    pdssp:nasaLevel "1A" ;
    pdssp:obstapLevel "2" ;
    pdssp:pds3Code "RDR" ;
    pdssp:pds4Code "Calibrated" ;
    pdssp:psaLevel "2" .

pdssp:ProcessingLevel-Derived a skos:Concept ;
    skos:altLabel "DDR"@en,
        "Derived Data Record"@en ;
    skos:definition "Derived Data Record: result of data analysis, directly usable by other communities with no further processing (e.g. a digital elevation model). PDS4 gives this SAME label to CODMAC's own \"Resampled\"/REFDR level (mosaics or composites of several observing sessions) -- PDSSP does not distinguish the two; both are this one concept."@en ;
    skos:inScheme pdssp:ProcessingLevelScheme ;
    skos:prefLabel "Derived"@en ;
    skos:topConceptOf pdssp:ProcessingLevelScheme ;
    pdssp:codmacLevel "5 (derived)" ;
    pdssp:epntapLevel "5" ;
    pdssp:nasaLevel "2-5" ;
    pdssp:obstapLevel "4" ;
    pdssp:pds3Code "DDR" ;
    pdssp:pds4Code "Derived" ;
    pdssp:psaLevel "3" .

pdssp:ProcessingLevel-Raw a skos:Concept ;
    skos:altLabel "EDR"@en,
        "Experiment Data Record"@en ;
    skos:definition "PDS4's own \"Raw\" label. Experiment Data Record: decommutated, but still affected by instrumental effects. Note: this is CODMAC/EPN-TAP2's \"Edited\" level (EPN-TAP2 processing_level 2), not their own \"Raw\"/telemetry level (processing_level 1) -- PDSSP never handles true unprocessed telemetry at all."@en ;
    skos:inScheme pdssp:ProcessingLevelScheme ;
    skos:prefLabel "Raw"@en ;
    skos:topConceptOf pdssp:ProcessingLevelScheme ;
    pdssp:codmacLevel "2 (edited)" ;
    pdssp:epntapLevel "2" ;
    pdssp:nasaLevel "0" ;
    pdssp:obstapLevel "1" ;
    pdssp:pds3Code "EDR" ;
    pdssp:pds4Code "Raw" ;
    pdssp:psaLevel "1" .

pdssp:ProcessingLevelScheme a skos:ConceptScheme ;
    dct:source <https://pds.nasa.gov/>,
        <https://www.ivoa.net/documents/EPNTAP/> ;
    dct:title "PDSSP Processing Level"@en ;
    skos:definition "How far a product has been processed from raw telemetry -- PDSSP's own 4-value scale (Raw/Calibrated/Derived/Ancillary), matching PDS4's/stacplanet's own processing:level enum exactly."@en ;
    skos:hasTopConcept pdssp:ProcessingLevel-Ancillary,
        pdssp:ProcessingLevel-Calibrated,
        pdssp:ProcessingLevel-Derived,
        pdssp:ProcessingLevel-Raw ;
    skos:prefLabel "PDSSP Processing Level"@en .

