David Leal

New function in DPR-lib.

This diff could not be displayed because it is too large.
......@@ -21,152 +21,112 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionActivity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10003 Set the overall daily activity installation and its operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionOperator> ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionInstallation"^^xsd:string
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#dateCoveredByReport> ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInstallationType"^^xsd:string
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "operator"^^xsd:string
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "operator"^^xsd:string
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallation"^^xsd:string
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallationType"^^xsd:string
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
......@@ -181,14 +141,14 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -200,7 +160,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -219,7 +179,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -272,16 +232,16 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
......@@ -301,7 +261,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDate"^^xsd:string
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -312,7 +272,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -323,7 +283,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -333,106 +293,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
......@@ -447,14 +308,14 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -466,7 +327,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -485,7 +346,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -538,16 +399,16 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
......@@ -567,7 +428,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
sp:arg3 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
......@@ -578,7 +439,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
......@@ -589,11 +450,150 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10003 Set the overall daily activity installation and its operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionOperator> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionInstallation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInstallationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallation"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallationType"^^xsd:string
]
])
] .
......