# baseURI: https://ekgf.org/dprod/spec/develop/
# prefix: dprod

@prefix dprod: <https://ekgf.org/dprod/spec/develop/> .
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
@prefix role: <http://www.w3.org/ns/dx/prof/role/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


############################# Base Specification #########################

odrl:core
  a dct:Standard ;
  dct:title "ODRL Information Model 2.2"@en ;
  dct:identifier <http://www.w3.org/TR/odrl-model/> ;
.


############################# DPROD Profile (ODRL 2.2) #########################

<https://ekgf.org/dprod/spec/develop/>
  a prof:Profile ;
  dct:title "DPROD Data Contracts — ODRL 2.2 Profile Extension"@en ;
  dct:modified "2026-08-20"^^xsd:date ;
  dct:description
    """Proper ODRL 2.2 profile for deterministic data governance.
    Uses ODRL terms for standard constructs; adds lifecycle state,
    deadline, recurrence, data contracts, transitive ODRL collection matching,
    one-hop operand bindings over normalized immutable input nodes, and logical negation."""@en ;
  prof:isProfileOf odrl:core ;
  prof:hasToken "dprod"^^xsd:token ;
  # Default conflict strategy: if a permission and a prohibition both match,
  # the prohibition wins. A policy may declare its own odrl:conflict to
  # override this default for that policy.
  odrl:conflict odrl:prohibit ;
  prof:hasResource [
    a prof:ResourceDescriptor ;
    dct:title "DPROD Contracts Ontology"@en ;
    prof:hasRole role:vocabulary ;
    dct:conformsTo <http://www.w3.org/TR/owl2-overview/> ;
    prof:hasArtifact <https://ekgf.org/dprod/spec/develop/contracts/dprod-contracts.ttl>
  ] , [
    a prof:ResourceDescriptor ;
    dct:title "DPROD Contracts SHACL Shapes"@en ;
    prof:hasRole role:validation ;
    dct:conformsTo <http://www.w3.org/ns/shacl#> ;
    prof:hasArtifact <https://ekgf.org/dprod/spec/develop/contracts/dprod-contracts-shapes.ttl>
  ] ;
.
