David Price

Added Cargo lading country mass density

......@@ -19,7 +19,7 @@
<http://www.reportinghub.no/ep/spin/mpr-tables>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
mpr-tables:Cargo
......@@ -38,9 +38,13 @@ mpr-tables:Cargo
] [ sp:varName "movementType"^^xsd:string
] [ sp:varName "cargoNumber"^^xsd:string
] [ sp:varName "cargoBatchNumber"^^xsd:string
] [ sp:varName "billOfLadingDate"^^xsd:string
] [ sp:varName "volumeValue"^^xsd:string
] [ sp:varName "massValue"^^xsd:string
] [ sp:varName "densityValue"^^xsd:string
] [ sp:varName "shipperName"^^xsd:string
] [ sp:varName "destinationName"^^xsd:string
] [ sp:varName "countryName"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
......@@ -220,6 +224,83 @@ mpr-tables:Cargo
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "massQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "movedProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "massQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "massValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram> ;
sp:subject
[ sp:varName "massQuantity"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "movedProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "densityOfMovedProduct"^^xsd:string
]
] [ sp:object
[ sp:varName "densityQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "densityOfMovedProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "densityQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:subject
[ sp:varName "densityQuantity"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "ladingPartOfMovementOfProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "movementOfProduct"^^xsd:string
]
] [ sp:object
[ sp:varName "billOfLading"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "ladingPartOfMovementOfProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#IssueBillOfLading> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "billOfLading"^^xsd:string
]
] [ sp:object
[ sp:varName "billOfLadingDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "billOfLading"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "movementOfProductType"^^xsd:string
] ;
sp:predicate rdf:type ;
......@@ -258,6 +339,22 @@ mpr-tables:Cargo
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "country"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "destination"^^xsd:string
]
] [ sp:object
[ sp:varName "countryName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "country"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "destinationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
......@@ -354,7 +451,7 @@ mpr-tables:Cargo
])
])
] ;
rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Movement Type"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Volume"^^xsd:string "Shipper"^^xsd:string "Destination"^^xsd:string) .
rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Movement Type"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Bill of Lading"^^xsd:string "Volume"^^xsd:string "Mass"^^xsd:string "Density"^^xsd:string "Shipper"^^xsd:string "Destination"^^xsd:string "Country"^^xsd:string) .
mpr-tables:GasSales
rdf:type rhspin:TableTemplate ;
......