PROV-O¶
Vocabulary: W3C PROV Ontology (PROV-O), W3C Recommendation 30 April 2012.
Namespace: http://www.w3.org/ns/prov#
Specification: https://www.w3.org/TR/prov-o/
PROV-O models where things come from: agents, activities, and the entities they produce.
CAP already has the two halves that PROV-O connects - parties that act, and statements that result - so the vocabulary is the natural way to ask how a cap:StatementOfConformity came to exist.
Asserted¶
| CAP term | Alignment | External term |
|---|---|---|
cap:Party |
skos:closeMatch |
prov:Agent - "something that bears some form of agency, i.e. is indirectly responsible for an action or happening on others" |
@prefix cap: <https://w3id.org/eclipse-cap/v0/#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
cap:Party skos:closeMatch prov:Agent .
The match is close, not exact: cap:Party is defined by the role it undertakes in conformity assessment, prov:Agent by its capacity to bear agency.
Anything that is a cap:Party is a prov:Agent, and the converse is far too permissive to be useful to CAP.
Example¶
A certification, described both as CAP and with its provenance:
@prefix cap: <https://w3id.org/eclipse-cap/v0/#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <http://example.com/#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:LNE a cap:Party, prov:Agent ;
rdfs:label "LABORATOIRE NATIONAL DE METROLOGIE ET D'ESSAIS" .
ex:audit2023 a prov:Activity ;
prov:startedAtTime "2023-11-01T00:00:00"^^xsd:dateTime ;
prov:wasAssociatedWith ex:LNE .
ex:cert01 a cap:Certification ;
cap:issuedBy ex:LNE ;
cap:issuedAt "2023-11-30T00:00:00"^^xsd:dateTime ;
prov:wasGeneratedBy ex:audit2023 .
The CAP properties carry the conformity meaning; prov:wasGeneratedBy adds how the statement came about without CAP having to invent a property for it.
Where the semantics diverge¶
prov:Agentincludes events and abstract things that can bear agency;cap:Partyis an actor that undertakes a role - natural person, organisation, legal entity, government, or an instance of an ICT service.- PROV-O has no notion of a requirement being fulfilled, so nothing in CAP's core axis maps to it; the alignment is about agency and provenance only.
Illustrative - not asserted¶
These are readings CAP finds plausible but has not committed to. Do not build conformance claims on them.
| CAP term | Candidate | Why it is not asserted |
|---|---|---|
cap:StatementOfConformity |
prov:Entity |
the shape fits (an issued thing with an issuer and a validity window), but CAP has no property recording the activity that produced it, so the provenance half is missing |
cap:ConformityAssessmentActivity |
prov:Activity |
CAP's activity axis classifies the ISO 17000 type of work (Testing, Audit, Verification...), not a particular occurrence in time |
cap:issuedBy |
prov:wasInfluencedBy / prov:wasGeneratedBy |
which of the two is right depends on whether the issuer acted or merely authorised |
| - | prov:actedOnBehalfOf |
the standard way to say "software acting for the CAB"; tracked as an open item, see below |
| - | prov:SoftwareAgent |
the standard way to say "the actor was software"; tracked as an open item, see below |
Two open items in the project plan would settle the last two rows: making cap:Party acknowledge software and AI agents, and expressing delegation.
Until they land, CAP deliberately says nothing about them rather than pointing at PROV-O classes it has not mapped.