Showing
4 changed files
with
116 additions
and
38 deletions
... | @@ -4684,6 +4684,40 @@ ep-mpr-spin-lib:selectQuantityTypeUomScale | ... | @@ -4684,6 +4684,40 @@ ep-mpr-spin-lib:selectQuantityTypeUomScale |
4684 | ]) | 4684 | ]) |
4685 | ] . | 4685 | ] . |
4686 | 4686 | ||
4687 | +ep-mpr-spin-lib:selectRDFTypes | ||
4688 | + rdf:type spin:Function ; | ||
4689 | + rdfs:label "select rdf:types of the thing from NPD, ERH and other"^^xsd:string ; | ||
4690 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
4691 | + spin:body | ||
4692 | + [ rdf:type sp:Select ; | ||
4693 | + sp:resultVariables ([ sp:varName "thingType"^^xsd:string | ||
4694 | + ]) ; | ||
4695 | + sp:where ([ rdf:type sp:Union ; | ||
4696 | + sp:elements (([ rdf:type sp:NamedGraph ; | ||
4697 | + sp:elements ([ sp:object | ||
4698 | + [ sp:varName "thingType"^^xsd:string | ||
4699 | + ] ; | ||
4700 | + sp:predicate rdf:type ; | ||
4701 | + sp:subject spin:_arg1 | ||
4702 | + ]) ; | ||
4703 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
4704 | + ]) ([ rdf:type sp:NamedGraph ; | ||
4705 | + sp:elements ([ sp:object | ||
4706 | + [ sp:varName "thingType"^^xsd:string | ||
4707 | + ] ; | ||
4708 | + sp:predicate rdf:type ; | ||
4709 | + sp:subject spin:_arg1 | ||
4710 | + ]) ; | ||
4711 | + sp:graphNameNode <http://www.reportinghub.no/data/erh> | ||
4712 | + ]) ([ sp:object | ||
4713 | + [ sp:varName "thingType"^^xsd:string | ||
4714 | + ] ; | ||
4715 | + sp:predicate rdf:type ; | ||
4716 | + sp:subject spin:_arg1 | ||
4717 | + ])) | ||
4718 | + ]) | ||
4719 | + ] . | ||
4720 | + | ||
4687 | ep-mpr-spin-lib:selectRatioScale | 4721 | ep-mpr-spin-lib:selectRatioScale |
4688 | rdf:type spin:Function ; | 4722 | rdf:type spin:Function ; |
4689 | rdfs:subClassOf ep-mpr-spin-lib:Function ; | 4723 | rdfs:subClassOf ep-mpr-spin-lib:Function ; | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | <http://www.reportinghub.no/ep/transform/transform-helper-schema> | 15 | <http://www.reportinghub.no/ep/transform/transform-helper-schema> |
16 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
17 | rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; | 17 | rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; |
18 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> ; | 18 | + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; |
19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
20 | 20 | ||
21 | transhelp:buildRdlURI | 21 | transhelp:buildRdlURI |
... | @@ -49,10 +49,10 @@ transhelp:domainOfPropertyMapsToMPREnumeration | ... | @@ -49,10 +49,10 @@ transhelp:domainOfPropertyMapsToMPREnumeration |
49 | rdfs:subPropertyOf transhelp:mapsTo . | 49 | rdfs:subPropertyOf transhelp:mapsTo . |
50 | 50 | ||
51 | transhelp:facilityIdentifier | 51 | transhelp:facilityIdentifier |
52 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 52 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
53 | 53 | ||
54 | transhelp:flowingStateMapsToMPREnumeration | 54 | transhelp:flowingStateMapsToMPREnumeration |
55 | - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; | 55 | + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; |
56 | rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ; | 56 | rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ; |
57 | rdfs:subPropertyOf transhelp:mapsTo . | 57 | rdfs:subPropertyOf transhelp:mapsTo . |
58 | 58 | ||
... | @@ -62,6 +62,9 @@ transhelp:forComment | ... | @@ -62,6 +62,9 @@ transhelp:forComment |
62 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ; | 62 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ; |
63 | rdfs:label "for comment"^^xsd:string . | 63 | rdfs:label "for comment"^^xsd:string . |
64 | 64 | ||
65 | +transhelp:fromRule | ||
66 | + rdf:type owl:DatatypeProperty . | ||
67 | + | ||
65 | transhelp:hasDerivedText | 68 | transhelp:hasDerivedText |
66 | rdf:type owl:DatatypeProperty . | 69 | rdf:type owl:DatatypeProperty . |
67 | 70 | ||
... | @@ -71,25 +74,25 @@ transhelp:hasEquivalentInRDL | ... | @@ -71,25 +74,25 @@ transhelp:hasEquivalentInRDL |
71 | rdfs:label "has equivalent in RDL"^^xsd:string . | 74 | rdfs:label "has equivalent in RDL"^^xsd:string . |
72 | 75 | ||
73 | transhelp:interval | 76 | transhelp:interval |
74 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 77 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
75 | 78 | ||
76 | transhelp:intervalEnd | 79 | transhelp:intervalEnd |
77 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 80 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
78 | 81 | ||
79 | transhelp:intervalIdentifier | 82 | transhelp:intervalIdentifier |
80 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 83 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
81 | 84 | ||
82 | transhelp:intervalStart | 85 | transhelp:intervalStart |
83 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 86 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
84 | 87 | ||
85 | transhelp:label | 88 | transhelp:label |
86 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 89 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
87 | 90 | ||
88 | transhelp:mapsTo | 91 | transhelp:mapsTo |
89 | rdf:type rdf:Property . | 92 | rdf:type rdf:Property . |
90 | 93 | ||
91 | transhelp:materialClassMapsToMPREnumeration | 94 | transhelp:materialClassMapsToMPREnumeration |
92 | - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; | 95 | + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; |
93 | rdfs:label "material class maps to MPR enumeration"^^xsd:string ; | 96 | rdfs:label "material class maps to MPR enumeration"^^xsd:string ; |
94 | rdfs:subPropertyOf transhelp:mapsTo . | 97 | rdfs:subPropertyOf transhelp:mapsTo . |
95 | 98 | ||
... | @@ -97,15 +100,15 @@ transhelp:necessaryIntervalString | ... | @@ -97,15 +100,15 @@ transhelp:necessaryIntervalString |
97 | rdf:type owl:DatatypeProperty . | 100 | rdf:type owl:DatatypeProperty . |
98 | 101 | ||
99 | transhelp:nominalInstant | 102 | transhelp:nominalInstant |
100 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . | 103 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty . |
101 | 104 | ||
102 | transhelp:propertyMapsToMPREnumeration | 105 | transhelp:propertyMapsToMPREnumeration |
103 | - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; | 106 | + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; |
104 | rdfs:label "property maps to MPR enumeration"^^xsd:string ; | 107 | rdfs:label "property maps to MPR enumeration"^^xsd:string ; |
105 | rdfs:subPropertyOf transhelp:mapsTo . | 108 | rdfs:subPropertyOf transhelp:mapsTo . |
106 | 109 | ||
107 | transhelp:quantitySpaceMapsToClassOfScale | 110 | transhelp:quantitySpaceMapsToClassOfScale |
108 | - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; | 111 | + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ; |
109 | rdfs:label "quantity space maps to class of scale"^^xsd:string ; | 112 | rdfs:label "quantity space maps to class of scale"^^xsd:string ; |
110 | rdfs:subPropertyOf transhelp:mapsTo . | 113 | rdfs:subPropertyOf transhelp:mapsTo . |
111 | 114 | ... | ... |
... | @@ -17,23 +17,23 @@ | ... | @@ -17,23 +17,23 @@ |
17 | <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> | 17 | <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> |
18 | spin:rule | 18 | spin:rule |
19 | [ rdf:type sp:Construct ; | 19 | [ rdf:type sp:Construct ; |
20 | - rdfs:comment "STEP 90201 Set the approver"^^xsd:string ; | 20 | + rdfs:comment "STEP 90250 Set the approver"^^xsd:string ; |
21 | sp:templates ([ sp:object _:b1 ; | 21 | sp:templates ([ sp:object _:b1 ; |
22 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#issuer> ; | 22 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#approver> ; |
23 | sp:subject | 23 | sp:subject |
24 | - [ sp:varName "issueReport"^^xsd:string | 24 | + [ sp:varName "approveReport"^^xsd:string |
25 | ] | 25 | ] |
26 | ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ; | 26 | ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ; |
27 | sp:predicate rdf:type ; | 27 | sp:predicate rdf:type ; |
28 | sp:subject _:b1 | 28 | sp:subject _:b1 |
29 | ] [ sp:object | 29 | ] [ sp:object |
30 | - [ sp:varName "issuer"^^xsd:string | 30 | + [ sp:varName "approver"^^xsd:string |
31 | ] ; | 31 | ] ; |
32 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 32 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
33 | sp:subject _:b1 | 33 | sp:subject _:b1 |
34 | ]) ; | 34 | ]) ; |
35 | sp:where ([ sp:object spin:_this ; | 35 | sp:where ([ sp:object spin:_this ; |
36 | - sp:predicate <http://www.epim.no/schemas/mprml/1#issuedByRef> ; | 36 | + sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ; |
37 | sp:subject | 37 | sp:subject |
38 | [ sp:varName "target"^^xsd:string | 38 | [ sp:varName "target"^^xsd:string |
39 | ] | 39 | ] |
... | @@ -47,41 +47,41 @@ | ... | @@ -47,41 +47,41 @@ |
47 | ] [ sp:object | 47 | ] [ sp:object |
48 | [ sp:varName "report"^^xsd:string | 48 | [ sp:varName "report"^^xsd:string |
49 | ] ; | 49 | ] ; |
50 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ; | 50 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ; |
51 | sp:subject | 51 | sp:subject |
52 | - [ sp:varName "issueReport"^^xsd:string | 52 | + [ sp:varName "approveReport"^^xsd:string |
53 | ] | 53 | ] |
54 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ; | 54 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ; |
55 | sp:predicate rdf:type ; | 55 | sp:predicate rdf:type ; |
56 | sp:subject | 56 | sp:subject |
57 | - [ sp:varName "issueReport"^^xsd:string | 57 | + [ sp:varName "approveReport"^^xsd:string |
58 | ] | 58 | ] |
59 | ] [ sp:object spin:_this ; | 59 | ] [ sp:object spin:_this ; |
60 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 60 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
61 | sp:subject | 61 | sp:subject |
62 | - [ sp:varName "issuer"^^xsd:string | 62 | + [ sp:varName "approver"^^xsd:string |
63 | ] | 63 | ] |
64 | ]) | 64 | ]) |
65 | ] ; | 65 | ] ; |
66 | spin:rule | 66 | spin:rule |
67 | [ rdf:type sp:Construct ; | 67 | [ rdf:type sp:Construct ; |
68 | - rdfs:comment "STEP 90200 Set the approver"^^xsd:string ; | 68 | + rdfs:comment "STEP 90251 Set the approver"^^xsd:string ; |
69 | sp:templates ([ sp:object _:b2 ; | 69 | sp:templates ([ sp:object _:b2 ; |
70 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#approver> ; | 70 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#issuer> ; |
71 | sp:subject | 71 | sp:subject |
72 | - [ sp:varName "approveReport"^^xsd:string | 72 | + [ sp:varName "issueReport"^^xsd:string |
73 | ] | 73 | ] |
74 | ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ; | 74 | ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ; |
75 | sp:predicate rdf:type ; | 75 | sp:predicate rdf:type ; |
76 | sp:subject _:b2 | 76 | sp:subject _:b2 |
77 | ] [ sp:object | 77 | ] [ sp:object |
78 | - [ sp:varName "approver"^^xsd:string | 78 | + [ sp:varName "issuer"^^xsd:string |
79 | ] ; | 79 | ] ; |
80 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 80 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
81 | sp:subject _:b2 | 81 | sp:subject _:b2 |
82 | ]) ; | 82 | ]) ; |
83 | sp:where ([ sp:object spin:_this ; | 83 | sp:where ([ sp:object spin:_this ; |
84 | - sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ; | 84 | + sp:predicate <http://www.epim.no/schemas/mprml/1#issuedByRef> ; |
85 | sp:subject | 85 | sp:subject |
86 | [ sp:varName "target"^^xsd:string | 86 | [ sp:varName "target"^^xsd:string |
87 | ] | 87 | ] |
... | @@ -95,24 +95,24 @@ | ... | @@ -95,24 +95,24 @@ |
95 | ] [ sp:object | 95 | ] [ sp:object |
96 | [ sp:varName "report"^^xsd:string | 96 | [ sp:varName "report"^^xsd:string |
97 | ] ; | 97 | ] ; |
98 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ; | 98 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ; |
99 | sp:subject | 99 | sp:subject |
100 | - [ sp:varName "approveReport"^^xsd:string | 100 | + [ sp:varName "issueReport"^^xsd:string |
101 | ] | 101 | ] |
102 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ; | 102 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ; |
103 | sp:predicate rdf:type ; | 103 | sp:predicate rdf:type ; |
104 | sp:subject | 104 | sp:subject |
105 | - [ sp:varName "approveReport"^^xsd:string | 105 | + [ sp:varName "issueReport"^^xsd:string |
106 | ] | 106 | ] |
107 | ] [ sp:object spin:_this ; | 107 | ] [ sp:object spin:_this ; |
108 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 108 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
109 | sp:subject | 109 | sp:subject |
110 | - [ sp:varName "approver"^^xsd:string | 110 | + [ sp:varName "issuer"^^xsd:string |
111 | ] | 111 | ] |
112 | ]) | 112 | ]) |
113 | ] . | 113 | ] . |
114 | 114 | ||
115 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> | 115 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> |
116 | rdf:type owl:Ontology ; | 116 | rdf:type owl:Ontology ; |
117 | - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | 117 | + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; |
118 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 118 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
... | @@ -43,6 +43,9 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -43,6 +43,9 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
43 | ] ; | 43 | ] ; |
44 | sp:predicate rdf:type ; | 44 | sp:predicate rdf:type ; |
45 | sp:subject _:b1 | 45 | sp:subject _:b1 |
46 | + ] [ sp:object "20201" ; | ||
47 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
48 | + sp:subject _:b1 | ||
46 | ] [ sp:object | 49 | ] [ sp:object |
47 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | 50 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string |
48 | ] ; | 51 | ] ; |
... | @@ -109,12 +112,14 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -109,12 +112,14 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
109 | sp:subject | 112 | sp:subject |
110 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | 113 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string |
111 | ] | 114 | ] |
112 | - ] [ sp:object | 115 | + ] [ rdf:type sp:Bind ; |
113 | - [ sp:varName "reportingFacilityType"^^xsd:string | 116 | + sp:expression |
117 | + [ rdf:type ep-mpr-spin-lib:selectRDFTypes ; | ||
118 | + sp:arg1 [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | ||
119 | + ] | ||
114 | ] ; | 120 | ] ; |
115 | - sp:predicate rdf:type ; | 121 | + sp:variable |
116 | - sp:subject | 122 | + [ sp:varName "reportingFacilityType"^^xsd:string |
117 | - [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | ||
118 | ] | 123 | ] |
119 | ]) | 124 | ]) |
120 | ] ; | 125 | ] ; |
... | @@ -124,12 +129,18 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -124,12 +129,18 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
124 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 129 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
125 | sp:predicate rdf:type ; | 130 | sp:predicate rdf:type ; |
126 | sp:subject _:b2 | 131 | sp:subject _:b2 |
132 | + ] [ sp:object "20202" ; | ||
133 | + sp:predicate rdfs:comment ; | ||
134 | + sp:subject _:b2 | ||
127 | ] [ sp:object _:b3 ; | 135 | ] [ sp:object _:b3 ; |
128 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 136 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
129 | sp:subject _:b2 | 137 | sp:subject _:b2 |
130 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 138 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
131 | sp:predicate rdf:type ; | 139 | sp:predicate rdf:type ; |
132 | sp:subject _:b3 | 140 | sp:subject _:b3 |
141 | + ] [ sp:object "20202" ; | ||
142 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
143 | + sp:subject _:b3 | ||
133 | ] [ sp:object | 144 | ] [ sp:object |
134 | [ sp:varName "facilityRef"^^xsd:string | 145 | [ sp:varName "facilityRef"^^xsd:string |
135 | ] ; | 146 | ] ; |
... | @@ -475,6 +486,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -475,6 +486,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
475 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 486 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
476 | sp:predicate rdf:type ; | 487 | sp:predicate rdf:type ; |
477 | sp:subject _:b5 | 488 | sp:subject _:b5 |
489 | + ] [ sp:object "20301a" ; | ||
490 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
491 | + sp:subject _:b5 | ||
478 | ] [ sp:object | 492 | ] [ sp:object |
479 | [ sp:varName "wholeLifeProductionFlow"^^xsd:string | 493 | [ sp:varName "wholeLifeProductionFlow"^^xsd:string |
480 | ] ; | 494 | ] ; |
... | @@ -1297,6 +1311,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -1297,6 +1311,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
1297 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; | 1311 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; |
1298 | sp:predicate rdf:type ; | 1312 | sp:predicate rdf:type ; |
1299 | sp:subject _:b7 | 1313 | sp:subject _:b7 |
1314 | + ] [ sp:object "20303a" ; | ||
1315 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
1316 | + sp:subject _:b7 | ||
1300 | ] [ sp:object | 1317 | ] [ sp:object |
1301 | [ sp:varName "wholeLifeProductionInventory"^^xsd:string | 1318 | [ sp:varName "wholeLifeProductionInventory"^^xsd:string |
1302 | ] ; | 1319 | ] ; |
... | @@ -1732,6 +1749,11 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -1732,6 +1749,11 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
1732 | sp:subject | 1749 | sp:subject |
1733 | [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string | 1750 | [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string |
1734 | ] | 1751 | ] |
1752 | + ] [ sp:object "20303e" ; | ||
1753 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
1754 | + sp:subject | ||
1755 | + [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string | ||
1756 | + ] | ||
1735 | ] [ sp:object | 1757 | ] [ sp:object |
1736 | [ sp:varName "temporalPartDurationType"^^xsd:string | 1758 | [ sp:varName "temporalPartDurationType"^^xsd:string |
1737 | ] ; | 1759 | ] ; |
... | @@ -2352,6 +2374,12 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -2352,6 +2374,12 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
2352 | sp:subject | 2374 | sp:subject |
2353 | [ sp:varName "facilityOfMeasurement"^^xsd:string | 2375 | [ sp:varName "facilityOfMeasurement"^^xsd:string |
2354 | ] | 2376 | ] |
2377 | + ] [ sp:object "20330" ; | ||
2378 | + sp:predicate rdfs:comment ; | ||
2379 | + sp:subject _:b11 | ||
2380 | + ] [ sp:object "20330" ; | ||
2381 | + sp:predicate rdfs:comment ; | ||
2382 | + sp:subject _:b12 | ||
2355 | ]) ; | 2383 | ]) ; |
2356 | sp:where ([ sp:object | 2384 | sp:where ([ sp:object |
2357 | [ sp:varName "productVolumeRef"^^xsd:string | 2385 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -2832,6 +2860,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -2832,6 +2860,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
2832 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | 2860 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; |
2833 | sp:predicate rdf:type ; | 2861 | sp:predicate rdf:type ; |
2834 | sp:subject _:b13 | 2862 | sp:subject _:b13 |
2863 | + ] [ sp:object "20400e" ; | ||
2864 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
2865 | + sp:subject _:b13 | ||
2835 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 2866 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
2836 | sp:predicate rdf:type ; | 2867 | sp:predicate rdf:type ; |
2837 | sp:subject _:b13 | 2868 | sp:subject _:b13 |
... | @@ -3370,6 +3401,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -3370,6 +3401,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
3370 | ] ; | 3401 | ] ; |
3371 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 3402 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
3372 | sp:subject _:b14 | 3403 | sp:subject _:b14 |
3404 | + ] [ sp:object "20401e" ; | ||
3405 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
3406 | + sp:subject _:b14 | ||
3373 | ] [ sp:object | 3407 | ] [ sp:object |
3374 | [ sp:varName "intervalStart"^^xsd:string | 3408 | [ sp:varName "intervalStart"^^xsd:string |
3375 | ] ; | 3409 | ] ; |
... | @@ -4779,6 +4813,13 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -4779,6 +4813,13 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
4779 | ]) | 4813 | ]) |
4780 | ] . | 4814 | ] . |
4781 | 4815 | ||
4816 | +ep-mpr-spin-lib:selectRDFTypes | ||
4817 | + spin:constraint | ||
4818 | + [ rdf:type spl:Argument ; | ||
4819 | + spl:predicate sp:arg1 ; | ||
4820 | + spl:valueType owl:Thing | ||
4821 | + ] . | ||
4822 | + | ||
4782 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> | 4823 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> |
4783 | rdf:type owl:Ontology ; | 4824 | rdf:type owl:Ontology ; |
4784 | owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | 4825 | owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | ... | ... |
-
Please register or login to post a comment