Holger Knublauch

Latest content validation constraints

...@@ -24,7 +24,26 @@ ...@@ -24,7 +24,26 @@
24 @prefix spl: <http://spinrdf.org/spl#> . 24 @prefix spl: <http://spinrdf.org/spl#> .
25 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 25 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
26 26
27 -<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> 27 +<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
28 + rdfs:subClassOf :DDRSuperclass .
29 +
30 +<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport>
31 + rdfs:subClassOf :DDRSuperclass .
32 +
33 +<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport>
34 + rdfs:subClassOf :DDRSuperclass .
35 +
36 +<http://www.reportinghub.no/ep/spin/report-constraints>
37 + rdf:type owl:Ontology ;
38 + rdfs:comment "Constraints that need to be executed after ep-report:Report generation (without SXML triples)."^^xsd:string ;
39 + owl:imports <http://www.reportinghub.no/spin/rh> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
40 + owl:versionInfo "0.1.0"^^xsd:string .
41 +
42 +:DDRSuperclass
43 + rdf:type owl:Class ;
44 + rdfs:comment "Abstract superclass to make sure that constraints are only reported on the subclasses of DDR."^^xsd:string ;
45 + rdfs:label "DDRSuperclass"^^xsd:string ;
46 + rdfs:subClassOf owl:Thing ;
28 spin:constraint 47 spin:constraint
29 [ rdf:type sp:Construct ; 48 [ rdf:type sp:Construct ;
30 sp:templates ([ sp:object spin:ConstraintViolation ; 49 sp:templates ([ sp:object spin:ConstraintViolation ;
...@@ -83,16 +102,10 @@ ...@@ -83,16 +102,10 @@
83 ]) 102 ])
84 ] . 103 ] .
85 104
86 -<http://www.reportinghub.no/ep/spin/report-constraints> 105 +_:b5 sp:varName "company"^^xsd:string .
87 - rdf:type owl:Ontology ;
88 - rdfs:comment "Constraints that need to be executed after ep-report:Report generation (without SXML triples)."^^xsd:string ;
89 - owl:imports <http://www.reportinghub.no/spin/rh> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
90 - owl:versionInfo "0.1.0"^^xsd:string .
91 106
92 -_:b2 sp:varName "message"^^xsd:string . 107 +_:b4 sp:varName "companyName"^^xsd:string .
93 108
94 _:b3 sp:varName "wellBore"^^xsd:string . 109 _:b3 sp:varName "wellBore"^^xsd:string .
95 110
96 -_:b4 sp:varName "companyName"^^xsd:string . 111 +_:b2 sp:varName "message"^^xsd:string .
97 -
98 -_:b5 sp:varName "company"^^xsd:string .
......