Ontology Version: 2.2.0

cacontology-infrastructure-shapes:SophisticatedFinancialRule leaf node


URI

https://cacontology.projectvic.org/infrastructure/shapes#SophisticatedFinancialRule

Label

Sophisticated Financial Rule

Description

Advanced gUFO business rule: Sophisticated financial systems should have low traceability.

Shape Properties

Instances of cacontology-infrastructure:PaymentProcessing can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:PaymentProcessing
cacontology-infrastructure:hasFinancialComplexity 1 xsd:string
cacontology-infrastructure:hasFinancialTraceability 1 xsd:double
cacontology-infrastructure:monthlyRevenue 0 1 xsd:decimal
cacontology-infrastructure:paymentMethods 0 10 xsd:string

Implementation

@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure-shapes:SophisticatedFinancialRule a sh:NodeShape ;
    rdfs:label "Sophisticated Financial Rule"@en ;
    rdfs:comment "Advanced gUFO business rule: Sophisticated financial systems should have low traceability."@en ;
    sh:sparql [ sh:message "Sophisticated or highly sophisticated financial systems must have low traceability (gUFO business rule)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-infrastructure:hasFinancialComplexity ?complexity .
                FILTER (?complexity IN ("sophisticated", "highly_sophisticated"))
                FILTER NOT EXISTS {
                    $this cacontology-infrastructure:hasFinancialTraceability ?traceability .
                    FILTER (?traceability <= 0.3)
                }
            }
        """ ] ;
    sh:targetClass cacontology-infrastructure:PaymentProcessing .