David Price

Merge branch 'transformsteps'

This diff could not be displayed because it is too large.
1 -# baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema 1 +# baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema
2 -# imports: http://spinrdf.org/spin 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1 3 +# imports: http://www.epim.no/schemas/mprml/1
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 4 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
5 - 5 +
6 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 6 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
7 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 -@prefix sp: <http://spinrdf.org/sp#> . 10 +@prefix sp: <http://spinrdf.org/sp#> .
11 -@prefix spin: <http://spinrdf.org/spin#> . 11 +@prefix spin: <http://spinrdf.org/spin#> .
12 -@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> . 12 +@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
13 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 - 14 +
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
22 - rdf:type spin:Function ; 22 + rdf:type spin:Function ;
23 - rdfs:label "build RDL URI"^^xsd:string ; 23 + rdfs:label "build RDL URI"^^xsd:string ;
24 - rdfs:subClassOf spin:Functions ; 24 + rdfs:subClassOf spin:Functions ;
25 - spin:body 25 + spin:body
26 - [ rdf:type sp:Select ; 26 + [ rdf:type sp:Select ;
27 - sp:resultVariables ([ sp:varName "uri"^^xsd:string 27 + sp:resultVariables ([ sp:varName "uri"^^xsd:string
28 - ]) ; 28 + ]) ;
29 - sp:where ([ rdf:type sp:Bind ; 29 + sp:where ([ rdf:type sp:Bind ;
30 - sp:expression 30 + sp:expression
31 - [ rdf:type ep-spin-lib:buildURI ; 31 + [ rdf:type ep-spin-lib:buildURI ;
32 - sp:arg1 "http://posccaesar.org/rdl/" ; 32 + sp:arg1 "http://posccaesar.org/rdl/" ;
33 - sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; 33 + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
34 - sp:arg1 spin:_arg1 34 + sp:arg1 spin:_arg1
35 - ] 35 + ]
36 - ] ; 36 + ] ;
37 - sp:variable 37 + sp:variable
38 - [ sp:varName "uri"^^xsd:string 38 + [ sp:varName "uri"^^xsd:string
39 - ] 39 + ]
40 - ]) 40 + ])
41 - ] . 41 + ] .
42 - 42 +
43 -transhelp:derivedFrom 43 +transhelp:derivedFrom
44 - rdf:type owl:ObjectProperty . 44 + rdf:type owl:ObjectProperty .
45 - 45 +
46 -transhelp:domainOfPropertyMapsToMPREnumeration 46 +transhelp:domainOfPropertyMapsToMPREnumeration
47 - rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; 47 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
48 - rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ; 48 + rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
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 +
59 -transhelp:forComment 59 +transhelp:forComment
60 - rdf:type owl:ObjectProperty ; 60 + rdf:type owl:ObjectProperty ;
61 - rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ; 61 + rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
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:hasDerivedText 65 +transhelp:fromRule
66 - rdf:type owl:DatatypeProperty . 66 + rdf:type owl:DatatypeProperty .
67 - 67 +
68 -transhelp:hasEquivalentInRDL 68 +transhelp:hasDerivedText
69 - rdf:type owl:ObjectProperty ; 69 + rdf:type owl:DatatypeProperty .
70 - rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ; 70 +
71 - rdfs:label "has equivalent in RDL"^^xsd:string . 71 +transhelp:hasEquivalentInRDL
72 - 72 + rdf:type owl:ObjectProperty ;
73 -transhelp:interval 73 + rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ;
74 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 74 + rdfs:label "has equivalent in RDL"^^xsd:string .
75 - 75 +
76 -transhelp:intervalEnd 76 +transhelp:interval
77 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 77 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
78 - 78 +
79 -transhelp:intervalIdentifier 79 +transhelp:intervalEnd
80 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 80 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
81 - 81 +
82 -transhelp:intervalStart 82 +transhelp:intervalIdentifier
83 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 83 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
84 - 84 +
85 -transhelp:label 85 +transhelp:intervalStart
86 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 86 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
87 - 87 +
88 -transhelp:mapsTo 88 +transhelp:label
89 - rdf:type rdf:Property . 89 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
90 - 90 +
91 -transhelp:materialClassMapsToMPREnumeration 91 +transhelp:mapsTo
92 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 92 + rdf:type rdf:Property .
93 - rdfs:label "material class maps to MPR enumeration"^^xsd:string ; 93 +
94 - rdfs:subPropertyOf transhelp:mapsTo . 94 +transhelp:materialClassMapsToMPREnumeration
95 - 95 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
96 -transhelp:necessaryIntervalString 96 + rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
97 - rdf:type owl:DatatypeProperty . 97 + rdfs:subPropertyOf transhelp:mapsTo .
98 - 98 +
99 -transhelp:nominalInstant 99 +transhelp:necessaryIntervalString
100 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 100 + rdf:type owl:DatatypeProperty .
101 - 101 +
102 -transhelp:propertyMapsToMPREnumeration 102 +transhelp:nominalInstant
103 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 103 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
104 - rdfs:label "property maps to MPR enumeration"^^xsd:string ; 104 +
105 - rdfs:subPropertyOf transhelp:mapsTo . 105 +transhelp:propertyMapsToMPREnumeration
106 - 106 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
107 -transhelp:quantitySpaceMapsToClassOfScale 107 + rdfs:label "property maps to MPR enumeration"^^xsd:string ;
108 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; 108 + rdfs:subPropertyOf transhelp:mapsTo .
109 - rdfs:label "quantity space maps to class of scale"^^xsd:string ; 109 +
110 - rdfs:subPropertyOf transhelp:mapsTo . 110 +transhelp:quantitySpaceMapsToClassOfScale
111 - 111 + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
112 -transhelp:rangeOfPropertyMapsToMPREnumeration 112 + rdfs:label "quantity space maps to class of scale"^^xsd:string ;
113 - rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; 113 + rdfs:subPropertyOf transhelp:mapsTo .
114 - rdfs:label "range of property maps to MPR enumeration"^^xsd:string ; 114 +
115 - rdfs:subPropertyOf transhelp:mapsTo . 115 +transhelp:rangeOfPropertyMapsToMPREnumeration
116 - 116 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
117 -transhelp:scaleMapsToMPREnumeration 117 + rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
118 - rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ; 118 + rdfs:subPropertyOf transhelp:mapsTo .
119 - rdfs:label "scale maps to MPR enumeration"^^xsd:string ; 119 +
120 - rdfs:subPropertyOf transhelp:mapsTo . 120 +transhelp:scaleMapsToMPREnumeration
121 - 121 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
122 -transhelp:standardTempPres 122 + rdfs:label "scale maps to MPR enumeration"^^xsd:string ;
123 - rdf:type rdf:Property ; 123 + rdfs:subPropertyOf transhelp:mapsTo .
124 - rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> . 124 +
125 - 125 +transhelp:standardTempPres
126 -transhelp:typeOfPartCommentedOn 126 + rdf:type rdf:Property ;
127 - rdf:type owl:ObjectProperty ; 127 + rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> .
128 - rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ; 128 +
129 - rdfs:domain owl:Class ; 129 +transhelp:typeOfPartCommentedOn
130 - rdfs:label "type of part commented on"^^xsd:string . 130 + rdf:type owl:ObjectProperty ;
131 + rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
132 + rdfs:domain owl:Class ;
133 + rdfs:label "type of part commented on"^^xsd:string .
......
1 -# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1 1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1
2 -# imports: http://spinrdf.org/spin 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1 3 +# imports: http://www.epim.no/schemas/mprml/1
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity 4 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
6 -# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema 6 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
7 - 7 +
8 -@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1#> . 8 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1#> .
9 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 9 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
10 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 10 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
11 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 11 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
12 -@prefix sp: <http://spinrdf.org/sp#> . 12 +@prefix sp: <http://spinrdf.org/sp#> .
13 -@prefix spin: <http://spinrdf.org/spin#> . 13 +@prefix spin: <http://spinrdf.org/spin#> .
14 -@prefix spl: <http://spinrdf.org/spl#> . 14 +@prefix spl: <http://spinrdf.org/spl#> .
15 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 15 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 - 16 +
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 + ]
40 - ] [ sp:object 40 + ] [ sp:object
41 - [ sp:varName "target"^^xsd:string 41 + [ sp:varName "target"^^xsd:string
42 - ] ; 42 + ] ;
43 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 43 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
44 - sp:subject 44 + sp:subject
45 - [ sp:varName "report"^^xsd:string 45 + [ sp:varName "report"^^xsd:string
46 - ] 46 + ]
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 + ]
88 - ] [ sp:object 88 + ] [ sp:object
89 - [ sp:varName "target"^^xsd:string 89 + [ sp:varName "target"^^xsd:string
90 - ] ; 90 + ] ;
91 - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; 91 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
92 - sp:subject 92 + sp:subject
93 - [ sp:varName "report"^^xsd:string 93 + [ sp:varName "report"^^xsd:string
94 - ] 94 + ]
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 .
......
1 -# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector 1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
2 -# imports: http://spinrdf.org/spin 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration 4 +# imports: http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration
6 -# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults 6 +# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults
7 -# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults 7 +# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults
8 -# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest 8 +# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest
9 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1 9 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1
10 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1 10 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
11 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1 11 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1
12 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1 12 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
13 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0 13 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
14 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1 14 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
15 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1 15 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
16 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1 16 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
17 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1 17 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
18 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 18 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
19 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1 19 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1
20 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0 20 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0
21 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 21 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
22 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1 22 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
23 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1 23 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
24 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 24 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
25 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1 25 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1
26 -# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema 26 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
27 - 27 +
28 -@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 28 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
29 -@prefix TRANSFORM_mpr-approval-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1#> . 29 +@prefix TRANSFORM_mpr-approval-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1#> .
30 -@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> . 30 +@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
31 -@prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> . 31 +@prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
32 -@prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> . 32 +@prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
33 -@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> . 33 +@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
34 -@prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> . 34 +@prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
35 -@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> . 35 +@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
36 -@prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> . 36 +@prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
37 -@prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> . 37 +@prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
38 -@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . 38 +@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
39 -@prefix TRANSFORM_mpr-productVolumeParameterSet-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> . 39 +@prefix TRANSFORM_mpr-productVolumeParameterSet-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> .
40 -@prefix TRANSFORM_mpr-productVolumePeriod-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0#> . 40 +@prefix TRANSFORM_mpr-productVolumePeriod-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0#> .
41 -@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . 41 +@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
42 -@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> . 42 +@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> .
43 -@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> . 43 +@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
44 -@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . 44 +@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
45 -@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . 45 +@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> .
46 -@prefix TRANSFORM_mpr-weather-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1#> . 46 +@prefix TRANSFORM_mpr-weather-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1#> .
47 -@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . 47 +@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> .
48 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 48 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
49 -@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> . 49 +@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> .
50 -@prefix property-maps-to-mpr-enumeration: <http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration#> . 50 +@prefix property-maps-to-mpr-enumeration: <http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration#> .
51 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 51 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
52 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 52 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
53 -@prefix scale-maps-to-mpr-enumeration: <http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration#> . 53 +@prefix scale-maps-to-mpr-enumeration: <http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration#> .
54 -@prefix sp: <http://spinrdf.org/sp#> . 54 +@prefix sp: <http://spinrdf.org/sp#> .
55 -@prefix spin: <http://spinrdf.org/spin#> . 55 +@prefix spin: <http://spinrdf.org/spin#> .
56 -@prefix spl: <http://spinrdf.org/spl#> . 56 +@prefix spl: <http://spinrdf.org/spl#> .
57 -@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest#> . 57 +@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest#> .
58 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 58 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
59 - 59 +
60 -<http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> 60 +<http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable>
61 - rdfs:comment "number of beds available on a facility"^^xsd:string . 61 + rdfs:comment "number of beds available on a facility"^^xsd:string .
62 - 62 +
63 -<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> 63 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
64 - rdf:type owl:Ontology ; 64 + rdf:type owl:Ontology ;
65 - owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ; 65 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
66 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 66 + 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> ;
......
1 -# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts
2 -# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts
5 -# imports: http://www.reportinghub.no/ep/spin/prod-property
6 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
7 -# imports: http://www.reportinghub.no/np/data/npd
8 -
9 -@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts#> .
10 -@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
11 -@prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
12 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
13 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15 -@prefix sp: <http://spinrdf.org/sp#> .
16 -@prefix spin: <http://spinrdf.org/spin#> .
17 -@prefix spl: <http://spinrdf.org/spl#> .
18 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 -
20 -<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts>
21 - rdf:type owl:Ontology ;
22 - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> , <http://www.reportinghub.no/ep/spin/prod-property> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> ;
23 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 -# baseURI: null
2 -
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 -@prefix visual: <http://topbraid.org/visual#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -
12 -[] rdf:type inference:Configuration ;
13 - composite:child
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - <http://spinrdf.org/spin#topSPINOptions>
16 - "singlePass" ;
17 - composite:index "0"^^xsd:int
18 - ] .
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
8 8
9 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#> . 9 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#> .
10 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 10 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
11 +@prefix TRYM-MONTH_2012-02-01_final-mprg: <file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/tqedits/TRYM-MONTH_2012-02-01_final-mprg.xml#> .
11 @prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> . 12 @prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
12 @prefix owl: <http://www.w3.org/2002/07/owl#> . 13 @prefix owl: <http://www.w3.org/2002/07/owl#> .
13 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 14 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......
...@@ -15,4 +15,6 @@ ...@@ -15,4 +15,6 @@
15 <http://spinrdf.org/spin#topSPINOptions> 15 <http://spinrdf.org/spin#topSPINOptions>
16 "singlePass" ; 16 "singlePass" ;
17 composite:index "0"^^xsd:int 17 composite:index "0"^^xsd:int
18 - ] . 18 + ] ;
19 + inference:completeMode
20 + "true"^^xsd:boolean .
......
1 -# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts
2 -# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1
4 -# imports: http://www.reportinghub.no/data/erh
5 -# imports: http://www.reportinghub.no/ep/spin/prod-property
6 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
7 -
8 -@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts#> .
9 -@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
10 -@prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
11 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 -@prefix sp: <http://spinrdf.org/sp#> .
15 -@prefix spin: <http://spinrdf.org/spin#> .
16 -@prefix spl: <http://spinrdf.org/spl#> .
17 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 -
19 -<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts>
20 - rdf:type owl:Ontology ;
21 - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/data/erh> , <http://www.reportinghub.no/ep/spin/prod-property> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> ;
22 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 -# baseURI: null
2 -
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 -@prefix visual: <http://topbraid.org/visual#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -
12 -[] rdf:type inference:Configuration ;
13 - composite:child
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - <http://spinrdf.org/spin#topSPINOptions>
16 - "singlePass" ;
17 - composite:index "0"^^xsd:int
18 - ] .
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
8 8
9 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> . 9 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
10 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 10 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
11 +@prefix TRYM-MONTH_2012-02-01_final-mprg: <file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/tqedits/TRYM-MONTH_2012-02-01_final-mprg.xml#> .
11 @prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> . 12 @prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
12 @prefix owl: <http://www.w3.org/2002/07/owl#> . 13 @prefix owl: <http://www.w3.org/2002/07/owl#> .
13 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 14 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......