EKGF Ontologies / Artifact Publication Ontology

EKGF Editor's Draft

Artifact Publication Ontology

EKGF Editor's Draft

1. Artifact Publication Ontology§

1.1 Overview§

Artifact Publication Ontology

IdentifierValue
Ontology IRI / Namespacehttps://ekgf.org/ontology/artifact-publication#
Prefixekg-artpub

How semantic artifacts are published, either as a family or as explicitly selected artifact references: profiles configure generation, targets identify destinations, runs generate outputs, releases identify versions and approvals record authority decisions about exact releases. Family grouping is optional. The state of a run and of a release is described with the Lifecycle Ontology. SHACL shapes validate the scope and approval records.

1.2 Classes§

1.2.1 Publication artifact§

A generated output of a publication run, such as a website bundle, PDF, RDF export, changelog, diff report or archive.

ekg-artpub:PublicationArtifact
https://ekgf.org/ontology/artifact-publication#PublicationArtifact
RDF predicateValue
rdf:typeowl:Class
rdfs:labelPublication artifact
UML class diagram for Publication artifact. Diagram labels: «owl:Class»; Family; (ekg-artgov:Family); «owl:Class»; Reference; (ekg-artgov:Reference); «owl:Class»; Publication artifact; Artifact checksum : xsd:string; Artifact media type : xsd:string; Artifact URL : xsd:anyURI; «owl:Class»; Publication profile; «owl:Class»; Standards release; Input commit CID : xsd:string [0..1]; Release version : xsd:string [1..1]; rdfs:Resource; Publication artifact; Publication profile; 0..1; Release family; 0..1; Release reference; owl:; disjointWith; The dotted rdfs:Resource source is a presentation placeholder: no specific domain is declared in the selected inputs. It is not an asserted domain or a claim that no more specific domain can be entailed. Standards release owl:disjointWith Publication artifact. Artifact checksum rdfs:domain Publication artifact. Artifact checksum rdfs:range xsd:string. Artifact media type rdfs:domain Publication artifact. Artifact media type rdfs:range xsd:string. Artifact URL rdfs:domain Publication artifact. Artifact URL rdfs:range xsd:anyURI. Publication artifact rdfs:range Publication artifact.«owl:Class»Family(ekg-artgov:Family)«owl:Class»Reference(ekg-artgov:Reference)«owl:Class»Publication artifactArtifact checksum : xsd:stringArtifact media type : xsd:stringArtifact URL : xsd:anyURI«owl:Class»Publication profile«owl:Class»Standards releaseInput commit CID : xsd:string [0..1]Release version : xsd:string [1..1]rdfs:ResourcePublication artifactPublication profile0..1Release family0..1Release referenceowl:disjointWith
Class neighborhood: Publication artifact [1]

1.2.2 Publication profile§

Branch-scoped generator configuration for publishing either one family or one or more explicit artifact references, including section ordering, render policy, validation gates and output targets. Retain the configuration referenced by a release; changed configuration requires a new profile identity.

