Bob DuCharme

added owner and share value figures to Cargo Information table

...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/spin/mpr-tables> 21 <http://www.reportinghub.no/ep/spin/mpr-tables>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; 23 + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 mpr-tables:Cargo 26 mpr-tables:Cargo
...@@ -264,6 +264,90 @@ mpr-tables:Cargo ...@@ -264,6 +264,90 @@ mpr-tables:Cargo
264 sp:subject 264 sp:subject
265 [ sp:varName "movedProduct"^^xsd:string 265 [ sp:varName "movedProduct"^^xsd:string
266 ] 266 ]
267 + ] [ sp:object
268 + [ sp:varName "secondOfPair"^^xsd:string
269 + ] ;
270 + sp:predicate rdf:type ;
271 + sp:subject
272 + [ sp:varName "movedProduct"^^xsd:string
273 + ]
274 + ] [ sp:object
275 + [ sp:varName "secondOfPair"^^xsd:string
276 + ] ;
277 + sp:predicate <http://www.reportinghub.no/ep/schema/core#secondOfPair> ;
278 + sp:subject
279 + [ sp:varName "volumePair"^^xsd:string
280 + ]
281 + ] [ sp:object
282 + [ sp:varName "firstOfPair"^^xsd:string
283 + ] ;
284 + sp:predicate <http://www.reportinghub.no/ep/schema/core#firstOfPair> ;
285 + sp:subject
286 + [ sp:varName "volumePair"^^xsd:string
287 + ]
288 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
289 + sp:predicate rdf:type ;
290 + sp:subject
291 + [ sp:varName "firstOfPair"^^xsd:string
292 + ]
293 + ] [ sp:object
294 + [ sp:varName "ratio"^^xsd:string
295 + ] ;
296 + sp:predicate <http://www.reportinghub.no/ep/schema/core#divide> ;
297 + sp:subject
298 + [ sp:varName "volumePair"^^xsd:string
299 + ]
300 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
301 + sp:predicate rdf:type ;
302 + sp:subject
303 + [ sp:varName "ratio"^^xsd:string
304 + ]
305 + ] [ rdf:type sp:Bind ;
306 + sp:expression
307 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
308 + sp:arg1 [ sp:varName "ratio"^^xsd:string
309 + ]
310 + ] ;
311 + sp:variable
312 + [ sp:varName "ownedPercent"^^xsd:string
313 + ]
314 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
315 + sp:predicate rdf:type ;
316 + sp:subject
317 + [ sp:varName "quantityOfMaterial"^^xsd:string
318 + ]
319 + ] [ sp:object
320 + [ sp:varName "firstOfPair"^^xsd:string
321 + ] ;
322 + sp:predicate rdf:type ;
323 + sp:subject
324 + [ sp:varName "quantityOfMaterial"^^xsd:string
325 + ]
326 + ] [ sp:object
327 + [ sp:varName "owner"^^xsd:string
328 + ] ;
329 + sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
330 + sp:subject
331 + [ sp:varName "quantityOfMaterial"^^xsd:string
332 + ]
333 + ] [ sp:object
334 + [ sp:varName "company"^^xsd:string
335 + ] ;
336 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
337 + sp:subject
338 + [ sp:varName "owner"^^xsd:string
339 + ]
340 + ] [ rdf:type sp:TriplePath ;
341 + sp:object
342 + [ sp:varName "ownerName"^^xsd:string
343 + ] ;
344 + sp:path [ rdf:type sp:AltPath ;
345 + sp:path1 <http://www.reportinghub.no/np/schema/npd#name> ;
346 + sp:path2 <http://www.reportinghub.no/ep/schema/core#name>
347 + ] ;
348 + sp:subject
349 + [ sp:varName "company"^^xsd:string
350 + ]
267 ] [ rdf:type sp:Optional ; 351 ] [ rdf:type sp:Optional ;
268 sp:elements ([ sp:object 352 sp:elements ([ sp:object
269 [ sp:varName "productionFlowPurposeType"^^xsd:string 353 [ sp:varName "productionFlowPurposeType"^^xsd:string
...@@ -431,77 +515,6 @@ mpr-tables:Cargo ...@@ -431,77 +515,6 @@ mpr-tables:Cargo
431 ]) 515 ])
432 ] [ rdf:type sp:Optional ; 516 ] [ rdf:type sp:Optional ;
433 sp:elements ([ sp:object 517 sp:elements ([ sp:object
434 - [ sp:varName "ladingPartOfMovementOfProduct"^^xsd:string
435 - ] ;
436 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
437 - sp:subject
438 - [ sp:varName "movementOfProduct"^^xsd:string
439 - ]
440 - ] [ sp:object
441 - [ sp:varName "salesMovedProduct"^^xsd:string
442 - ] ;
443 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
444 - sp:subject
445 - [ sp:varName "ladingPartOfMovementOfProduct"^^xsd:string
446 - ]
447 - ] [ sp:object
448 - [ sp:varName "movedProduct"^^xsd:string
449 - ] ;
450 - sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
451 - sp:subject
452 - [ sp:varName "salesMovedProduct"^^xsd:string
453 - ]
454 - ] [ sp:object
455 - [ sp:varName "ownerPart"^^xsd:string
456 - ] ;
457 - sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
458 - sp:subject
459 - [ sp:varName "salesMovedProduct"^^xsd:string
460 - ]
461 - ] [ sp:object
462 - [ sp:varName "owner"^^xsd:string
463 - ] ;
464 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
465 - sp:subject
466 - [ sp:varName "ownerPart"^^xsd:string
467 - ]
468 - ] [ rdf:type sp:TriplePath ;
469 - sp:object
470 - [ sp:varName "ownerName"^^xsd:string
471 - ] ;
472 - sp:path [ rdf:type sp:AltPath ;
473 - sp:path1 <http://www.reportinghub.no/np/schema/npd#name> ;
474 - sp:path2 <http://www.reportinghub.no/ep/schema/core#name>
475 - ] ;
476 - sp:subject
477 - [ sp:varName "owner"^^xsd:string
478 - ]
479 - ] [ sp:object
480 - [ sp:varName "salesMovedProduct"^^xsd:string
481 - ] ;
482 - sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ;
483 - sp:subject
484 - [ sp:varName "ownedShare"^^xsd:string
485 - ]
486 - ] [ sp:object
487 - [ sp:varName "ownedVolumeRatio"^^xsd:string
488 - ] ;
489 - sp:predicate <http://www.reportinghub.no/ep/schema/material#volumeRatio> ;
490 - sp:subject
491 - [ sp:varName "ownedShare"^^xsd:string
492 - ]
493 - ] [ rdf:type sp:Bind ;
494 - sp:expression
495 - [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
496 - sp:arg1 [ sp:varName "ownedShare"^^xsd:string
497 - ]
498 - ] ;
499 - sp:variable
500 - [ sp:varName "ownedPercent"^^xsd:string
501 - ]
502 - ])
503 - ] [ rdf:type sp:Optional ;
504 - sp:elements ([ sp:object
505 [ sp:varName "billOfLading"^^xsd:string 518 [ sp:varName "billOfLading"^^xsd:string
506 ] ; 519 ] ;
507 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 520 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
......