@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix on: <https://test-vocab.trade-commons.org/object-nature/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ts: <https://test-vocab.trade-commons.org/term-status/> .
@prefix unece: <https://test-vocab.trade-commons.org/> .
@prefix unece-mod: <https://test-vocab.trade-commons.org/module/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

unece:measuredValue a owl:ObjectProperty ;
    rdfs:label "measured value"@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "The measured value of a performance or sensor reading."@en ;
    schema:domainIncludes unece:Performance,
        unece:SensorData ;
    schema:rangeIncludes unece:Measure ;
    unece:termStatus ts:proposed .

unece:metric a owl:ObjectProperty ;
    rdfs:label "metric"@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "The performance metric the value is reported against; a code from the performance-metrics taxonomy."@en ;
    schema:domainIncludes unece:Performance,
        unece:SensorData ;
    schema:rangeIncludes <https://test-vocab.trade-commons.org/performance-metrics/> ;
    unece:termStatus ts:proposed .

unece:performanceDetermination a owl:ObjectProperty ;
    rdfs:label "determination"@en ;
    dcterms:provenance "Proposed Vocab addition — not from BSP/UNTP; pending governance approval."@en ;
    rdfs:comment "code → conformity-determination scheme. Replaces the boolean conformance on Assessment, which could express neither a conditional nor an indeterminate outcome. On the performance rather than the assessment, so an assessment testing several metrics can state an outcome for each."@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "The conformity outcome reached, drawn from the conformity-determination code list."@en ;
    schema:domainIncludes unece:Performance ;
    schema:rangeIncludes unece:conformity-determination ;
    unece:termStatus ts:proposed .

unece:performanceScore a owl:ObjectProperty ;
    rdfs:label "score"@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "A score achieved or defined within a scoring framework."@en ;
    schema:domainIncludes unece:Performance,
        unece:ScoringFramework ;
    schema:rangeIncludes unece:Score ;
    unece:termStatus ts:proposed .

unece:qualitativeFinding a owl:DatatypeProperty ;
    rdfs:label "qualitative finding"@en ;
    dcterms:provenance "Proposed Vocab addition — not from BSP/UNTP; pending governance approval."@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "The outcome stated in words, where it does not reduce to a measure, a score or a determination."@en ;
    schema:domainIncludes unece:Performance ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:Performance a owl:Class ;
    rdfs:label "Performance"@en ;
    rdfs:comment "More than one way of stating an outcome, because a score against a scheme-defined scale cannot carry outcomes that are not scores. Any one of measure, performanceScore, performanceDetermination or qualitativeFinding is sufficient and they may be combined."@en ;
    rdfs:isDefinedBy unece-mod:conformity ;
    skos:definition "A claimed, assessed or required performance level against a metric. The outcome may be a measure, a score from a scheme-defined scale, a determination, or a finding stated in words."@en ;
    unece:objectNature on:value ;
    unece:termStatus ts:proposed .