ekg-artpub:PublicationProfile
https://ekgf.org/ontology/artifact-publication#PublicationProfile
RDF predicateValue
rdf:typeowl:Class
rdfs:labelPublication profile
UML class diagram for Publication profile. Diagram labels: «owl:Class»; Authority; (ekg-artgov:Authority); «owl:Class»; Family; (ekg-artgov:Family); «owl:Class»; Reference; (ekg-artgov:Reference); «owl:Class»; Publication profile; «owl:Class»; Release approval; Approved at : xsd:dateTime [1..1]; «owl:Class»; Standards release; Input commit CID : xsd:string [0..1]; Release version : xsd:string [1..1]; rdfs:Resource; Publication profile; Publishes family; 0..1; Publishes reference; Approved by; 1..1; Approves release; 1..1; Publication profile; 0..1; Release family; 0..1; Release reference; owl:; disjointWith; owl:; disjointWith; The dotted rdfs:Resource source is a presentation placeholder: no specific domain is declared in the selected inputs. It is not an asserted domain or a claim that no more specific domain can be entailed. Release approval owl:disjointWith Publication profile. Standards release owl:disjointWith Publication profile. Publication profile rdfs:range Publication profile. Publishes family rdfs:domain Publication profile. Publishes family rdfs:range Family (ekg-artgov:Family). Publishes reference rdfs:domain Publication profile. Publishes reference rdfs:range Reference (ekg-artgov:Reference).«owl:Class»Authority(ekg-artgov:Authority)«owl:Class»Family(ekg-artgov:Family)«owl:Class»Reference(ekg-artgov:Reference)«owl:Class»Publication profile«owl:Class»Release approvalApproved at : xsd:dateTime [1..1]«owl:Class»Standards releaseInput commit CID : xsd:string [0..1]Release version : xsd:string [1..1]rdfs:ResourcePublication profilePublishes family0..1Publishes referenceApproved by1..1Approves release1..1Publication profile0..1Release family0..1Release referenceowl:disjointWithowl:disjointWith
Class neighborhood: Publication profile [1]

1.2.3 Publication run§

An execution that generates publication artifacts for the scope selected by a profile, branch and input commit. The scope may be a family or explicit artifact references. How far it has come is its lifecycle state; by default a run follows the execution lifecycle.

ekg-artpub:PublicationRun
https://ekgf.org/ontology/artifact-publication#PublicationRun
RDF predicateValue
rdf:typeowl:Class
rdfs:labelPublication run
UML class diagram for Publication run. Diagram labels: «owl:Class»; Authority; (ekg-artgov:Authority); «owl:Class»; Family; (ekg-artgov:Family); «owl:Class»; Reference; (ekg-artgov:Reference); «owl:Class»; Publication profile; «owl:Class»; Publication run; Publication completed at : xsd:dateTime; Publication started at : xsd:dateTime; «owl:Class»; Release approval; Approved at : xsd:dateTime [1..1]; «owl:Class»; Standards release; Input commit CID : xsd:string [0..1]; Release version : xsd:string [1..1]; rdfs:Resource; Publication run; Approved by; 1..1; Approves release; 1..1; Publication profile; 0..1; Release family; 0..1; Release reference; owl:; disjointWith; owl:; disjointWith; The dotted rdfs:Resource source is a presentation placeholder: no specific domain is declared in the selected inputs. It is not an asserted domain or a claim that no more specific domain can be entailed. Release approval owl:disjointWith Publication run. Standards release owl:disjointWith Publication run. Publication completed at rdfs:domain Publication run. Publication completed at rdfs:range xsd:dateTime. Publication run rdfs:range Publication run. Publication started at rdfs:domain Publication run. Publication started at rdfs:range xsd:dateTime.«owl:Class»Authority(ekg-artgov:Authority)«owl:Class»Family(ekg-artgov:Family)«owl:Class»Reference(ekg-artgov:Reference)«owl:Class»Publication profile«owl:Class»Publication runPublication completed at : xsd:dateTimePublication started at : xsd:dateTime«owl:Class»Release approvalApproved at : xsd:dateTime [1..1]«owl:Class»Standards releaseInput commit CID : xsd:string [0..1]Release version : xsd:string [1..1]rdfs:ResourcePublication runApproved by1..1Approves release1..1Publication profile0..1Release family0..1Release referenceowl:disjointWithowl:disjointWith
Class neighborhood: Publication run [1]

1.2.4 Publication target§

A configured destination for a generated publication output, such as a website, PDF, RDF download, archive or package.

