Skip to content

CPSV Editor

Generate CPSV-AP 3.2.0 compliant RDF/Turtle files for Dutch government services

๐ŸŒ Live Application: cpsv.open-regels.nl
๐Ÿงช Acceptance Environment: acc.cpsv.open-regels.nl

CPSV-AP Version


Overview

The Core Public Service Editor is a React-based web application that simplifies the creation and management of RDF/Turtle files for government services in the Netherlands. It provides an intuitive interface for creating service definitions that comply with EU CPSV-AP 3.2.0 and Dutch RONL/CPRMV standards.

Key Features

  • โœ… CPSV-AP 3.2.0 compliant TTL generation
  • โœ… DMN integration with Operaton rule engine
  • โœ… RPP Architecture (Rules-Policy-Parameters separation)
  • โœ… iKnow integration for legislative analysis import
  • โœ… Import/Export with perfect round-trip fidelity
  • โœ… Live preview panel with real-time TTL generation
Section Description
Features Detailed feature overview
Getting Started Quick start guide
Service Definition Creating service metadata
Rules & Parameters RPP architecture usage
DMN Integration Decision model integration
Architecture System architecture
Standards Compliance CPSV-AP & CPRMV compliance
Development Developer guide

Use Cases

1. Service Definition

Create comprehensive service metadata including: - Service titles and descriptions (multilingual) - Thematic areas and sector classification - Cost specifications and outputs - Legal resource linking with BWB IDs

Link services to Dutch legislation: - BWB ID support for wetten.overheid.nl - Version and consolidation tracking - Automatic validation of BWB formats - Direct links to official legal sources

3. Rule Management (RPP Architecture)

Define business rules with the Rules-Policy-Parameters pattern:

graph LR
    A[Policy<br/>Legal Norms] -->|implements| B[Rules<br/>Decision Logic]
    B -->|configured by| C[Parameters<br/>Tunable Values]

    style A fill:#9b59b6
    style B fill:#3498db
    style C fill:#2ecc71

Benefits: - Legal Traceability: Law โ†’ Policy โ†’ Rule โ†’ Parameter โ†’ Decision - Organizational Agility: Adjust parameters without changing rules - Governance: Clear ownership per layer

4. DMN Orchestration

Upload, deploy, and test Decision Model and Notation files: - Integration with Operaton rule engine - Live decision evaluation - Automatic input variable extraction - Rule extraction with CPRMV attributes

Technology Stack

  • Framework: React 18.3.1
  • Styling: Tailwind CSS 3
  • Icons: Lucide React
  • Standards: CPSV-AP 3.2.0, CPRMV, RONL
  • Deployment: Azure Static Web Apps

Architecture Overview

graph TB
    subgraph "CPSV Editor (React)"
        A[Service Definition UI]
        B[TTL Generator]
        C[DMN Upload]
    end

    subgraph "Backend Services"
        D[TriplyDB Proxy]
        E[Operaton DMN Engine]
    end

    A -->|generates| B
    B -->|publishes via| D
    C -->|deploys to| E
    D -->|stores in| F[TriplyDB<br/>Knowledge Graph]
    E -->|executes| G[DMN Models]

    style A fill:#3498db
    style D fill:#e17000
    style F fill:#2ecc71

Getting Started

Prerequisites

  • Modern web browser (Chrome, Firefox, Edge, Safari)
  • No installation required for using the web app

For Developers

# Clone repository
git clone https://github.com/your-org/cpsv-editor.git
cd cpsv-editor

# Install dependencies
npm install

# Start development server
npm start

See Development Guide for details.

Documentation

  • User Guides: Step-by-step instructions for common tasks
  • Technical Docs: Architecture, standards, and development
  • Field Mapping: Complete CPSV-AP property mapping
  • Namespace Reference: RDF vocabulary documentation

Standards Compliance

The editor generates TTL files compliant with:

Standard Version Purpose
CPSV-AP 3.2.0 EU Public Service Vocabulary
CPRMV Latest Core Public Rule Management
RONL Latest Dutch Rules Vocabulary
BWB - Dutch Legal Resource IDs

Full compliance documentation: Standards Compliance

Support

  • Issues: Create issues in the repository
  • Documentation: This comprehensive guide
  • Community: RONL initiative discussion forums

Built with โค๏ธ for Dutch Government Services

Version 1.5.1 - January 2026