The CPRMV vocabulary is defined in rdf/0.4.3/cprmv.ttl, with SHACL shapes in rdf/0.4.3/cprmv.shacl.ttl, and published as the CPRMV specification at cprmv.open-regels.nl/respec/. This page provides a compact reference of the classes and properties relevant to the API's output.
Related namespaces used by the API: cprmvmethods: = https://cprmv.open-regels.nl/0.4.3/methods/ (method definitions), cprmv-serve: = https://cprmv.open-regels.nl/0.4.3/serve-api/ (API configuration properties) and core-api: = https://cprmv.open-regels.nl/0.4.3/methods/core-api# (settings of API sources).
The API loads the vocabulary from serve_api/data/cprmv.ttl, a copy make methods takes of rdf/0.4.3/cprmv.ttl; /methods serves it.
A bundle of rules agreed on as the output of a deliberation in a public service's delivery. As an FRBR Endeavor it can be a Work, an Expression, a Manifestation or an Item. A RuleSet is not an eli:LegalResource โ a formalisation (e.g. business rules) is not in itself a legal resource.
cprmv:Analysis
cprmv:RuleSet
Rule set produced by an analysis method
cprmv:DecisionModel
cprmv:RuleSet
Rule set produced by a formalisation method
cprmv:TestSet
cprmv:RuleSet
Rule set of test cases defined following a test method
cprmv:OrganisationCatalog
cprmv:RuleSet
Catalog of officially acknowledged organisations that produce rule sets
cprmv:ServiceCatalog
cprmv:RuleSet
Catalog of officially acknowledged public services in which rule sets are produced
cprmv:Rule
prov:Entity
A part of a specification agreed on as the output of a deliberation; an individual rule within a rule set
cprmv:Parameter
cprmv:Rule
A rule representing a parameter value
cprmv:AcknowledgedOrganisation
cprmv:Rule
The official acknowledgement of a cv:PublicOrganisation
cprmv:AcknowledgedService
cprmv:Rule
The official acknowledgement of a cpsv:PublicService
cprmv:Explanation
cprmv:Rule
Explains a rule set or rule
cprmv:Decision
cprmv:Rule
A rule defined following an execution method
cprmv:Case
cprmv:Rule
A list of decisions defined following an execution method
cprmv:TestCase
cprmv:Case
A case defined for and following a test method
cprmv:Instrument
โ
Something used in relation to rules: a method, standard or tool
cprmv:Standard
cprmv:Instrument
A standard used in relation to rules
cprmv:Tool
cprmv:Instrument
A tool used in relation to rules
cprmv:Method
cprmv:Instrument
A method used in relation to rules
cprmv:RuleMethod
cprmv:Method
Base class for all rule method types
cprmv:AnalysisMethod
cprmv:RuleMethod
cprmv:FormalisationMethod
cprmv:RuleMethod
cprmv:SerialisationMethod
cprmv:RuleMethod
Meta method: serialising rules as a storable text file (XML, JSON, YAML, Turtle)
cprmv:CodificationMethod
cprmv:RuleMethod
cprmv:ExecutionMethod
cprmv:RuleMethod
cprmv:ExplanationMethod
cprmv:RuleMethod
cprmv:TestMethod
cprmv:RuleMethod
cprmv:PublicationMethod
cprmv:RuleMethod
Publication of rule set definitions, apart from their execution
cprmv:ReferenceMethod
cprmv:PublicationMethod
Meta method: referencing rules and rule sets
cprmv:OrganisationRegister
cprmv:PublicationMethod
Method for publishing an organisation catalog
cprmv:ServiceRegister
cprmv:PublicationMethod
Method for publishing a service catalog
cprmv:Echelon
โ
A category of a rule set in service delivery โ see Echelons
cprmv.ttl declares the frbr: prefix as http://purl.org/vocab/frbr/core, without the # of FRBR Core, so frbr:Endeavor and frbr:relatedEndeavour expand to IRIs FRBR Core does not define; and cprmv:Method carries the label "Tool" (open-regels/cprmv#2). This page names the FRBR terms as intended.
rdf/0.4.3/cprmv.shacl.ttl constrains the output as follows:
cprmv:RuleSetShape โ cprmv:id (at least one), exactly one cprmv:validFrom (xsd:date), optional cprmv:validUntil / cprmv:publishedOn, at least one cprmv:isOutputOf (cpsv:PublicService) and at least one cprmv:hasMethod (cprmv:RuleMethod). Through the shared property shape cprmv:hasPartShape โ the sequence path cprmv:hasPart / rdf:rest* / rdf:first โ a rule set must contain at least one member, and every member must be a cprmv:Rule.
cprmv:RuleShape โ cprmv:id (at least one), at most one cprmv:definition and one cprmv:postDefinition, cprmv:hasPart zero or more.
cprmv:id, cprmv:comment and cprmv:sourcequote accept xsd:string or rdf:langString, where constrained.
Method shapes โ every cprmv:RuleMethod needs a cprmv:id; refinesTowards and refinesFrom must point to a cprmv:Echelon, and each method subclass narrows which echelons it may refine from and towards (for example, an analysis method refines towards the natural, semantic or ontologic echelon; a formalisation method towards the logic or operable echelon).
Catalogs โ an OrganisationCatalog must have an OrganisationRegister as method, a ServiceCatalog a ServiceRegister; cprmv:acknowledges is required on AcknowledgedOrganisation (cv:PublicOrganisation) and AcknowledgedService (cpsv:PublicService).
rdf/0.4.3/test.sh runs pyshacl over the test files and method definitions; it is a manual check.