Showing
1 changed file
with
107 additions
and
2 deletions
| ... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | ||
| 17 | <http://www.reportinghub.no/ep/spin/mpr-tables> | 17 | <http://www.reportinghub.no/ep/spin/mpr-tables> |
| 18 | rdf:type owl:Ontology ; | 18 | rdf:type owl:Ontology ; |
| 19 | - 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> ; | 19 | + 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> ; |
| 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 21 | 21 | ||
| 22 | mpr-tables:ProductionFlows | 22 | mpr-tables:ProductionFlows |
| ... | @@ -405,8 +405,15 @@ mpr-tables:ProductionFlowsAll | ... | @@ -405,8 +405,15 @@ mpr-tables:ProductionFlowsAll |
| 405 | rdfs:subClassOf rhspin:MPRGTableTemplates ; | 405 | rdfs:subClassOf rhspin:MPRGTableTemplates ; |
| 406 | spin:body | 406 | spin:body |
| 407 | [ rdf:type sp:Select ; | 407 | [ rdf:type sp:Select ; |
| 408 | + sp:orderBy ([ sp:varName "productionFlowFacilityName"^^xsd:string | ||
| 409 | + ] [ sp:varName "productionFlowPurposeTypeName"^^xsd:string | ||
| 410 | + ]) ; | ||
| 408 | sp:resultVariables ([ sp:varName "productionFlowFacilityName"^^xsd:string | 411 | sp:resultVariables ([ sp:varName "productionFlowFacilityName"^^xsd:string |
| 409 | ] [ sp:varName "productionFlowPurposeTypeName"^^xsd:string | 412 | ] [ sp:varName "productionFlowPurposeTypeName"^^xsd:string |
| 413 | + ] [ sp:varName "productFlowMaterialTypeName"^^xsd:string | ||
| 414 | + ] [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string | ||
| 415 | + ] [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string | ||
| 416 | + ] [ sp:varName "productionFlowPartGrossOrNetTypeName"^^xsd:string | ||
| 410 | ]) ; | 417 | ]) ; |
| 411 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 418 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
| 412 | sp:predicate rdf:type ; | 419 | sp:predicate rdf:type ; |
| ... | @@ -444,6 +451,11 @@ mpr-tables:ProductionFlowsAll | ... | @@ -444,6 +451,11 @@ mpr-tables:ProductionFlowsAll |
| 444 | sp:subject | 451 | sp:subject |
| 445 | [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string | 452 | [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string |
| 446 | ] | 453 | ] |
| 454 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 455 | + sp:predicate rdf:type ; | ||
| 456 | + sp:subject | ||
| 457 | + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string | ||
| 458 | + ] | ||
| 447 | ] [ sp:object | 459 | ] [ sp:object |
| 448 | [ sp:varName "productionFlow"^^xsd:string | 460 | [ sp:varName "productionFlow"^^xsd:string |
| 449 | ] ; | 461 | ] ; |
| ... | @@ -491,9 +503,102 @@ mpr-tables:ProductionFlowsAll | ... | @@ -491,9 +503,102 @@ mpr-tables:ProductionFlowsAll |
| 491 | [ sp:varName "productionFlowPurposeType"^^xsd:string | 503 | [ sp:varName "productionFlowPurposeType"^^xsd:string |
| 492 | ] | 504 | ] |
| 493 | ]) | 505 | ]) |
| 506 | + ] [ rdf:type sp:Optional ; | ||
| 507 | + sp:elements ([ sp:object | ||
| 508 | + [ sp:varName "productionFlowPart"^^xsd:string | ||
| 509 | + ] ; | ||
| 510 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
| 511 | + sp:subject | ||
| 512 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 513 | + ] | ||
| 514 | + ] [ rdf:type sp:Optional ; | ||
| 515 | + sp:elements ([ sp:object | ||
| 516 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
| 517 | + ] ; | ||
| 518 | + sp:predicate rdf:type ; | ||
| 519 | + sp:subject | ||
| 520 | + [ sp:varName "productionFlowPart"^^xsd:string | ||
| 521 | + ] | ||
| 522 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; | ||
| 523 | + sp:predicate rdf:type ; | ||
| 524 | + sp:subject | ||
| 525 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
| 526 | + ] | ||
| 527 | + ] [ sp:object | ||
| 528 | + [ sp:varName "productionFlowPartGrossOrNetTypeName"^^xsd:string | ||
| 529 | + ] ; | ||
| 530 | + sp:predicate rdfs:label ; | ||
| 531 | + sp:subject | ||
| 532 | + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string | ||
| 533 | + ] | ||
| 534 | + ]) | ||
| 535 | + ] [ rdf:type sp:Optional ; | ||
| 536 | + sp:elements ([ sp:object | ||
| 537 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
| 538 | + ] ; | ||
| 539 | + sp:predicate rdf:type ; | ||
| 540 | + sp:subject | ||
| 541 | + [ sp:varName "productionFlowPart"^^xsd:string | ||
| 542 | + ] | ||
| 543 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
| 544 | + sp:predicate rdf:type ; | ||
| 545 | + sp:subject | ||
| 546 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
| 547 | + ] | ||
| 548 | + ] [ sp:object | ||
| 549 | + [ sp:varName "productFlowMaterialTypeName"^^xsd:string | ||
| 550 | + ] ; | ||
| 551 | + sp:predicate rdfs:label ; | ||
| 552 | + sp:subject | ||
| 553 | + [ sp:varName "productFlowMaterialType"^^xsd:string | ||
| 554 | + ] | ||
| 555 | + ]) | ||
| 556 | + ] [ rdf:type sp:Optional ; | ||
| 557 | + sp:elements ([ sp:object | ||
| 558 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 559 | + ] ; | ||
| 560 | + sp:predicate rdf:type ; | ||
| 561 | + sp:subject | ||
| 562 | + [ sp:varName "productionFlowPart"^^xsd:string | ||
| 563 | + ] | ||
| 564 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
| 565 | + sp:predicate rdf:type ; | ||
| 566 | + sp:subject | ||
| 567 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 568 | + ] | ||
| 569 | + ] [ sp:object | ||
| 570 | + [ sp:varName "productionFlowDefinitionTypeName"^^xsd:string | ||
| 571 | + ] ; | ||
| 572 | + sp:predicate rdfs:label ; | ||
| 573 | + sp:subject | ||
| 574 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 575 | + ] | ||
| 576 | + ]) | ||
| 577 | + ] [ rdf:type sp:Optional ; | ||
| 578 | + sp:elements ([ sp:object | ||
| 579 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
| 580 | + ] ; | ||
| 581 | + sp:predicate rdf:type ; | ||
| 582 | + sp:subject | ||
| 583 | + [ sp:varName "productionFlowPart"^^xsd:string | ||
| 584 | + ] | ||
| 585 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ; | ||
| 586 | + sp:predicate rdf:type ; | ||
| 587 | + sp:subject | ||
| 588 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
| 589 | + ] | ||
| 590 | + ] [ sp:object | ||
| 591 | + [ sp:varName "productionFlowDefinitionSubTypeName"^^xsd:string | ||
| 592 | + ] ; | ||
| 593 | + sp:predicate rdfs:label ; | ||
| 594 | + sp:subject | ||
| 595 | + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string | ||
| 596 | + ] | ||
| 597 | + ]) | ||
| 598 | + ]) | ||
| 494 | ]) | 599 | ]) |
| 495 | ] ; | 600 | ] ; |
| 496 | - rhspin:tableHeaders ("facility"^^xsd:string "purpose"^^xsd:string) . | 601 | + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) . |
| 497 | 602 | ||
| 498 | mpr-tables:ProductionInventory | 603 | mpr-tables:ProductionInventory |
| 499 | rdf:type rhspin:TableTemplate ; | 604 | rdf:type rhspin:TableTemplate ; | ... | ... |
-
Please register or login to post a comment