https://cacontology.projectvic.org/infrastructure#PaymentSystemCrossReferenceShape
Validates payment system relationships for monetized platforms.
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure:PaymentSystemCrossReferenceShape a sh:NodeShape ;
rdfs:label "Payment System Cross Reference Shape"@en ;
rdfs:comment "Validates payment system relationships for monetized platforms."@en ;
sh:sparql [ sh:message "Monetized platform infrastructure should have payment processing systems."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-infrastructure:PlatformInfrastructure ;
?payment cacontology-infrastructure:monthlyRevenue ?revenue .
FILTER (?revenue > 0)
FILTER NOT EXISTS {
$this cacontology-infrastructure:usesPaymentSystem ?payment .
}
}
""" ] ;
sh:targetClass cacontology-infrastructure:PlatformInfrastructure .