diff --git a/validation/pilot7/pilot7_service2_sp_input.shacl.ttl b/validation/pilot7/pilot7_service2_sp_input.shacl.ttl new file mode 100644 index 0000000000000000000000000000000000000000..2f768b5ffdea1c95a241c117240dbd7c84464133 --- /dev/null +++ b/validation/pilot7/pilot7_service2_sp_input.shacl.ttl @@ -0,0 +1,187 @@ +@prefix ener: <https://enershare.eu/shapes/p1#> . +@prefix sh: <http://www.w3.org/ns/shacl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix brick: <https://brickschema.org/schema/1.1/Brick#> . +@prefix cdt: <http://w3id.org/lindt/custom_datatypes#> . +@prefix plt: <https://w3id.org/platoon/> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix seas: <https://w3id.org/seas/> . +@prefix time: <http://www.w3.org/2006/time#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix saref4bldg: <https://saref.etsi.org/saref4bldg/> . +@prefix ener-prop: <https://w3id.org/enershare/property/> . +@prefix ener-sys: <https://w3id.org/enershare/system/> . +@prefix ener-price: <https://w3id.org/enershare/price/> . +@prefix sch: <https://schema.org/> . + +ener:BuildingShape + a sh:NodeShape ; + sh:property [ + sh:path brick:hasLocation ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path ener-sys:involvedIn ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path ener-prop:hasInitialElectricEnergyConsumption ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path ener-prop:hasRenewableEnergy ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass seas:Building . + +ener:BuildingCountShape + a sh:NodeShape ; + sh:targetNode seas:Building ; + sh:property [ + sh:path [ sh:inversePath rdf:type ] ; + sh:minCount 1 ; + ] . + + +ener:LocationShape + a sh:NodeShape ; + sh:property [ + sh:path ener-price:hasPowerTariff ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path rdfs:label ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:datatype xsd:string ; + ] ; + sh:targetClass brick:Location . + +ener:PricePropertyShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluation ; + sh:minCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass seas:PriceProperty . + +ener:PriceEvaluationShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluatedSimpleValue ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:datatype cdt:ucum ; + ] ; + sh:targetClass seas:PriceEvaluation . + +ener:ElectricEnergyConsumptionPropertyShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluation ; + sh:minCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass plt:ElectricEnergyConsumptionProperty . + +ener:ElectricEnergyConsumptionEvaluationShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluatedSimpleValue ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:datatype cdt:energy ; + ] ; + sh:targetClass plt:ElectricEnergyConsumptionEvaluation . + +ener:EnergyPropertyShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluation ; + sh:minCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass plt:EnergyProperty . + +ener:EnergyEvaluationShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluatedSimpleValue ; + sh:minCount 1 ; + sh:maxCount 1 ; + ] ; + sh:targetClass plt:EnergyEvaluation . + + +ener:ProjectShape + a sh:NodeShape ; + sh:property [ + sh:path seas:current ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path seas:costPrice ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass sch:Project . + + +ener:PowerInverterShape + a sh:NodeShape ; + sh:property [ + sh:path ener-sys:involvedIn ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:property [ + sh:path seas:current ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass seas:PowerInverter . + +ener:CurrentPropertyShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluation ; + sh:minCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass seas:CurrentProperty . + + +ener:CostPricePropertyShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluation ; + sh:minCount 1 ; + sh:nodeKind sh:IRI ; + ] ; + sh:targetClass seas:CostPriceProperty . + +ener:CostPriceEvaluationShape + a sh:NodeShape ; + sh:property [ + sh:path seas:evaluatedSimpleValue ; + sh:minCount 1 ; + sh:maxCount 1 ; + sh:datatype cdt:ucum ; + ] ; + sh:targetClass seas:CostPriceEvaluation .