ekg-artpub:PublicationTarget
https://ekgf.org/ontology/artifact-publication#PublicationTarget
RDF predicateValue
rdf:typeowl:Class
rdfs:labelPublication target
UML class diagram for Publication target. Diagram labels: «owl:Class»; Publication target; Target kind : xsd:string; Target URL : xsd:anyURI; rdfs:Resource; Publication target; The dotted rdfs:Resource source is a presentation placeholder: no specific domain is declared in the selected inputs. It is not an asserted domain or a claim that no more specific domain can be entailed. Publication target rdfs:range Publication target. Target kind rdfs:domain Publication target. Target kind rdfs:range xsd:string. Target URL rdfs:domain Publication target. Target URL rdfs:range xsd:anyURI.«owl:Class»Publication targetTarget kind : xsd:stringTarget URL : xsd:anyURIrdfs:ResourcePublication target
Class neighborhood: Publication target [1]

1.2.5 Release approval§

An affirmative approval decision by one authority about one exact standards release at a recorded time. Several authorities can approve the same release through separate records. An approval does not extend to other releases or future family members, and does not itself publish the release. Supporting evidence can be linked with rdfs:seeAlso. Required approvers and any withdrawal of approval are matters for the applicable governance policy; a governing or publishing role alone does not establish that approval occurred.

ekg-artpub:ReleaseApproval
https://ekgf.org/ontology/artifact-publication#ReleaseApproval
RDF predicateValue
rdf:typeowl:Class
rdfs:labelRelease approval
owl:disjointWithekg-artgov:Family
owl:disjointWithekg-artgov:Reference
owl:disjointWithekg-artpub:PublicationProfile
owl:disjointWithekg-artpub:PublicationRun
owl:disjointWithekg-artpub:StandardsRelease
UML class diagram for Release approval. Diagram labels: «owl:Class»; Authority; (ekg-artgov:Authority); «owl:Class»; Family; (ekg-artgov:Family); «owl:Class»; Reference; (ekg-artgov:Reference); «owl:Class»; Publication profile; «owl:Class»; Publication run; «owl:Class»; Release approval; Approved at : xsd:dateTime [1..1]; «owl:Class»; Standards release; Input commit CID : xsd:string [0..1]; Release version : xsd:string [1..1]; Publishes family; 0..1; Publishes reference; Approved by; 1..1; Approves release; 1..1; Publication profile; 0..1; Release family; 0..1; Release reference; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; Release approval owl:disjointWith Family (ekg-artgov:Family). Release approval owl:disjointWith Reference (ekg-artgov:Reference). Release approval owl:disjointWith Publication profile. Release approval owl:disjointWith Publication run. Release approval owl:disjointWith Standards release.«owl:Class»Authority(ekg-artgov:Authority)«owl:Class»Family(ekg-artgov:Family)«owl:Class»Reference(ekg-artgov:Reference)«owl:Class»Publication profile«owl:Class»Publication run«owl:Class»Release approvalApproved at : xsd:dateTime [1..1]«owl:Class»Standards releaseInput commit CID : xsd:string [0..1]Release version : xsd:string [1..1]Publishes family0..1Publishes referenceApproved by1..1Approves release1..1Publication profile0..1Release family0..1Release referenceowl:disjointWithowl:disjointWithowl:disjointWithowl:disjointWithowl:disjointWith
Class neighborhood: Release approval [1]

1.2.6 Standards release§

A versioned snapshot of either one family or one or more explicit artifact references. Its identity, scope, version and content provenance are immutable; changed content requires a new release identity and new approvals. A release may record a branch, input commit, publication run and generated artifacts where available, but externally produced releases do not require a local generator run. Its lifecycle state may change from candidate to published, superseded or withdrawn. A version label is scoped to the release's publication context, not a global identifier. Family membership is optional and is not inferred from the references in a release.

