@prefix oc: <https://ontology.inferal.com/profiles/order-contribution-evidence/> .
@prefix ctx: <https://ontology.inferal.com/modules/commerce-transaction/> .
@prefix adm: <https://ontology.inferal.com/modules/advertising-measurement/> .
@prefix cme: <https://ontology.inferal.com/modules/commerce-margin-evidence/> .
@prefix pc: <https://ontology.inferal.com/modules/commerce-purchase-classification/> .
@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 owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix pubacc: <https://ontology.inferal.com/modules/publication-access/> .
@prefix mod: <https://w3id.org/mod#> .
@prefix vann: <http://purl.org/vocab/vann/> .
oc: a owl:Ontology, prof:Profile, pubacc:PublicationManagedOntology ; rdfs:label "Order contribution evidence" ; rdfs:comment "Policy-scoped known monetary subtotals preserve missing cost and adjustment evidence; no net-profit claim follows." ; dct:title "Order contribution evidence" ; dct:description "Selected order lines and signed adjustments with explicit calculation treatment and incomplete evidence." ; dct:license <https://creativecommons.org/licenses/by/4.0/> ; dct:accessRights pubacc:PublicAccess ; owl:versionInfo "0.1.0" ; mod:status "draft" ; prof:isProfileOf ctx:, adm:, cme: ; owl:imports ctx:, adm:, cme: ; vann:preferredNamespacePrefix "oc" ; vann:preferredNamespaceUri "https://ontology.inferal.com/profiles/order-contribution-evidence/" .
oc:Statement a rdfs:Class ; rdfs:label "Statement" ; rdfs:comment "A declared selection of immutable order lines and adjustment observations under one policy and currency. The subtotal covers only those selected records." .
oc:Adjustment a rdfs:Class ; rdfs:label "Adjustment" ; rdfs:comment "One explicitly keyed signed monetary effect under the statement policy. Missing magnitude is unresolved; equal amounts never establish duplicate identity." .
oc:Treatment a rdfs:Class ; rdfs:label "Treatment" ; rdfs:comment "Whether the signed adjustment is excluded from or already included in the selected line revenue and direct-goods-cost base." .
oc:AdjustmentKind a rdfs:Class ; rdfs:label "AdjustmentKind" ; rdfs:comment "The declared adjustment category; it does not determine allocation or sign without a policy." .
oc:order a rdf:Property ; rdfs:label "order" ; rdfs:comment "The selected retained order handle; repeated captures must have distinct source handles." ; rdfs:domain oc:Statement ; rdfs:range ctx:Order .
oc:merchant a rdf:Property ; rdfs:label "merchant" ; rdfs:comment "The declared merchant scope of the selected order." ; rdfs:domain oc:Statement ; rdfs:range prov:Entity .
oc:policy a rdf:Property ; rdfs:label "policy" ; rdfs:comment "The retained allocation and inclusion policy version, with version identifier, source provenance and capture time available by the statement cutoff. Native accounting-policy execution is not established." ; rdfs:domain oc:Statement ; rdfs:range prov:Entity .
oc:asOf a rdf:Property ; rdfs:label "asOf" ; rdfs:comment "The declared evidence cutoff; selected records and policy must be available by this instant." ; rdfs:domain oc:Statement ; rdfs:range xsd:dateTimeStamp .
oc:currency a rdf:Property ; rdfs:label "currency" ; rdfs:comment "The single caller-declared currency shared by every selected money value; no exchange conversion is performed." ; rdfs:domain oc:Statement ; rdfs:range xsd:string .
oc:selectedLine a rdf:Property ; rdfs:label "selectedLine" ; rdfs:comment "An explicitly selected whole order line whose revenue is post-discount and pre-refund." ; rdfs:domain oc:Statement ; rdfs:range ctx:LineItem .
oc:lineCoverage a rdf:Property ; rdfs:label "lineCoverage" ; rdfs:comment "Caller declaration of complete or partial selected line coverage; this is not independent completeness proof." ; rdfs:domain oc:Statement ; rdfs:range cme:Standing .
oc:adjustmentCoverage a rdf:Property ; rdfs:label "adjustmentCoverage" ; rdfs:comment "Caller declaration of complete or partial coverage under the retained policy; it does not assert all business costs are present." ; rdfs:domain oc:Statement ; rdfs:range cme:Standing .
oc:adjustment a rdf:Property ; rdfs:label "adjustment" ; rdfs:comment "One retained adjustment selected for this statement; selection does not infer purchase or accounting identity." ; rdfs:domain oc:Statement ; rdfs:range oc:Adjustment .
oc:adjustmentKey a rdf:Property ; rdfs:label "adjustmentKey" ; rdfs:comment "Source-declared immutable adjustment key, unique within the statement selection. Equal keys on different handles are refused rather than summed." ; rdfs:domain oc:Adjustment ; rdfs:range xsd:string .
oc:kind a rdf:Property ; rdfs:label "kind" ; rdfs:comment "The explicitly declared category used for diagnostic inspection." ; rdfs:domain oc:Adjustment ; rdfs:range oc:AdjustmentKind .
oc:treatment a rdf:Property ; rdfs:label "treatment" ; rdfs:comment "Whether the signed delta is applied to the selected base or retained only as already included evidence." ; rdfs:domain oc:Adjustment ; rdfs:range oc:Treatment .
oc:money a rdf:Property ; rdfs:label "money" ; rdfs:comment "The signed effect in major currency units, when supplied. Absence remains unresolved, not zero." ; rdfs:domain oc:Adjustment ; rdfs:range adm:MonetaryAmount .
oc:capturedAt a rdf:Property ; rdfs:label "capturedAt" ; rdfs:comment "The retained capture instant on each selected line, adjustment or policy version; capture after the statement cutoff is refused." ; rdfs:range xsd:dateTimeStamp .
oc:ExcludedFromBase a oc:Treatment ; rdfs:label "ExcludedFromBase" ; rdfs:comment "Apply this signed effect once to the selected base under the declared policy." .
oc:AlreadyIncludedInBase a oc:Treatment ; rdfs:label "AlreadyIncludedInBase" ; rdfs:comment "Retain the evidence without adding or subtracting it again." .
oc:Refund a oc:AdjustmentKind ; rdfs:label "Refund" ; rdfs:comment "Declared Refund adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:Fulfilment a oc:AdjustmentKind ; rdfs:label "Fulfilment" ; rdfs:comment "Declared Fulfilment adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:PaymentFees a oc:AdjustmentKind ; rdfs:label "PaymentFees" ; rdfs:comment "Declared PaymentFees adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:ShippingRevenue a oc:AdjustmentKind ; rdfs:label "ShippingRevenue" ; rdfs:comment "Declared ShippingRevenue adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:Tax a oc:AdjustmentKind ; rdfs:label "Tax" ; rdfs:comment "Declared Tax adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:Discount a oc:AdjustmentKind ; rdfs:label "Discount" ; rdfs:comment "Declared Discount adjustment. The retained policy supplies allocation and inclusion evidence." .
oc:Other a oc:AdjustmentKind ; rdfs:label "Other" ; rdfs:comment "Declared Other adjustment. The retained policy supplies allocation and inclusion evidence." .