ekg-artpub:StandardsRelease
https://ekgf.org/ontology/artifact-publication#StandardsRelease
RDF predicateValue
rdf:typeowl:Class
rdfs:labelStandards release
owl:disjointWithekg-artgov:Family
owl:disjointWithekg-artgov:Reference
owl:disjointWithekg-artpub:PublicationArtifact
owl:disjointWithekg-artpub:PublicationProfile
owl:disjointWithekg-artpub:PublicationRun
UML class diagram for Standards release. Diagram labels: «owl:Class»; Family; (ekg-artgov:Family); «owl:Class»; Reference; (ekg-artgov:Reference); «owl:Class»; Publication artifact; «owl:Class»; Publication profile; «owl:Class»; Publication run; «owl:Class»; Standards release; Input commit CID : xsd:string [0..1]; Release version : xsd:string [1..1]; Publishes family; 0..1; Publishes reference; Publication profile; 0..1; Release family; 0..1; Release reference; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; owl:; disjointWith; Standards release owl:disjointWith Family (ekg-artgov:Family). Standards release owl:disjointWith Reference (ekg-artgov:Reference). Standards release owl:disjointWith Publication artifact. Standards release owl:disjointWith Publication profile. Standards release owl:disjointWith Publication run.«owl:Class»Family(ekg-artgov:Family)«owl:Class»Reference(ekg-artgov:Reference)«owl:Class»Publication artifact«owl:Class»Publication profile«owl:Class»Publication run«owl:Class»Standards releaseInput commit CID : xsd:string [0..1]Release version : xsd:string [1..1]Publishes family0..1Publishes referencePublication profile0..1Release family0..1Release referenceowl:disjointWithowl:disjointWithowl:disjointWithowl:disjointWithowl:disjointWith
Class neighborhood: Standards release [1]

1.3 Properties§

1.3.1 Approved at§

Timestamp at which the authority approved the identified release. This is distinct from when it was generated or published.

ekg-artpub:approvedAt
https://ekgf.org/ontology/artifact-publication#approvedAt
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:ReleaseApproval
rdfs:labelApproved at
rdfs:rangexsd:dateTime

1.3.2 Approved by§

Identifies the authority role that issued this approval. The organization playing the role has its own identity. A separate decision record is used for each approving authority.

ekg-artpub:approvedBy
https://ekgf.org/ontology/artifact-publication#approvedBy
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:ReleaseApproval
rdfs:labelApproved by
rdfs:rangeekg-artgov:Authority

1.3.3 Approves release§

Identifies the exact release approved by this decision. Approval is never attached to the enduring family or artifact reference.

ekg-artpub:approvesRelease
https://ekgf.org/ontology/artifact-publication#approvesRelease
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:ReleaseApproval
rdfs:labelApproves release
rdfs:rangeekg-artpub:StandardsRelease

1.3.4 Artifact checksum§

Checksum or digest of a generated publication artifact.

ekg-artpub:artifactChecksum
https://ekgf.org/ontology/artifact-publication#artifactChecksum
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationArtifact
rdfs:labelArtifact checksum
rdfs:rangexsd:string

1.3.5 Artifact media type§

Media type of a generated publication artifact, such as text/html, application/pdf or text/turtle.

ekg-artpub:artifactMediaType
https://ekgf.org/ontology/artifact-publication#artifactMediaType
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationArtifact
rdfs:labelArtifact media type
rdfs:rangexsd:string

1.3.6 Artifact URL§

Stable URL where a generated publication artifact can be read.

ekg-artpub:artifactUrl
https://ekgf.org/ontology/artifact-publication#artifactUrl
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationArtifact
rdfs:labelArtifact URL
rdfs:rangexsd:anyURI

1.3.7 Generator version§

Version of the publication generator used by a publication profile, run, artifact or release.

ekg-artpub:generatorVersion
https://ekgf.org/ontology/artifact-publication#generatorVersion
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:labelGenerator version
rdfs:rangexsd:string

1.3.8 Input commit CID§

Content identifier of the branch commit used as input for a publication run or release.

ekg-artpub:inputCommitCid
https://ekgf.org/ontology/artifact-publication#inputCommitCid
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:labelInput commit CID
rdfs:rangexsd:string

1.3.9 Publication artifact§

Links a publication run or a standards release to a generated publication artifact.

ekg-artpub:publicationArtifact
https://ekgf.org/ontology/artifact-publication#publicationArtifact
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication artifact
rdfs:rangeekg-artpub:PublicationArtifact

1.3.10 Publication branch§

Links a publication run or a standards release to the branch whose commit was published.

ekg-artpub:publicationBranch
https://ekgf.org/ontology/artifact-publication#publicationBranch
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication branch
rdfs:rangerdfs:Resource

1.3.11 Publication completed at§

Timestamp at which a publication run completed.

ekg-artpub:publicationCompletedAt
https://ekgf.org/ontology/artifact-publication#publicationCompletedAt
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationRun
rdfs:labelPublication completed at
rdfs:rangexsd:dateTime

1.3.12 Publication profile§

Links a publication run, target, artifact or release to the profile that governed generation.

ekg-artpub:publicationProfile
https://ekgf.org/ontology/artifact-publication#publicationProfile
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication profile
rdfs:rangeekg-artpub:PublicationProfile

1.3.13 Publication release§

Links a publication run or a generated artifact to the standards release that incorporated it.

ekg-artpub:publicationRelease
https://ekgf.org/ontology/artifact-publication#publicationRelease
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication release
rdfs:rangeekg-artpub:StandardsRelease

1.3.14 Publication run§

Links a standards release or a generated artifact to the publication run that produced it.

ekg-artpub:publicationRun
https://ekgf.org/ontology/artifact-publication#publicationRun
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication run
rdfs:rangeekg-artpub:PublicationRun

1.3.15 Publication started at§

Timestamp at which a publication run started.

ekg-artpub:publicationStartedAt
https://ekgf.org/ontology/artifact-publication#publicationStartedAt
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationRun
rdfs:labelPublication started at
rdfs:rangexsd:dateTime

1.3.16 Publication target§

Links a publication profile, run or artifact to a configured output target.

ekg-artpub:publicationTarget
https://ekgf.org/ontology/artifact-publication#publicationTarget
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:labelPublication target
rdfs:rangeekg-artpub:PublicationTarget

1.3.17 Publishes family§

Links a publication profile to the one family that it publishes. Optional: a profile can instead select artifacts individually with publishesReference.

ekg-artpub:publishesFamily
https://ekgf.org/ontology/artifact-publication#publishesFamily
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:PublicationProfile
rdfs:labelPublishes family
rdfs:rangeekg-artgov:Family

1.3.18 Publishes reference§

Selects an artifact by its stable reference for publication without a family. A profile can select several references. This does not create a family or assert family membership.

ekg-artpub:publishesReference
https://ekgf.org/ontology/artifact-publication#publishesReference
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:PublicationProfile
rdfs:labelPublishes reference
rdfs:rangeekg-artgov:Reference

1.3.19 Release family§

Identifies the one family whose version this release records. Optional: an ungrouped release selects artifacts with releaseReference instead. This is recorded explicitly, so editing a publication profile cannot change an existing release's scope.

ekg-artpub:releaseFamily
https://ekgf.org/ontology/artifact-publication#releaseFamily
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:StandardsRelease
rdfs:labelRelease family
rdfs:rangeekg-artgov:Family

1.3.20 Release reference§

Identifies an artifact included in a release without family grouping. Each selected artifact is represented by a stable reference; the release supplies its version and content provenance. A release can select several references. These are source artifacts, distinct from generated outputs linked by publicationArtifact.

ekg-artpub:releaseReference
https://ekgf.org/ontology/artifact-publication#releaseReference
RDF predicateValue
rdf:typeowl:ObjectProperty
rdfs:domainekg-artpub:StandardsRelease
rdfs:labelRelease reference
rdfs:rangeekg-artgov:Reference

1.3.21 Release version§

Public version label of a standards release, whether it releases a family or explicitly selected artifact references. The label belongs to the release, not the enduring family or reference, and need not be globally unique.

ekg-artpub:releaseVersion
https://ekgf.org/ontology/artifact-publication#releaseVersion
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:StandardsRelease
rdfs:labelRelease version
rdfs:rangexsd:string

1.3.22 Released at§

Timestamp at which a standards release was published.

ekg-artpub:releasedAt
https://ekgf.org/ontology/artifact-publication#releasedAt
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:StandardsRelease
rdfs:labelReleased at
rdfs:rangexsd:dateTime

1.3.23 Target kind§

Kind of publication target, such as website, pdf, rdf-download, archive or package.

ekg-artpub:targetKind
https://ekgf.org/ontology/artifact-publication#targetKind
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationTarget
rdfs:labelTarget kind
rdfs:rangexsd:string

1.3.24 Target URL§

Base URL or destination URL of a publication target.

ekg-artpub:targetUrl
https://ekgf.org/ontology/artifact-publication#targetUrl
RDF predicateValue
rdf:typeowl:DatatypeProperty
rdfs:domainekg-artpub:PublicationTarget
rdfs:labelTarget URL
rdfs:rangexsd:anyURI

1.4 Shapes§

1.4.1 Publication Profile Shape§

Validates that a publication profile explicitly selects a family or artifact references using the supported scope alternatives.

ekg-artpub:PublicationProfileShape
https://ekgf.org/ontology/artifact-publication#PublicationProfileShape
RDF predicateValue
rdf:typesh:NodeShape
rdfs:labelPublication Profile Shape
sh:classekg-artpub:PublicationProfile
sh:messageA publication profile selects either one family or one or more artifact references.
sh:nodeKindsh:IRI
sh:property(sh:class: ekg-artgov:Family; sh:maxCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:publishesFamily)
sh:property(sh:class: ekg-artgov:Reference; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:publishesReference)
sh:targetClassekg-artpub:PublicationProfile
sh:targetObjectsOfekg-artpub:publicationProfile
sh:targetSubjectsOfekg-artpub:publishesFamily
sh:targetSubjectsOfekg-artpub:publishesReference
sh:xone((sh:property: (sh:minCount: 1; sh:path: ekg-artpub:publishesFamily); sh:property: (sh:maxCount: 0; sh:path: ekg-artpub:publishesReference)), (sh:property: (sh:minCount: 1; sh:path: ekg-artpub:publishesReference); sh:property: (sh:maxCount: 0; sh:path: ekg-artpub:publishesFamily)))

1.4.2 Release Approval Shape§

Validates an approval record identifying the exact release approved, the approving authority, and the approval time.

ekg-artpub:ReleaseApprovalShape
https://ekgf.org/ontology/artifact-publication#ReleaseApprovalShape
RDF predicateValue
rdf:typesh:NodeShape
rdfs:labelRelease Approval Shape
sh:classekg-artpub:ReleaseApproval
sh:nodeKindsh:IRI
sh:not(sh:or: ((sh:class: ekg-artgov:Family), (sh:class: ekg-artgov:Reference), (sh:class: ekg-artpub:StandardsRelease), (sh:class: ekg-artpub:PublicationProfile), (sh:class: ekg-artpub:PublicationRun)))
sh:property(sh:class: ekg-artgov:Authority; sh:maxCount: 1; sh:minCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:approvedBy)
sh:property(sh:class: ekg-artpub:StandardsRelease; sh:maxCount: 1; sh:minCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:approvesRelease)
sh:property(sh:datatype: xsd:dateTime; sh:maxCount: 1; sh:minCount: 1; sh:path: ekg-artpub:approvedAt)
sh:targetClassekg-artpub:ReleaseApproval
sh:targetSubjectsOfekg-artpub:approvedAt
sh:targetSubjectsOfekg-artpub:approvedBy
sh:targetSubjectsOfekg-artpub:approvesRelease

1.4.3 Standards Release Shape§

Validates a standards release's family or reference scope, version label, and optional publication and content-provenance records.

ekg-artpub:StandardsReleaseShape
https://ekgf.org/ontology/artifact-publication#StandardsReleaseShape
RDF predicateValue
rdf:typesh:NodeShape
rdfs:labelStandards Release Shape
sh:classekg-artpub:StandardsRelease
sh:nodeKindsh:IRI
sh:not(sh:or: ((sh:class: ekg-artgov:Family), (sh:class: ekg-artgov:Reference), (sh:class: ekg-artpub:PublicationProfile), (sh:class: ekg-artpub:PublicationRun), (sh:class: ekg-artpub:PublicationArtifact), (sh:class: ekg-artpub:ReleaseApproval)))
sh:property(sh:class: ekg-artgov:Family; sh:maxCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:releaseFamily)
sh:property(sh:class: ekg-artpub:PublicationProfile; sh:maxCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:publicationProfile)
sh:property(sh:datatype: xsd:string; sh:maxCount: 1; sh:minLength: 1; sh:path: ekg-artpub:inputCommitCid)
sh:property(sh:class: ekg-artgov:Reference; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:releaseReference)
sh:property(sh:datatype: xsd:string; sh:maxCount: 1; sh:minCount: 1; sh:minLength: 1; sh:path: ekg-artpub:releaseVersion)
sh:property(sh:class: ekg-artpub:PublicationRun; sh:maxCount: 1; sh:node: (sh:property: (sh:datatype: xsd:string; sh:maxCount: 1; sh:minCount: 1; sh:minLength: 1; sh:path: ekg-artpub:inputCommitCid); sh:property: (sh:class: ekg-artpub:PublicationProfile; sh:maxCount: 1; sh:minCount: 1; sh:nodeKind: sh:IRI; sh:path: ekg-artpub:publicationProfile)); sh:nodeKind: sh:IRI; sh:path: ekg-artpub:publicationRun)
sh:sparql(sh:message: A release and every linked publication profile must select the same family or the same artifact references.; sh:select: SPARQL SELECT query 1)
sh:sparql(sh:message: A release linked to a publication run must record the same input commit.; sh:select: SPARQL SELECT query 2)
sh:targetClassekg-artpub:StandardsRelease
sh:targetObjectsOfekg-artpub:approvesRelease
sh:targetObjectsOfekg-artpub:publicationRelease
sh:targetSubjectsOfekg-artpub:releaseFamily
sh:targetSubjectsOfekg-artpub:releaseReference
sh:targetSubjectsOfekg-artpub:releaseVersion
sh:xone((sh:property: (sh:maxCount: 0; sh:path: ekg-artpub:releaseReference); sh:property: (sh:minCount: 1; sh:path: ekg-artpub:releaseFamily)), (sh:property: (sh:maxCount: 0; sh:path: ekg-artpub:releaseFamily); sh:property: (sh:minCount: 1; sh:path: ekg-artpub:releaseReference)))
1.4.3.1 SPARQL query 1§

A release and every linked publication profile must select the same family or the same artifact references.

PREFIX artpub: <https://ekgf.org/ontology/artifact-publication#>
SELECT $this WHERE {
    $this (artpub:publicationProfile|artpub:publicationRun/artpub:publicationProfile) ?profile .
    {
        { $this artpub:releaseFamily ?scope .
          FILTER NOT EXISTS { ?profile artpub:publishesFamily ?scope } }
        UNION
        { ?profile artpub:publishesFamily ?scope .
          FILTER NOT EXISTS { $this artpub:releaseFamily ?scope } }
        UNION
        { $this artpub:releaseReference ?scope .
          FILTER NOT EXISTS { ?profile artpub:publishesReference ?scope } }
        UNION
        { ?profile artpub:publishesReference ?scope .
          FILTER NOT EXISTS { $this artpub:releaseReference ?scope } }
    }
}
1.4.3.2 SPARQL query 2§

A release linked to a publication run must record the same input commit.

PREFIX artpub: <https://ekgf.org/ontology/artifact-publication#>
SELECT $this WHERE {
    $this artpub:publicationRun/artpub:inputCommitCid ?commit .
    FILTER NOT EXISTS { $this artpub:inputCommitCid ?commit }
}

Document provenance

Search this specification