Showing
3 changed files
with
603 additions
and
365 deletions
| ... | @@ -25,9 +25,7 @@ | ... | @@ -25,9 +25,7 @@ |
| 25 | sp:subject | 25 | sp:subject |
| 26 | [ sp:varName "flow"^^xsd:string | 26 | [ sp:varName "flow"^^xsd:string |
| 27 | ] | 27 | ] |
| 28 | - ] [ sp:object | 28 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 29 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
| 30 | - ] ; | ||
| 31 | sp:predicate rdf:type ; | 29 | sp:predicate rdf:type ; |
| 32 | sp:subject _:b1 | 30 | sp:subject _:b1 |
| 33 | ] [ sp:object | 31 | ] [ sp:object |
| ... | @@ -193,9 +191,7 @@ | ... | @@ -193,9 +191,7 @@ |
| 193 | sp:subject | 191 | sp:subject |
| 194 | [ sp:varName "flow"^^xsd:string | 192 | [ sp:varName "flow"^^xsd:string |
| 195 | ] | 193 | ] |
| 196 | - ] [ sp:object | 194 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 197 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
| 198 | - ] ; | ||
| 199 | sp:predicate rdf:type ; | 195 | sp:predicate rdf:type ; |
| 200 | sp:subject _:b5 | 196 | sp:subject _:b5 |
| 201 | ] [ sp:object | 197 | ] [ sp:object |
| ... | @@ -230,7 +226,7 @@ | ... | @@ -230,7 +226,7 @@ |
| 230 | sp:subject _:b6 | 226 | sp:subject _:b6 |
| 231 | ]) ; | 227 | ]) ; |
| 232 | sp:where ([ sp:object spin:_this ; | 228 | sp:where ([ sp:object spin:_this ; |
| 233 | - sp:predicate <http://www.epim.no/schemas/mprml/1#densityValueRef> ; | 229 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; |
| 234 | sp:subject | 230 | sp:subject |
| 235 | [ sp:varName "target"^^xsd:string | 231 | [ sp:varName "target"^^xsd:string |
| 236 | ] | 232 | ] |
| ... | @@ -308,169 +304,89 @@ | ... | @@ -308,169 +304,89 @@ |
| 308 | ] ; | 304 | ] ; |
| 309 | spin:rule | 305 | spin:rule |
| 310 | [ rdf:type sp:Construct ; | 306 | [ rdf:type sp:Construct ; |
| 311 | - rdfs:comment "STEP 90002 Process volumeValue for a productInventory"^^xsd:string ; | ||
| 312 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 313 | - sp:predicate rdf:type ; | ||
| 314 | - sp:subject _:b8 | ||
| 315 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | ||
| 316 | - sp:predicate rdf:type ; | ||
| 317 | - sp:subject _:b8 | ||
| 318 | - ] [ sp:object | ||
| 319 | - [ sp:varName "productInventory"^^xsd:string | ||
| 320 | - ] ; | ||
| 321 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 322 | - sp:subject _:b8 | ||
| 323 | - ] [ sp:object _:b9 ; | ||
| 324 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; | ||
| 325 | - sp:subject _:b8 | ||
| 326 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; | ||
| 327 | - sp:predicate rdf:type ; | ||
| 328 | - sp:subject _:b9 | ||
| 329 | - ] [ sp:object | ||
| 330 | - [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
| 331 | - ] ; | ||
| 332 | - sp:predicate | ||
| 333 | - [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
| 334 | - ] ; | ||
| 335 | - sp:subject _:b9 | ||
| 336 | - ] [ sp:object spin:_this ; | ||
| 337 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 338 | - sp:subject _:b8 | ||
| 339 | - ]) ; | ||
| 340 | - sp:where ([ sp:object spin:_this ; | ||
| 341 | - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
| 342 | - sp:subject | ||
| 343 | - [ sp:varName "target"^^xsd:string | ||
| 344 | - ] | ||
| 345 | - ] [ sp:object | ||
| 346 | - [ sp:varName "target"^^xsd:string | ||
| 347 | - ] ; | ||
| 348 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 349 | - sp:subject | ||
| 350 | - [ sp:varName "productInventory"^^xsd:string | ||
| 351 | - ] | ||
| 352 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ; | ||
| 353 | - sp:predicate rdf:type ; | ||
| 354 | - sp:subject | ||
| 355 | - [ sp:varName "productInventory"^^xsd:string | ||
| 356 | - ] | ||
| 357 | - ] [ rdf:type sp:Optional ; | ||
| 358 | - sp:elements ([ sp:object | ||
| 359 | - [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 360 | - ] ; | ||
| 361 | - sp:predicate <http://www.epim.no/schemas/mprml/1#grossCalorificValueRef> ; | ||
| 362 | - sp:subject spin:_this | ||
| 363 | - ] [ sp:object | ||
| 364 | - [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
| 365 | - ] ; | ||
| 366 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 367 | - sp:subject | ||
| 368 | - [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 369 | - ] | ||
| 370 | - ] [ sp:object | ||
| 371 | - [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
| 372 | - ] ; | ||
| 373 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
| 374 | - sp:subject | ||
| 375 | - [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 376 | - ] | ||
| 377 | - ]) | ||
| 378 | - ] [ rdf:type sp:Bind ; | ||
| 379 | - sp:expression | ||
| 380 | - [ rdf:type ep-mpr-spin-lib:selectEnergyPerVolumeScale ; | ||
| 381 | - sp:arg1 [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
| 382 | - ] | ||
| 383 | - ] ; | ||
| 384 | - sp:variable | ||
| 385 | - [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
| 386 | - ] | ||
| 387 | - ]) | ||
| 388 | - ] ; | ||
| 389 | - spin:rule | ||
| 390 | - [ rdf:type sp:Construct ; | ||
| 391 | rdfs:comment "STEP 90003 Process volumeValue for a quantityOfMaterial average amount of material"^^xsd:string ; | 307 | rdfs:comment "STEP 90003 Process volumeValue for a quantityOfMaterial average amount of material"^^xsd:string ; |
| 392 | sp:templates ([ sp:object | 308 | sp:templates ([ sp:object |
| 393 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 309 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 394 | ] ; | 310 | ] ; |
| 395 | sp:predicate rdfs:subClassOf ; | 311 | sp:predicate rdfs:subClassOf ; |
| 396 | - sp:subject _:b10 | 312 | + sp:subject _:b8 |
| 397 | - ] [ sp:object _:b11 ; | 313 | + ] [ sp:object _:b9 ; |
| 398 | sp:predicate rdfs:subClassOf ; | 314 | sp:predicate rdfs:subClassOf ; |
| 399 | - sp:subject _:b10 | 315 | + sp:subject _:b8 |
| 400 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 316 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 401 | sp:predicate rdf:type ; | 317 | sp:predicate rdf:type ; |
| 402 | - sp:subject _:b11 | 318 | + sp:subject _:b9 |
| 403 | ] [ sp:object | 319 | ] [ sp:object |
| 404 | [ sp:varName "realVolume"^^xsd:string | 320 | [ sp:varName "realVolume"^^xsd:string |
| 405 | ] ; | 321 | ] ; |
| 406 | sp:predicate | 322 | sp:predicate |
| 407 | [ sp:varName "volumeScale"^^xsd:string | 323 | [ sp:varName "volumeScale"^^xsd:string |
| 408 | ] ; | 324 | ] ; |
| 409 | - sp:subject _:b11 | 325 | + sp:subject _:b9 |
| 410 | - ] [ sp:object _:b12 ; | 326 | + ] [ sp:object _:b10 ; |
| 411 | sp:predicate rdfs:subClassOf ; | 327 | sp:predicate rdfs:subClassOf ; |
| 412 | - sp:subject _:b10 | 328 | + sp:subject _:b8 |
| 413 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | 329 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; |
| 414 | sp:predicate rdf:type ; | 330 | sp:predicate rdf:type ; |
| 415 | - sp:subject _:b12 | 331 | + sp:subject _:b10 |
| 416 | ] [ sp:object | 332 | ] [ sp:object |
| 417 | [ sp:varName "realTemp"^^xsd:string | 333 | [ sp:varName "realTemp"^^xsd:string |
| 418 | ] ; | 334 | ] ; |
| 419 | sp:predicate | 335 | sp:predicate |
| 420 | [ sp:varName "temperatureScale"^^xsd:string | 336 | [ sp:varName "temperatureScale"^^xsd:string |
| 421 | ] ; | 337 | ] ; |
| 422 | - sp:subject _:b12 | ||
| 423 | - ] [ sp:object _:b13 ; | ||
| 424 | - sp:predicate rdfs:subClassOf ; | ||
| 425 | sp:subject _:b10 | 338 | sp:subject _:b10 |
| 339 | + ] [ sp:object _:b11 ; | ||
| 340 | + sp:predicate rdfs:subClassOf ; | ||
| 341 | + sp:subject _:b8 | ||
| 426 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | 342 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; |
| 427 | sp:predicate rdf:type ; | 343 | sp:predicate rdf:type ; |
| 428 | - sp:subject _:b13 | 344 | + sp:subject _:b11 |
| 429 | ] [ sp:object | 345 | ] [ sp:object |
| 430 | [ sp:varName "realPres"^^xsd:string | 346 | [ sp:varName "realPres"^^xsd:string |
| 431 | ] ; | 347 | ] ; |
| 432 | sp:predicate | 348 | sp:predicate |
| 433 | [ sp:varName "pressureScale"^^xsd:string | 349 | [ sp:varName "pressureScale"^^xsd:string |
| 434 | ] ; | 350 | ] ; |
| 435 | - sp:subject _:b13 | 351 | + sp:subject _:b11 |
| 436 | - ] [ sp:object _:b14 ; | 352 | + ] [ sp:object _:b12 ; |
| 437 | sp:predicate rdfs:subClassOf ; | 353 | sp:predicate rdfs:subClassOf ; |
| 438 | - sp:subject _:b10 | 354 | + sp:subject _:b8 |
| 439 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; | 355 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; |
| 440 | sp:predicate owl:onProperty ; | 356 | sp:predicate owl:onProperty ; |
| 441 | - sp:subject _:b14 | 357 | + sp:subject _:b12 |
| 442 | - ] [ sp:object _:b15 ; | 358 | + ] [ sp:object _:b13 ; |
| 443 | sp:predicate owl:allValuesFrom ; | 359 | sp:predicate owl:allValuesFrom ; |
| 444 | - sp:subject _:b14 | 360 | + sp:subject _:b12 |
| 445 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; | 361 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; |
| 446 | sp:predicate rdf:type ; | 362 | sp:predicate rdf:type ; |
| 447 | - sp:subject _:b15 | 363 | + sp:subject _:b13 |
| 448 | ] [ sp:object | 364 | ] [ sp:object |
| 449 | [ sp:varName "realGrossCalorificValue"^^xsd:string | 365 | [ sp:varName "realGrossCalorificValue"^^xsd:string |
| 450 | ] ; | 366 | ] ; |
| 451 | sp:predicate | 367 | sp:predicate |
| 452 | [ sp:varName "grossCalorificValueScale"^^xsd:string | 368 | [ sp:varName "grossCalorificValueScale"^^xsd:string |
| 453 | ] ; | 369 | ] ; |
| 454 | - sp:subject _:b15 | 370 | + sp:subject _:b13 |
| 455 | - ] [ sp:object _:b16 ; | 371 | + ] [ sp:object _:b14 ; |
| 456 | sp:predicate rdfs:subClassOf ; | 372 | sp:predicate rdfs:subClassOf ; |
| 457 | - sp:subject _:b10 | 373 | + sp:subject _:b8 |
| 458 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#energyContent> ; | 374 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#energyContent> ; |
| 459 | sp:predicate owl:onProperty ; | 375 | sp:predicate owl:onProperty ; |
| 460 | - sp:subject _:b16 | 376 | + sp:subject _:b14 |
| 461 | - ] [ sp:object _:b17 ; | 377 | + ] [ sp:object _:b15 ; |
| 462 | sp:predicate owl:allValuesFrom ; | 378 | sp:predicate owl:allValuesFrom ; |
| 463 | - sp:subject _:b16 | 379 | + sp:subject _:b14 |
| 464 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | 380 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; |
| 465 | sp:predicate rdf:type ; | 381 | sp:predicate rdf:type ; |
| 466 | - sp:subject _:b17 | 382 | + sp:subject _:b15 |
| 467 | ] [ sp:object | 383 | ] [ sp:object |
| 468 | [ sp:varName "realWork"^^xsd:string | 384 | [ sp:varName "realWork"^^xsd:string |
| 469 | ] ; | 385 | ] ; |
| 470 | sp:predicate | 386 | sp:predicate |
| 471 | [ sp:varName "workScale"^^xsd:string | 387 | [ sp:varName "workScale"^^xsd:string |
| 472 | ] ; | 388 | ] ; |
| 473 | - sp:subject _:b17 | 389 | + sp:subject _:b15 |
| 474 | ]) ; | 390 | ]) ; |
| 475 | sp:where ([ sp:object spin:_this ; | 391 | sp:where ([ sp:object spin:_this ; |
| 476 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | 392 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; |
| ... | @@ -641,6 +557,86 @@ | ... | @@ -641,6 +557,86 @@ |
| 641 | ] ; | 557 | ] ; |
| 642 | spin:rule | 558 | spin:rule |
| 643 | [ rdf:type sp:Construct ; | 559 | [ rdf:type sp:Construct ; |
| 560 | + rdfs:comment "STEP 90002 Process volumeValue for a productInventory"^^xsd:string ; | ||
| 561 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 562 | + sp:predicate rdf:type ; | ||
| 563 | + sp:subject _:b16 | ||
| 564 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | ||
| 565 | + sp:predicate rdf:type ; | ||
| 566 | + sp:subject _:b16 | ||
| 567 | + ] [ sp:object | ||
| 568 | + [ sp:varName "productInventory"^^xsd:string | ||
| 569 | + ] ; | ||
| 570 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 571 | + sp:subject _:b16 | ||
| 572 | + ] [ sp:object _:b17 ; | ||
| 573 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; | ||
| 574 | + sp:subject _:b16 | ||
| 575 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; | ||
| 576 | + sp:predicate rdf:type ; | ||
| 577 | + sp:subject _:b17 | ||
| 578 | + ] [ sp:object | ||
| 579 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
| 580 | + ] ; | ||
| 581 | + sp:predicate | ||
| 582 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
| 583 | + ] ; | ||
| 584 | + sp:subject _:b17 | ||
| 585 | + ] [ sp:object spin:_this ; | ||
| 586 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 587 | + sp:subject _:b16 | ||
| 588 | + ]) ; | ||
| 589 | + sp:where ([ sp:object spin:_this ; | ||
| 590 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
| 591 | + sp:subject | ||
| 592 | + [ sp:varName "target"^^xsd:string | ||
| 593 | + ] | ||
| 594 | + ] [ sp:object | ||
| 595 | + [ sp:varName "target"^^xsd:string | ||
| 596 | + ] ; | ||
| 597 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 598 | + sp:subject | ||
| 599 | + [ sp:varName "productInventory"^^xsd:string | ||
| 600 | + ] | ||
| 601 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ; | ||
| 602 | + sp:predicate rdf:type ; | ||
| 603 | + sp:subject | ||
| 604 | + [ sp:varName "productInventory"^^xsd:string | ||
| 605 | + ] | ||
| 606 | + ] [ rdf:type sp:Optional ; | ||
| 607 | + sp:elements ([ sp:object | ||
| 608 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 609 | + ] ; | ||
| 610 | + sp:predicate <http://www.epim.no/schemas/mprml/1#grossCalorificValueRef> ; | ||
| 611 | + sp:subject spin:_this | ||
| 612 | + ] [ sp:object | ||
| 613 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
| 614 | + ] ; | ||
| 615 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 616 | + sp:subject | ||
| 617 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 618 | + ] | ||
| 619 | + ] [ sp:object | ||
| 620 | + [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
| 621 | + ] ; | ||
| 622 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
| 623 | + sp:subject | ||
| 624 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
| 625 | + ] | ||
| 626 | + ]) | ||
| 627 | + ] [ rdf:type sp:Bind ; | ||
| 628 | + sp:expression | ||
| 629 | + [ rdf:type ep-mpr-spin-lib:selectEnergyPerVolumeScale ; | ||
| 630 | + sp:arg1 [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
| 631 | + ] | ||
| 632 | + ] ; | ||
| 633 | + sp:variable | ||
| 634 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
| 635 | + ] | ||
| 636 | + ]) | ||
| 637 | + ] ; | ||
| 638 | + spin:rule | ||
| 639 | + [ rdf:type sp:Construct ; | ||
| 644 | rdfs:comment "STEP 90000 Process volumeValue for a quantityOfMaterial"^^xsd:string ; | 640 | rdfs:comment "STEP 90000 Process volumeValue for a quantityOfMaterial"^^xsd:string ; |
| 645 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 641 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 646 | sp:predicate rdf:type ; | 642 | sp:predicate rdf:type ; |
| ... | @@ -737,11 +733,11 @@ | ... | @@ -737,11 +733,11 @@ |
| 737 | <http://www.epim.no/schemas/mprml/1#DensityMeasure> | 733 | <http://www.epim.no/schemas/mprml/1#DensityMeasure> |
| 738 | spin:rule | 734 | spin:rule |
| 739 | [ rdf:type sp:Construct ; | 735 | [ rdf:type sp:Construct ; |
| 740 | - rdfs:comment "STEP 90061 Process density for a flow"^^xsd:string ; | 736 | + rdfs:comment "STEP 90060 Process density for a quantity of material"^^xsd:string ; |
| 741 | sp:templates ([ sp:object _:b20 ; | 737 | sp:templates ([ sp:object _:b20 ; |
| 742 | sp:predicate rdf:type ; | 738 | sp:predicate rdf:type ; |
| 743 | sp:subject | 739 | sp:subject |
| 744 | - [ sp:varName "flow"^^xsd:string | 740 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 745 | ] | 741 | ] |
| 746 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | 742 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; |
| 747 | sp:predicate rdf:type ; | 743 | sp:predicate rdf:type ; |
| ... | @@ -764,13 +760,27 @@ | ... | @@ -764,13 +760,27 @@ |
| 764 | ] ; | 760 | ] ; |
| 765 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 761 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 766 | sp:subject | 762 | sp:subject |
| 767 | - [ sp:varName "flow"^^xsd:string | 763 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 768 | ] | 764 | ] |
| 769 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 765 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 770 | sp:predicate rdf:type ; | 766 | sp:predicate rdf:type ; |
| 771 | sp:subject | 767 | sp:subject |
| 772 | - [ sp:varName "flow"^^xsd:string | 768 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 769 | + ] | ||
| 770 | + ] [ rdf:type sp:NotExists ; | ||
| 771 | + sp:elements ([ sp:object | ||
| 772 | + [ sp:varName "target"^^xsd:string | ||
| 773 | + ] ; | ||
| 774 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 775 | + sp:subject | ||
| 776 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 773 | ] | 777 | ] |
| 778 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
| 779 | + sp:predicate rdf:type ; | ||
| 780 | + sp:subject | ||
| 781 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 782 | + ] | ||
| 783 | + ]) | ||
| 774 | ] [ sp:object | 784 | ] [ sp:object |
| 775 | [ sp:varName "realDensity"^^xsd:string | 785 | [ sp:varName "realDensity"^^xsd:string |
| 776 | ] ; | 786 | ] ; |
| ... | @@ -794,11 +804,11 @@ | ... | @@ -794,11 +804,11 @@ |
| 794 | ] ; | 804 | ] ; |
| 795 | spin:rule | 805 | spin:rule |
| 796 | [ rdf:type sp:Construct ; | 806 | [ rdf:type sp:Construct ; |
| 797 | - rdfs:comment "STEP 90060 Process density for a quantity of material"^^xsd:string ; | 807 | + rdfs:comment "STEP 90061 Process density for a flow"^^xsd:string ; |
| 798 | sp:templates ([ sp:object _:b21 ; | 808 | sp:templates ([ sp:object _:b21 ; |
| 799 | sp:predicate rdf:type ; | 809 | sp:predicate rdf:type ; |
| 800 | sp:subject | 810 | sp:subject |
| 801 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 811 | + [ sp:varName "flow"^^xsd:string |
| 802 | ] | 812 | ] |
| 803 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | 813 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; |
| 804 | sp:predicate rdf:type ; | 814 | sp:predicate rdf:type ; |
| ... | @@ -821,27 +831,13 @@ | ... | @@ -821,27 +831,13 @@ |
| 821 | ] ; | 831 | ] ; |
| 822 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 832 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 823 | sp:subject | 833 | sp:subject |
| 824 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 834 | + [ sp:varName "flow"^^xsd:string |
| 825 | ] | 835 | ] |
| 826 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 836 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 827 | sp:predicate rdf:type ; | 837 | sp:predicate rdf:type ; |
| 828 | sp:subject | 838 | sp:subject |
| 829 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 839 | + [ sp:varName "flow"^^xsd:string |
| 830 | ] | 840 | ] |
| 831 | - ] [ rdf:type sp:NotExists ; | ||
| 832 | - sp:elements ([ sp:object | ||
| 833 | - [ sp:varName "target"^^xsd:string | ||
| 834 | - ] ; | ||
| 835 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 836 | - sp:subject | ||
| 837 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 838 | - ] | ||
| 839 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
| 840 | - sp:predicate rdf:type ; | ||
| 841 | - sp:subject | ||
| 842 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 843 | - ] | ||
| 844 | - ]) | ||
| 845 | ] [ sp:object | 841 | ] [ sp:object |
| 846 | [ sp:varName "realDensity"^^xsd:string | 842 | [ sp:varName "realDensity"^^xsd:string |
| 847 | ] ; | 843 | ] ; |
| ... | @@ -867,33 +863,22 @@ | ... | @@ -867,33 +863,22 @@ |
| 867 | <http://www.epim.no/schemas/mprml/1#MassMeasure> | 863 | <http://www.epim.no/schemas/mprml/1#MassMeasure> |
| 868 | spin:rule | 864 | spin:rule |
| 869 | [ rdf:type sp:Construct ; | 865 | [ rdf:type sp:Construct ; |
| 870 | - rdfs:comment "STEP 90011 Process mass for a flow - create a quantity of material if necessary"^^xsd:string ; | 866 | + rdfs:comment "STEP 90010 Process mass for a quantity of material"^^xsd:string ; |
| 871 | sp:templates ([ sp:object _:b22 ; | 867 | sp:templates ([ sp:object _:b22 ; |
| 872 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 868 | + sp:predicate rdf:type ; |
| 873 | sp:subject | 869 | sp:subject |
| 874 | - [ sp:varName "flow"^^xsd:string | 870 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 875 | ] | 871 | ] |
| 876 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 877 | - sp:predicate rdf:type ; | ||
| 878 | - sp:subject _:b22 | ||
| 879 | - ] [ sp:object | ||
| 880 | - [ sp:varName "target"^^xsd:string | ||
| 881 | - ] ; | ||
| 882 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 883 | - sp:subject _:b22 | ||
| 884 | - ] [ sp:object _:b23 ; | ||
| 885 | - sp:predicate rdf:type ; | ||
| 886 | - sp:subject _:b22 | ||
| 887 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | 872 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; |
| 888 | sp:predicate rdf:type ; | 873 | sp:predicate rdf:type ; |
| 889 | - sp:subject _:b23 | 874 | + sp:subject _:b22 |
| 890 | ] [ sp:object | 875 | ] [ sp:object |
| 891 | [ sp:varName "realMass"^^xsd:string | 876 | [ sp:varName "realMass"^^xsd:string |
| 892 | ] ; | 877 | ] ; |
| 893 | sp:predicate | 878 | sp:predicate |
| 894 | [ sp:varName "massScale"^^xsd:string | 879 | [ sp:varName "massScale"^^xsd:string |
| 895 | ] ; | 880 | ] ; |
| 896 | - sp:subject _:b23 | 881 | + sp:subject _:b22 |
| 897 | ]) ; | 882 | ]) ; |
| 898 | sp:where ([ sp:object spin:_this ; | 883 | sp:where ([ sp:object spin:_this ; |
| 899 | sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; | 884 | sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; |
| ... | @@ -905,12 +890,12 @@ | ... | @@ -905,12 +890,12 @@ |
| 905 | ] ; | 890 | ] ; |
| 906 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 891 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 907 | sp:subject | 892 | sp:subject |
| 908 | - [ sp:varName "flow"^^xsd:string | 893 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 909 | ] | 894 | ] |
| 910 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 895 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 911 | sp:predicate rdf:type ; | 896 | sp:predicate rdf:type ; |
| 912 | sp:subject | 897 | sp:subject |
| 913 | - [ sp:varName "flow"^^xsd:string | 898 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 914 | ] | 899 | ] |
| 915 | ] [ rdf:type sp:NotExists ; | 900 | ] [ rdf:type sp:NotExists ; |
| 916 | sp:elements ([ sp:object | 901 | sp:elements ([ sp:object |
| ... | @@ -926,20 +911,6 @@ | ... | @@ -926,20 +911,6 @@ |
| 926 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 911 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 927 | ] | 912 | ] |
| 928 | ]) | 913 | ]) |
| 929 | - ] [ rdf:type sp:NotExists ; | ||
| 930 | - sp:elements ([ sp:object | ||
| 931 | - [ sp:varName "target"^^xsd:string | ||
| 932 | - ] ; | ||
| 933 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 934 | - sp:subject | ||
| 935 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | ||
| 936 | - ] | ||
| 937 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 938 | - sp:predicate rdf:type ; | ||
| 939 | - sp:subject | ||
| 940 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | ||
| 941 | - ] | ||
| 942 | - ]) | ||
| 943 | ] [ sp:object | 914 | ] [ sp:object |
| 944 | [ sp:varName "realMass"^^xsd:string | 915 | [ sp:varName "realMass"^^xsd:string |
| 945 | ] ; | 916 | ] ; |
| ... | @@ -964,21 +935,21 @@ | ... | @@ -964,21 +935,21 @@ |
| 964 | spin:rule | 935 | spin:rule |
| 965 | [ rdf:type sp:Construct ; | 936 | [ rdf:type sp:Construct ; |
| 966 | rdfs:comment "STEP 90012 Process mass for a product inventory"^^xsd:string ; | 937 | rdfs:comment "STEP 90012 Process mass for a product inventory"^^xsd:string ; |
| 967 | - sp:templates ([ sp:object _:b24 ; | 938 | + sp:templates ([ sp:object _:b23 ; |
| 968 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#summedDailyMass> ; | 939 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#summedDailyMass> ; |
| 969 | sp:subject | 940 | sp:subject |
| 970 | [ sp:varName "productInventory"^^xsd:string | 941 | [ sp:varName "productInventory"^^xsd:string |
| 971 | ] | 942 | ] |
| 972 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | 943 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; |
| 973 | sp:predicate rdf:type ; | 944 | sp:predicate rdf:type ; |
| 974 | - sp:subject _:b24 | 945 | + sp:subject _:b23 |
| 975 | ] [ sp:object | 946 | ] [ sp:object |
| 976 | [ sp:varName "realMass"^^xsd:string | 947 | [ sp:varName "realMass"^^xsd:string |
| 977 | ] ; | 948 | ] ; |
| 978 | sp:predicate | 949 | sp:predicate |
| 979 | [ sp:varName "massScale"^^xsd:string | 950 | [ sp:varName "massScale"^^xsd:string |
| 980 | ] ; | 951 | ] ; |
| 981 | - sp:subject _:b24 | 952 | + sp:subject _:b23 |
| 982 | ]) ; | 953 | ]) ; |
| 983 | sp:where ([ sp:object spin:_this ; | 954 | sp:where ([ sp:object spin:_this ; |
| 984 | sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; | 955 | sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; |
| ... | @@ -1020,12 +991,23 @@ | ... | @@ -1020,12 +991,23 @@ |
| 1020 | ] ; | 991 | ] ; |
| 1021 | spin:rule | 992 | spin:rule |
| 1022 | [ rdf:type sp:Construct ; | 993 | [ rdf:type sp:Construct ; |
| 1023 | - rdfs:comment "STEP 90010 Process mass for a quantity of material"^^xsd:string ; | 994 | + rdfs:comment "STEP 90011 Process mass for a flow - create a quantity of material if necessary"^^xsd:string ; |
| 1024 | - sp:templates ([ sp:object _:b25 ; | 995 | + sp:templates ([ sp:object _:b24 ; |
| 1025 | - sp:predicate rdf:type ; | 996 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
| 1026 | sp:subject | 997 | sp:subject |
| 1027 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 998 | + [ sp:varName "flow"^^xsd:string |
| 1028 | ] | 999 | ] |
| 1000 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1001 | + sp:predicate rdf:type ; | ||
| 1002 | + sp:subject _:b24 | ||
| 1003 | + ] [ sp:object | ||
| 1004 | + [ sp:varName "target"^^xsd:string | ||
| 1005 | + ] ; | ||
| 1006 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1007 | + sp:subject _:b24 | ||
| 1008 | + ] [ sp:object _:b25 ; | ||
| 1009 | + sp:predicate rdf:type ; | ||
| 1010 | + sp:subject _:b24 | ||
| 1029 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | 1011 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; |
| 1030 | sp:predicate rdf:type ; | 1012 | sp:predicate rdf:type ; |
| 1031 | sp:subject _:b25 | 1013 | sp:subject _:b25 |
| ... | @@ -1047,12 +1029,12 @@ | ... | @@ -1047,12 +1029,12 @@ |
| 1047 | ] ; | 1029 | ] ; |
| 1048 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1030 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1049 | sp:subject | 1031 | sp:subject |
| 1050 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1032 | + [ sp:varName "flow"^^xsd:string |
| 1051 | ] | 1033 | ] |
| 1052 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1034 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1053 | sp:predicate rdf:type ; | 1035 | sp:predicate rdf:type ; |
| 1054 | sp:subject | 1036 | sp:subject |
| 1055 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1037 | + [ sp:varName "flow"^^xsd:string |
| 1056 | ] | 1038 | ] |
| 1057 | ] [ rdf:type sp:NotExists ; | 1039 | ] [ rdf:type sp:NotExists ; |
| 1058 | sp:elements ([ sp:object | 1040 | sp:elements ([ sp:object |
| ... | @@ -1068,6 +1050,20 @@ | ... | @@ -1068,6 +1050,20 @@ |
| 1068 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1050 | [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1069 | ] | 1051 | ] |
| 1070 | ]) | 1052 | ]) |
| 1053 | + ] [ rdf:type sp:NotExists ; | ||
| 1054 | + sp:elements ([ sp:object | ||
| 1055 | + [ sp:varName "target"^^xsd:string | ||
| 1056 | + ] ; | ||
| 1057 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1058 | + sp:subject | ||
| 1059 | + [ sp:varName "quantityOfMaterialx"^^xsd:string | ||
| 1060 | + ] | ||
| 1061 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1062 | + sp:predicate rdf:type ; | ||
| 1063 | + sp:subject | ||
| 1064 | + [ sp:varName "quantityOfMaterialx"^^xsd:string | ||
| 1065 | + ] | ||
| 1066 | + ]) | ||
| 1071 | ] [ sp:object | 1067 | ] [ sp:object |
| 1072 | [ sp:varName "realMass"^^xsd:string | 1068 | [ sp:varName "realMass"^^xsd:string |
| 1073 | ] ; | 1069 | ] ; |
| ... | @@ -1093,11 +1089,11 @@ | ... | @@ -1093,11 +1089,11 @@ |
| 1093 | <http://www.epim.no/schemas/mprml/1#PressureMeasure> | 1089 | <http://www.epim.no/schemas/mprml/1#PressureMeasure> |
| 1094 | spin:rule | 1090 | spin:rule |
| 1095 | [ rdf:type sp:Construct ; | 1091 | [ rdf:type sp:Construct ; |
| 1096 | - rdfs:comment "STEP 90041 Process pressure for a flow"^^xsd:string ; | 1092 | + rdfs:comment "STEP 90040 Process pressure for a quantity of material"^^xsd:string ; |
| 1097 | sp:templates ([ sp:object _:b26 ; | 1093 | sp:templates ([ sp:object _:b26 ; |
| 1098 | sp:predicate rdf:type ; | 1094 | sp:predicate rdf:type ; |
| 1099 | sp:subject | 1095 | sp:subject |
| 1100 | - [ sp:varName "flow"^^xsd:string | 1096 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1101 | ] | 1097 | ] |
| 1102 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | 1098 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; |
| 1103 | sp:predicate rdf:type ; | 1099 | sp:predicate rdf:type ; |
| ... | @@ -1120,13 +1116,27 @@ | ... | @@ -1120,13 +1116,27 @@ |
| 1120 | ] ; | 1116 | ] ; |
| 1121 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1117 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1122 | sp:subject | 1118 | sp:subject |
| 1123 | - [ sp:varName "flow"^^xsd:string | 1119 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1124 | ] | 1120 | ] |
| 1125 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 1121 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1126 | sp:predicate rdf:type ; | 1122 | sp:predicate rdf:type ; |
| 1127 | sp:subject | 1123 | sp:subject |
| 1128 | - [ sp:varName "flow"^^xsd:string | 1124 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1125 | + ] | ||
| 1126 | + ] [ rdf:type sp:NotExists ; | ||
| 1127 | + sp:elements ([ sp:object | ||
| 1128 | + [ sp:varName "target"^^xsd:string | ||
| 1129 | + ] ; | ||
| 1130 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1131 | + sp:subject | ||
| 1132 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1129 | ] | 1133 | ] |
| 1134 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
| 1135 | + sp:predicate rdf:type ; | ||
| 1136 | + sp:subject | ||
| 1137 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1138 | + ] | ||
| 1139 | + ]) | ||
| 1130 | ] [ sp:object | 1140 | ] [ sp:object |
| 1131 | [ sp:varName "realPressure"^^xsd:string | 1141 | [ sp:varName "realPressure"^^xsd:string |
| 1132 | ] ; | 1142 | ] ; |
| ... | @@ -1150,11 +1160,11 @@ | ... | @@ -1150,11 +1160,11 @@ |
| 1150 | ] ; | 1160 | ] ; |
| 1151 | spin:rule | 1161 | spin:rule |
| 1152 | [ rdf:type sp:Construct ; | 1162 | [ rdf:type sp:Construct ; |
| 1153 | - rdfs:comment "STEP 90040 Process pressure for a quantity of material"^^xsd:string ; | 1163 | + rdfs:comment "STEP 90041 Process pressure for a flow"^^xsd:string ; |
| 1154 | sp:templates ([ sp:object _:b27 ; | 1164 | sp:templates ([ sp:object _:b27 ; |
| 1155 | sp:predicate rdf:type ; | 1165 | sp:predicate rdf:type ; |
| 1156 | sp:subject | 1166 | sp:subject |
| 1157 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1167 | + [ sp:varName "flow"^^xsd:string |
| 1158 | ] | 1168 | ] |
| 1159 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | 1169 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; |
| 1160 | sp:predicate rdf:type ; | 1170 | sp:predicate rdf:type ; |
| ... | @@ -1177,27 +1187,13 @@ | ... | @@ -1177,27 +1187,13 @@ |
| 1177 | ] ; | 1187 | ] ; |
| 1178 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1188 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1179 | sp:subject | 1189 | sp:subject |
| 1180 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1190 | + [ sp:varName "flow"^^xsd:string |
| 1181 | - ] | ||
| 1182 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1183 | - sp:predicate rdf:type ; | ||
| 1184 | - sp:subject | ||
| 1185 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
| 1186 | - ] | ||
| 1187 | - ] [ rdf:type sp:NotExists ; | ||
| 1188 | - sp:elements ([ sp:object | ||
| 1189 | - [ sp:varName "target"^^xsd:string | ||
| 1190 | - ] ; | ||
| 1191 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1192 | - sp:subject | ||
| 1193 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1194 | ] | 1191 | ] |
| 1195 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | 1192 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1196 | sp:predicate rdf:type ; | 1193 | sp:predicate rdf:type ; |
| 1197 | sp:subject | 1194 | sp:subject |
| 1198 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1195 | + [ sp:varName "flow"^^xsd:string |
| 1199 | ] | 1196 | ] |
| 1200 | - ]) | ||
| 1201 | ] [ sp:object | 1197 | ] [ sp:object |
| 1202 | [ sp:varName "realPressure"^^xsd:string | 1198 | [ sp:varName "realPressure"^^xsd:string |
| 1203 | ] ; | 1199 | ] ; |
| ... | @@ -1223,11 +1219,11 @@ | ... | @@ -1223,11 +1219,11 @@ |
| 1223 | <http://www.epim.no/schemas/mprml/1#ThermodynamicTemperatureMeasure> | 1219 | <http://www.epim.no/schemas/mprml/1#ThermodynamicTemperatureMeasure> |
| 1224 | spin:rule | 1220 | spin:rule |
| 1225 | [ rdf:type sp:Construct ; | 1221 | [ rdf:type sp:Construct ; |
| 1226 | - rdfs:comment "STEP 90051 Process temperature for a flow"^^xsd:string ; | 1222 | + rdfs:comment "STEP 90050 Process temperature for a quantity of material"^^xsd:string ; |
| 1227 | sp:templates ([ sp:object _:b28 ; | 1223 | sp:templates ([ sp:object _:b28 ; |
| 1228 | sp:predicate rdf:type ; | 1224 | sp:predicate rdf:type ; |
| 1229 | sp:subject | 1225 | sp:subject |
| 1230 | - [ sp:varName "flow"^^xsd:string | 1226 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1231 | ] | 1227 | ] |
| 1232 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | 1228 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; |
| 1233 | sp:predicate rdf:type ; | 1229 | sp:predicate rdf:type ; |
| ... | @@ -1250,13 +1246,27 @@ | ... | @@ -1250,13 +1246,27 @@ |
| 1250 | ] ; | 1246 | ] ; |
| 1251 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1247 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1252 | sp:subject | 1248 | sp:subject |
| 1253 | - [ sp:varName "flow"^^xsd:string | 1249 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1254 | ] | 1250 | ] |
| 1255 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 1251 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1256 | sp:predicate rdf:type ; | 1252 | sp:predicate rdf:type ; |
| 1257 | sp:subject | 1253 | sp:subject |
| 1258 | - [ sp:varName "flow"^^xsd:string | 1254 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1255 | + ] | ||
| 1256 | + ] [ rdf:type sp:NotExists ; | ||
| 1257 | + sp:elements ([ sp:object | ||
| 1258 | + [ sp:varName "target"^^xsd:string | ||
| 1259 | + ] ; | ||
| 1260 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1261 | + sp:subject | ||
| 1262 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1263 | + ] | ||
| 1264 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
| 1265 | + sp:predicate rdf:type ; | ||
| 1266 | + sp:subject | ||
| 1267 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1259 | ] | 1268 | ] |
| 1269 | + ]) | ||
| 1260 | ] [ sp:object | 1270 | ] [ sp:object |
| 1261 | [ sp:varName "realTemperature"^^xsd:string | 1271 | [ sp:varName "realTemperature"^^xsd:string |
| 1262 | ] ; | 1272 | ] ; |
| ... | @@ -1280,11 +1290,11 @@ | ... | @@ -1280,11 +1290,11 @@ |
| 1280 | ] ; | 1290 | ] ; |
| 1281 | spin:rule | 1291 | spin:rule |
| 1282 | [ rdf:type sp:Construct ; | 1292 | [ rdf:type sp:Construct ; |
| 1283 | - rdfs:comment "STEP 90050 Process temperature for a quantity of material"^^xsd:string ; | 1293 | + rdfs:comment "STEP 90051 Process temperature for a flow"^^xsd:string ; |
| 1284 | sp:templates ([ sp:object _:b29 ; | 1294 | sp:templates ([ sp:object _:b29 ; |
| 1285 | sp:predicate rdf:type ; | 1295 | sp:predicate rdf:type ; |
| 1286 | sp:subject | 1296 | sp:subject |
| 1287 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1297 | + [ sp:varName "flow"^^xsd:string |
| 1288 | ] | 1298 | ] |
| 1289 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | 1299 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; |
| 1290 | sp:predicate rdf:type ; | 1300 | sp:predicate rdf:type ; |
| ... | @@ -1307,27 +1317,13 @@ | ... | @@ -1307,27 +1317,13 @@ |
| 1307 | ] ; | 1317 | ] ; |
| 1308 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1318 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1309 | sp:subject | 1319 | sp:subject |
| 1310 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1320 | + [ sp:varName "flow"^^xsd:string |
| 1311 | - ] | ||
| 1312 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1313 | - sp:predicate rdf:type ; | ||
| 1314 | - sp:subject | ||
| 1315 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
| 1316 | - ] | ||
| 1317 | - ] [ rdf:type sp:NotExists ; | ||
| 1318 | - sp:elements ([ sp:object | ||
| 1319 | - [ sp:varName "target"^^xsd:string | ||
| 1320 | - ] ; | ||
| 1321 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1322 | - sp:subject | ||
| 1323 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
| 1324 | ] | 1321 | ] |
| 1325 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | 1322 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1326 | sp:predicate rdf:type ; | 1323 | sp:predicate rdf:type ; |
| 1327 | sp:subject | 1324 | sp:subject |
| 1328 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1325 | + [ sp:varName "flow"^^xsd:string |
| 1329 | ] | 1326 | ] |
| 1330 | - ]) | ||
| 1331 | ] [ sp:object | 1327 | ] [ sp:object |
| 1332 | [ sp:varName "realTemperature"^^xsd:string | 1328 | [ sp:varName "realTemperature"^^xsd:string |
| 1333 | ] ; | 1329 | ] ; |
| ... | @@ -1353,33 +1349,22 @@ | ... | @@ -1353,33 +1349,22 @@ |
| 1353 | <http://www.epim.no/schemas/mprml/1#VolumeMeasure> | 1349 | <http://www.epim.no/schemas/mprml/1#VolumeMeasure> |
| 1354 | spin:rule | 1350 | spin:rule |
| 1355 | [ rdf:type sp:Construct ; | 1351 | [ rdf:type sp:Construct ; |
| 1356 | - rdfs:comment "STEP 90071 Process volume for a flow - creating a quantityOfMaterial if necessary"^^xsd:string ; | 1352 | + rdfs:comment "STEP 90070 Process volume for a quantity of material"^^xsd:string ; |
| 1357 | sp:templates ([ sp:object _:b30 ; | 1353 | sp:templates ([ sp:object _:b30 ; |
| 1358 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 1354 | + sp:predicate rdf:type ; |
| 1359 | sp:subject | 1355 | sp:subject |
| 1360 | - [ sp:varName "flow"^^xsd:string | 1356 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1361 | ] | 1357 | ] |
| 1362 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1363 | - sp:predicate rdf:type ; | ||
| 1364 | - sp:subject _:b30 | ||
| 1365 | - ] [ sp:object | ||
| 1366 | - [ sp:varName "target"^^xsd:string | ||
| 1367 | - ] ; | ||
| 1368 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1369 | - sp:subject _:b30 | ||
| 1370 | - ] [ sp:object _:b31 ; | ||
| 1371 | - sp:predicate rdf:type ; | ||
| 1372 | - sp:subject _:b30 | ||
| 1373 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 1358 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 1374 | sp:predicate rdf:type ; | 1359 | sp:predicate rdf:type ; |
| 1375 | - sp:subject _:b31 | 1360 | + sp:subject _:b30 |
| 1376 | ] [ sp:object | 1361 | ] [ sp:object |
| 1377 | [ sp:varName "realVolume"^^xsd:string | 1362 | [ sp:varName "realVolume"^^xsd:string |
| 1378 | ] ; | 1363 | ] ; |
| 1379 | sp:predicate | 1364 | sp:predicate |
| 1380 | [ sp:varName "volumeScale"^^xsd:string | 1365 | [ sp:varName "volumeScale"^^xsd:string |
| 1381 | ] ; | 1366 | ] ; |
| 1382 | - sp:subject _:b31 | 1367 | + sp:subject _:b30 |
| 1383 | ]) ; | 1368 | ]) ; |
| 1384 | sp:where ([ sp:object spin:_this ; | 1369 | sp:where ([ sp:object spin:_this ; |
| 1385 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 1370 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
| ... | @@ -1391,12 +1376,12 @@ | ... | @@ -1391,12 +1376,12 @@ |
| 1391 | ] ; | 1376 | ] ; |
| 1392 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1377 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1393 | sp:subject | 1378 | sp:subject |
| 1394 | - [ sp:varName "flow"^^xsd:string | 1379 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1395 | ] | 1380 | ] |
| 1396 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 1381 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1397 | sp:predicate rdf:type ; | 1382 | sp:predicate rdf:type ; |
| 1398 | sp:subject | 1383 | sp:subject |
| 1399 | - [ sp:varName "flow"^^xsd:string | 1384 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1400 | ] | 1385 | ] |
| 1401 | ] [ rdf:type sp:NotExists ; | 1386 | ] [ rdf:type sp:NotExists ; |
| 1402 | sp:elements ([ sp:object | 1387 | sp:elements ([ sp:object |
| ... | @@ -1404,12 +1389,12 @@ | ... | @@ -1404,12 +1389,12 @@ |
| 1404 | ] ; | 1389 | ] ; |
| 1405 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1390 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1406 | sp:subject | 1391 | sp:subject |
| 1407 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1392 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1408 | ] | 1393 | ] |
| 1409 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1394 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; |
| 1410 | sp:predicate rdf:type ; | 1395 | sp:predicate rdf:type ; |
| 1411 | sp:subject | 1396 | sp:subject |
| 1412 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1397 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1413 | ] | 1398 | ] |
| 1414 | ]) | 1399 | ]) |
| 1415 | ] [ sp:object | 1400 | ] [ sp:object |
| ... | @@ -1435,12 +1420,23 @@ | ... | @@ -1435,12 +1420,23 @@ |
| 1435 | ] ; | 1420 | ] ; |
| 1436 | spin:rule | 1421 | spin:rule |
| 1437 | [ rdf:type sp:Construct ; | 1422 | [ rdf:type sp:Construct ; |
| 1438 | - rdfs:comment "STEP 90070 Process volume for a quantity of material"^^xsd:string ; | 1423 | + rdfs:comment "STEP 90071 Process volume for a flow - creating a quantityOfMaterial if necessary"^^xsd:string ; |
| 1439 | - sp:templates ([ sp:object _:b32 ; | 1424 | + sp:templates ([ sp:object _:b31 ; |
| 1440 | - sp:predicate rdf:type ; | 1425 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
| 1441 | sp:subject | 1426 | sp:subject |
| 1442 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1427 | + [ sp:varName "flow"^^xsd:string |
| 1443 | ] | 1428 | ] |
| 1429 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1430 | + sp:predicate rdf:type ; | ||
| 1431 | + sp:subject _:b31 | ||
| 1432 | + ] [ sp:object | ||
| 1433 | + [ sp:varName "target"^^xsd:string | ||
| 1434 | + ] ; | ||
| 1435 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1436 | + sp:subject _:b31 | ||
| 1437 | + ] [ sp:object _:b32 ; | ||
| 1438 | + sp:predicate rdf:type ; | ||
| 1439 | + sp:subject _:b31 | ||
| 1444 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 1440 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 1445 | sp:predicate rdf:type ; | 1441 | sp:predicate rdf:type ; |
| 1446 | sp:subject _:b32 | 1442 | sp:subject _:b32 |
| ... | @@ -1462,12 +1458,12 @@ | ... | @@ -1462,12 +1458,12 @@ |
| 1462 | ] ; | 1458 | ] ; |
| 1463 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1459 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1464 | sp:subject | 1460 | sp:subject |
| 1465 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1461 | + [ sp:varName "flow"^^xsd:string |
| 1466 | ] | 1462 | ] |
| 1467 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1463 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1468 | sp:predicate rdf:type ; | 1464 | sp:predicate rdf:type ; |
| 1469 | sp:subject | 1465 | sp:subject |
| 1470 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1466 | + [ sp:varName "flow"^^xsd:string |
| 1471 | ] | 1467 | ] |
| 1472 | ] [ rdf:type sp:NotExists ; | 1468 | ] [ rdf:type sp:NotExists ; |
| 1473 | sp:elements ([ sp:object | 1469 | sp:elements ([ sp:object |
| ... | @@ -1475,12 +1471,12 @@ | ... | @@ -1475,12 +1471,12 @@ |
| 1475 | ] ; | 1471 | ] ; |
| 1476 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1472 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1477 | sp:subject | 1473 | sp:subject |
| 1478 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1474 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1479 | ] | 1475 | ] |
| 1480 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | 1476 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1481 | sp:predicate rdf:type ; | 1477 | sp:predicate rdf:type ; |
| 1482 | sp:subject | 1478 | sp:subject |
| 1483 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1479 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1484 | ] | 1480 | ] |
| 1485 | ]) | 1481 | ]) |
| 1486 | ] [ sp:object | 1482 | ] [ sp:object |
| ... | @@ -1508,33 +1504,22 @@ | ... | @@ -1508,33 +1504,22 @@ |
| 1508 | <http://www.epim.no/schemas/mprml/1#VolumeQualifiedMeasure> | 1504 | <http://www.epim.no/schemas/mprml/1#VolumeQualifiedMeasure> |
| 1509 | spin:rule | 1505 | spin:rule |
| 1510 | [ rdf:type sp:Construct ; | 1506 | [ rdf:type sp:Construct ; |
| 1511 | - rdfs:comment "STEP 90071a Process volume for a flow - creating a quantity of material if necessary"^^xsd:string ; | 1507 | + rdfs:comment "STEP 90070a Process volume for a quantity of material"^^xsd:string ; |
| 1512 | sp:templates ([ sp:object _:b33 ; | 1508 | sp:templates ([ sp:object _:b33 ; |
| 1513 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 1509 | + sp:predicate rdf:type ; |
| 1514 | sp:subject | 1510 | sp:subject |
| 1515 | - [ sp:varName "flow"^^xsd:string | 1511 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1516 | ] | 1512 | ] |
| 1517 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1518 | - sp:predicate rdf:type ; | ||
| 1519 | - sp:subject _:b33 | ||
| 1520 | - ] [ sp:object | ||
| 1521 | - [ sp:varName "target"^^xsd:string | ||
| 1522 | - ] ; | ||
| 1523 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1524 | - sp:subject _:b33 | ||
| 1525 | - ] [ sp:object _:b34 ; | ||
| 1526 | - sp:predicate rdf:type ; | ||
| 1527 | - sp:subject _:b33 | ||
| 1528 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 1513 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 1529 | sp:predicate rdf:type ; | 1514 | sp:predicate rdf:type ; |
| 1530 | - sp:subject _:b34 | 1515 | + sp:subject _:b33 |
| 1531 | ] [ sp:object | 1516 | ] [ sp:object |
| 1532 | [ sp:varName "realVolume"^^xsd:string | 1517 | [ sp:varName "realVolume"^^xsd:string |
| 1533 | ] ; | 1518 | ] ; |
| 1534 | sp:predicate | 1519 | sp:predicate |
| 1535 | [ sp:varName "volumeScale"^^xsd:string | 1520 | [ sp:varName "volumeScale"^^xsd:string |
| 1536 | ] ; | 1521 | ] ; |
| 1537 | - sp:subject _:b34 | 1522 | + sp:subject _:b33 |
| 1538 | ]) ; | 1523 | ]) ; |
| 1539 | sp:where ([ sp:object spin:_this ; | 1524 | sp:where ([ sp:object spin:_this ; |
| 1540 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 1525 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
| ... | @@ -1546,12 +1531,12 @@ | ... | @@ -1546,12 +1531,12 @@ |
| 1546 | ] ; | 1531 | ] ; |
| 1547 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1532 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1548 | sp:subject | 1533 | sp:subject |
| 1549 | - [ sp:varName "flow"^^xsd:string | 1534 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1550 | ] | 1535 | ] |
| 1551 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 1536 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1552 | sp:predicate rdf:type ; | 1537 | sp:predicate rdf:type ; |
| 1553 | sp:subject | 1538 | sp:subject |
| 1554 | - [ sp:varName "flow"^^xsd:string | 1539 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1555 | ] | 1540 | ] |
| 1556 | ] [ rdf:type sp:NotExists ; | 1541 | ] [ rdf:type sp:NotExists ; |
| 1557 | sp:elements ([ sp:object | 1542 | sp:elements ([ sp:object |
| ... | @@ -1559,12 +1544,12 @@ | ... | @@ -1559,12 +1544,12 @@ |
| 1559 | ] ; | 1544 | ] ; |
| 1560 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1545 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1561 | sp:subject | 1546 | sp:subject |
| 1562 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1547 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1563 | ] | 1548 | ] |
| 1564 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1549 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; |
| 1565 | sp:predicate rdf:type ; | 1550 | sp:predicate rdf:type ; |
| 1566 | sp:subject | 1551 | sp:subject |
| 1567 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1552 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1568 | ] | 1553 | ] |
| 1569 | ]) | 1554 | ]) |
| 1570 | ] [ sp:object | 1555 | ] [ sp:object |
| ... | @@ -1590,12 +1575,23 @@ | ... | @@ -1590,12 +1575,23 @@ |
| 1590 | ] ; | 1575 | ] ; |
| 1591 | spin:rule | 1576 | spin:rule |
| 1592 | [ rdf:type sp:Construct ; | 1577 | [ rdf:type sp:Construct ; |
| 1593 | - rdfs:comment "STEP 90070a Process volume for a quantity of material"^^xsd:string ; | 1578 | + rdfs:comment "STEP 90071a Process volume for a flow - creating a quantity of material if necessary"^^xsd:string ; |
| 1594 | - sp:templates ([ sp:object _:b35 ; | 1579 | + sp:templates ([ sp:object _:b34 ; |
| 1595 | - sp:predicate rdf:type ; | 1580 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
| 1596 | sp:subject | 1581 | sp:subject |
| 1597 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1582 | + [ sp:varName "flow"^^xsd:string |
| 1598 | ] | 1583 | ] |
| 1584 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1585 | + sp:predicate rdf:type ; | ||
| 1586 | + sp:subject _:b34 | ||
| 1587 | + ] [ sp:object | ||
| 1588 | + [ sp:varName "target"^^xsd:string | ||
| 1589 | + ] ; | ||
| 1590 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1591 | + sp:subject _:b34 | ||
| 1592 | + ] [ sp:object _:b35 ; | ||
| 1593 | + sp:predicate rdf:type ; | ||
| 1594 | + sp:subject _:b34 | ||
| 1599 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 1595 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 1600 | sp:predicate rdf:type ; | 1596 | sp:predicate rdf:type ; |
| 1601 | sp:subject _:b35 | 1597 | sp:subject _:b35 |
| ... | @@ -1617,12 +1613,12 @@ | ... | @@ -1617,12 +1613,12 @@ |
| 1617 | ] ; | 1613 | ] ; |
| 1618 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1614 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1619 | sp:subject | 1615 | sp:subject |
| 1620 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1616 | + [ sp:varName "flow"^^xsd:string |
| 1621 | ] | 1617 | ] |
| 1622 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1618 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1623 | sp:predicate rdf:type ; | 1619 | sp:predicate rdf:type ; |
| 1624 | sp:subject | 1620 | sp:subject |
| 1625 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1621 | + [ sp:varName "flow"^^xsd:string |
| 1626 | ] | 1622 | ] |
| 1627 | ] [ rdf:type sp:NotExists ; | 1623 | ] [ rdf:type sp:NotExists ; |
| 1628 | sp:elements ([ sp:object | 1624 | sp:elements ([ sp:object |
| ... | @@ -1630,12 +1626,12 @@ | ... | @@ -1630,12 +1626,12 @@ |
| 1630 | ] ; | 1626 | ] ; |
| 1631 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1627 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1632 | sp:subject | 1628 | sp:subject |
| 1633 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1629 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1634 | ] | 1630 | ] |
| 1635 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | 1631 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1636 | sp:predicate rdf:type ; | 1632 | sp:predicate rdf:type ; |
| 1637 | sp:subject | 1633 | sp:subject |
| 1638 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1634 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1639 | ] | 1635 | ] |
| 1640 | ]) | 1636 | ]) |
| 1641 | ] [ sp:object | 1637 | ] [ sp:object |
| ... | @@ -1663,33 +1659,22 @@ | ... | @@ -1663,33 +1659,22 @@ |
| 1663 | <http://www.epim.no/schemas/mprml/1#WorkMeasure> | 1659 | <http://www.epim.no/schemas/mprml/1#WorkMeasure> |
| 1664 | spin:rule | 1660 | spin:rule |
| 1665 | [ rdf:type sp:Construct ; | 1661 | [ rdf:type sp:Construct ; |
| 1666 | - rdfs:comment "STEP 90031 Process work for a flow - creating a quantity of material if necessary"^^xsd:string ; | 1662 | + rdfs:comment "STEP 90030 Process work for a quantity of material"^^xsd:string ; |
| 1667 | sp:templates ([ sp:object _:b36 ; | 1663 | sp:templates ([ sp:object _:b36 ; |
| 1668 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 1664 | + sp:predicate rdf:type ; |
| 1669 | sp:subject | 1665 | sp:subject |
| 1670 | - [ sp:varName "flow"^^xsd:string | 1666 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1671 | ] | 1667 | ] |
| 1672 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1673 | - sp:predicate rdf:type ; | ||
| 1674 | - sp:subject _:b36 | ||
| 1675 | - ] [ sp:object | ||
| 1676 | - [ sp:varName "target"^^xsd:string | ||
| 1677 | - ] ; | ||
| 1678 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1679 | - sp:subject _:b36 | ||
| 1680 | - ] [ sp:object _:b37 ; | ||
| 1681 | - sp:predicate rdf:type ; | ||
| 1682 | - sp:subject _:b36 | ||
| 1683 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | 1668 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; |
| 1684 | sp:predicate rdf:type ; | 1669 | sp:predicate rdf:type ; |
| 1685 | - sp:subject _:b37 | 1670 | + sp:subject _:b36 |
| 1686 | ] [ sp:object | 1671 | ] [ sp:object |
| 1687 | [ sp:varName "realWork"^^xsd:string | 1672 | [ sp:varName "realWork"^^xsd:string |
| 1688 | ] ; | 1673 | ] ; |
| 1689 | sp:predicate | 1674 | sp:predicate |
| 1690 | [ sp:varName "workScale"^^xsd:string | 1675 | [ sp:varName "workScale"^^xsd:string |
| 1691 | ] ; | 1676 | ] ; |
| 1692 | - sp:subject _:b37 | 1677 | + sp:subject _:b36 |
| 1693 | ]) ; | 1678 | ]) ; |
| 1694 | sp:where ([ sp:object spin:_this ; | 1679 | sp:where ([ sp:object spin:_this ; |
| 1695 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 1680 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; |
| ... | @@ -1701,12 +1686,12 @@ | ... | @@ -1701,12 +1686,12 @@ |
| 1701 | ] ; | 1686 | ] ; |
| 1702 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1687 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1703 | sp:subject | 1688 | sp:subject |
| 1704 | - [ sp:varName "flow"^^xsd:string | 1689 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1705 | ] | 1690 | ] |
| 1706 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 1691 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1707 | sp:predicate rdf:type ; | 1692 | sp:predicate rdf:type ; |
| 1708 | sp:subject | 1693 | sp:subject |
| 1709 | - [ sp:varName "flow"^^xsd:string | 1694 | + [ sp:varName "quantityOfMaterial"^^xsd:string |
| 1710 | ] | 1695 | ] |
| 1711 | ] [ rdf:type sp:NotExists ; | 1696 | ] [ rdf:type sp:NotExists ; |
| 1712 | sp:elements ([ sp:object | 1697 | sp:elements ([ sp:object |
| ... | @@ -1714,12 +1699,12 @@ | ... | @@ -1714,12 +1699,12 @@ |
| 1714 | ] ; | 1699 | ] ; |
| 1715 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1700 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1716 | sp:subject | 1701 | sp:subject |
| 1717 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1702 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1718 | ] | 1703 | ] |
| 1719 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1704 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; |
| 1720 | sp:predicate rdf:type ; | 1705 | sp:predicate rdf:type ; |
| 1721 | sp:subject | 1706 | sp:subject |
| 1722 | - [ sp:varName "quantityOfMaterialx"^^xsd:string | 1707 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string |
| 1723 | ] | 1708 | ] |
| 1724 | ]) | 1709 | ]) |
| 1725 | ] [ sp:object | 1710 | ] [ sp:object |
| ... | @@ -1745,12 +1730,23 @@ | ... | @@ -1745,12 +1730,23 @@ |
| 1745 | ] ; | 1730 | ] ; |
| 1746 | spin:rule | 1731 | spin:rule |
| 1747 | [ rdf:type sp:Construct ; | 1732 | [ rdf:type sp:Construct ; |
| 1748 | - rdfs:comment "STEP 90030 Process work for a quantity of material"^^xsd:string ; | 1733 | + rdfs:comment "STEP 90031 Process work for a flow - creating a quantity of material if necessary"^^xsd:string ; |
| 1749 | - sp:templates ([ sp:object _:b38 ; | 1734 | + sp:templates ([ sp:object _:b37 ; |
| 1750 | - sp:predicate rdf:type ; | 1735 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
| 1751 | sp:subject | 1736 | sp:subject |
| 1752 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1737 | + [ sp:varName "flow"^^xsd:string |
| 1753 | ] | 1738 | ] |
| 1739 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
| 1740 | + sp:predicate rdf:type ; | ||
| 1741 | + sp:subject _:b37 | ||
| 1742 | + ] [ sp:object | ||
| 1743 | + [ sp:varName "target"^^xsd:string | ||
| 1744 | + ] ; | ||
| 1745 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 1746 | + sp:subject _:b37 | ||
| 1747 | + ] [ sp:object _:b38 ; | ||
| 1748 | + sp:predicate rdf:type ; | ||
| 1749 | + sp:subject _:b37 | ||
| 1754 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | 1750 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; |
| 1755 | sp:predicate rdf:type ; | 1751 | sp:predicate rdf:type ; |
| 1756 | sp:subject _:b38 | 1752 | sp:subject _:b38 |
| ... | @@ -1772,12 +1768,12 @@ | ... | @@ -1772,12 +1768,12 @@ |
| 1772 | ] ; | 1768 | ] ; |
| 1773 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1769 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1774 | sp:subject | 1770 | sp:subject |
| 1775 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1771 | + [ sp:varName "flow"^^xsd:string |
| 1776 | ] | 1772 | ] |
| 1777 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 1773 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 1778 | sp:predicate rdf:type ; | 1774 | sp:predicate rdf:type ; |
| 1779 | sp:subject | 1775 | sp:subject |
| 1780 | - [ sp:varName "quantityOfMaterial"^^xsd:string | 1776 | + [ sp:varName "flow"^^xsd:string |
| 1781 | ] | 1777 | ] |
| 1782 | ] [ rdf:type sp:NotExists ; | 1778 | ] [ rdf:type sp:NotExists ; |
| 1783 | sp:elements ([ sp:object | 1779 | sp:elements ([ sp:object |
| ... | @@ -1785,12 +1781,12 @@ | ... | @@ -1785,12 +1781,12 @@ |
| 1785 | ] ; | 1781 | ] ; |
| 1786 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1782 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 1787 | sp:subject | 1783 | sp:subject |
| 1788 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1784 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1789 | ] | 1785 | ] |
| 1790 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | 1786 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 1791 | sp:predicate rdf:type ; | 1787 | sp:predicate rdf:type ; |
| 1792 | sp:subject | 1788 | sp:subject |
| 1793 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | 1789 | + [ sp:varName "quantityOfMaterialx"^^xsd:string |
| 1794 | ] | 1790 | ] |
| 1795 | ]) | 1791 | ]) |
| 1796 | ] [ sp:object | 1792 | ] [ sp:object |
| ... | @@ -1817,5 +1813,5 @@ | ... | @@ -1817,5 +1813,5 @@ |
| 1817 | 1813 | ||
| 1818 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> | 1814 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> |
| 1819 | rdf:type owl:Ontology ; | 1815 | rdf:type owl:Ontology ; |
| 1820 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | 1816 | + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/flow> ; |
| 1821 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1817 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -20,7 +20,51 @@ | ... | @@ -20,7 +20,51 @@ |
| 20 | <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> | 20 | <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> |
| 21 | spin:rule | 21 | spin:rule |
| 22 | [ rdf:type sp:Construct ; | 22 | [ rdf:type sp:Construct ; |
| 23 | - rdfs:comment "STEP 00041 Set organization - parent company in NPD fact pages"^^xsd:string ; | 23 | + rdfs:comment "STEP 00043 Set organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 24 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | ||
| 25 | + sp:predicate rdf:type ; | ||
| 26 | + sp:subject | ||
| 27 | + [ sp:varName "organization"^^xsd:string | ||
| 28 | + ] | ||
| 29 | + ] [ sp:object | ||
| 30 | + [ sp:varName "organizationName"^^xsd:string | ||
| 31 | + ] ; | ||
| 32 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 33 | + sp:subject | ||
| 34 | + [ sp:varName "organization"^^xsd:string | ||
| 35 | + ] | ||
| 36 | + ] [ sp:object spin:_this ; | ||
| 37 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 38 | + sp:subject | ||
| 39 | + [ sp:varName "organization"^^xsd:string | ||
| 40 | + ] | ||
| 41 | + ]) ; | ||
| 42 | + sp:where ([ sp:object | ||
| 43 | + [ sp:varName "organizationName"^^xsd:string | ||
| 44 | + ] ; | ||
| 45 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | ||
| 46 | + sp:subject spin:_this | ||
| 47 | + ] [ rdf:type sp:NotExists ; | ||
| 48 | + sp:elements ([ sp:object spin:_this ; | ||
| 49 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 50 | + sp:subject | ||
| 51 | + [ sp:varName "somethingElse"^^xsd:string | ||
| 52 | + ] | ||
| 53 | + ]) | ||
| 54 | + ] [ rdf:type sp:Bind ; | ||
| 55 | + sp:expression | ||
| 56 | + [ rdf:type ep-dpr-spin-lib:buildOrganizationURI ; | ||
| 57 | + sp:arg1 [ sp:varName "organizationName"^^xsd:string | ||
| 58 | + ] | ||
| 59 | + ] ; | ||
| 60 | + sp:variable | ||
| 61 | + [ sp:varName "organization"^^xsd:string | ||
| 62 | + ] | ||
| 63 | + ]) | ||
| 64 | + ] ; | ||
| 65 | + spin:rule | ||
| 66 | + [ rdf:type sp:Construct ; | ||
| 67 | + rdfs:comment "STEP 00042 Set organization - operating company in NPD fact pages"^^xsd:string ; | ||
| 24 | sp:templates ([ sp:object spin:_this ; | 68 | sp:templates ([ sp:object spin:_this ; |
| 25 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 69 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 26 | sp:subject | 70 | sp:subject |
| ... | @@ -33,7 +77,7 @@ | ... | @@ -33,7 +77,7 @@ |
| 33 | sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 77 | sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; |
| 34 | sp:subject spin:_this | 78 | sp:subject spin:_this |
| 35 | ] [ rdf:type sp:NamedGraph ; | 79 | ] [ rdf:type sp:NamedGraph ; |
| 36 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; | 80 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 37 | sp:predicate rdf:type ; | 81 | sp:predicate rdf:type ; |
| 38 | sp:subject | 82 | sp:subject |
| 39 | [ sp:varName "organization"^^xsd:string | 83 | [ sp:varName "organization"^^xsd:string |
| ... | @@ -51,7 +95,7 @@ | ... | @@ -51,7 +95,7 @@ |
| 51 | ] ; | 95 | ] ; |
| 52 | spin:rule | 96 | spin:rule |
| 53 | [ rdf:type sp:Construct ; | 97 | [ rdf:type sp:Construct ; |
| 54 | - rdfs:comment "STEP 00042 Set organization - operating company in NPD fact pages"^^xsd:string ; | 98 | + rdfs:comment "STEP 00041 Set organization - parent company in NPD fact pages"^^xsd:string ; |
| 55 | sp:templates ([ sp:object spin:_this ; | 99 | sp:templates ([ sp:object spin:_this ; |
| 56 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 100 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 57 | sp:subject | 101 | sp:subject |
| ... | @@ -64,7 +108,7 @@ | ... | @@ -64,7 +108,7 @@ |
| 64 | sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 108 | sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; |
| 65 | sp:subject spin:_this | 109 | sp:subject spin:_this |
| 66 | ] [ rdf:type sp:NamedGraph ; | 110 | ] [ rdf:type sp:NamedGraph ; |
| 67 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 111 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; |
| 68 | sp:predicate rdf:type ; | 112 | sp:predicate rdf:type ; |
| 69 | sp:subject | 113 | sp:subject |
| 70 | [ sp:varName "organization"^^xsd:string | 114 | [ sp:varName "organization"^^xsd:string |
| ... | @@ -79,10 +123,12 @@ | ... | @@ -79,10 +123,12 @@ |
| 79 | ]) ; | 123 | ]) ; |
| 80 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 124 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| 81 | ]) | 125 | ]) |
| 82 | - ] ; | 126 | + ] . |
| 127 | + | ||
| 128 | +<http://www.epim.no/schemas/mprml/1#RefNameString> | ||
| 83 | spin:rule | 129 | spin:rule |
| 84 | [ rdf:type sp:Construct ; | 130 | [ rdf:type sp:Construct ; |
| 85 | - rdfs:comment "STEP 00043 Set organization - define organization not in the NPD fact pages."^^xsd:string ; | 131 | + rdfs:comment "STEP 00037 Set source unit organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 86 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | 132 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; |
| 87 | sp:predicate rdf:type ; | 133 | sp:predicate rdf:type ; |
| 88 | sp:subject | 134 | sp:subject |
| ... | @@ -101,10 +147,15 @@ | ... | @@ -101,10 +147,15 @@ |
| 101 | [ sp:varName "organization"^^xsd:string | 147 | [ sp:varName "organization"^^xsd:string |
| 102 | ] | 148 | ] |
| 103 | ]) ; | 149 | ]) ; |
| 104 | - sp:where ([ sp:object | 150 | + sp:where ([ sp:object spin:_this ; |
| 151 | + sp:predicate <http://www.epim.no/schemas/mprml/1#sourceUnitRef> ; | ||
| 152 | + sp:subject | ||
| 153 | + [ sp:varName "something"^^xsd:string | ||
| 154 | + ] | ||
| 155 | + ] [ sp:object | ||
| 105 | [ sp:varName "organizationName"^^xsd:string | 156 | [ sp:varName "organizationName"^^xsd:string |
| 106 | ] ; | 157 | ] ; |
| 107 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 158 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 108 | sp:subject spin:_this | 159 | sp:subject spin:_this |
| 109 | ] [ rdf:type sp:NotExists ; | 160 | ] [ rdf:type sp:NotExists ; |
| 110 | sp:elements ([ sp:object spin:_this ; | 161 | sp:elements ([ sp:object spin:_this ; |
| ... | @@ -123,20 +174,30 @@ | ... | @@ -123,20 +174,30 @@ |
| 123 | [ sp:varName "organization"^^xsd:string | 174 | [ sp:varName "organization"^^xsd:string |
| 124 | ] | 175 | ] |
| 125 | ]) | 176 | ]) |
| 126 | - ] . | 177 | + ] ; |
| 127 | - | ||
| 128 | -<http://www.epim.no/schemas/mprml/1#RefNameString> | ||
| 129 | spin:rule | 178 | spin:rule |
| 130 | [ rdf:type sp:Construct ; | 179 | [ rdf:type sp:Construct ; |
| 131 | - rdfs:comment "STEP 00026 Set organization - operating company in NPD fact pages"^^xsd:string ; | 180 | + rdfs:comment "STEP 00034 Set sales administrator organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 132 | - sp:templates ([ sp:object spin:_this ; | 181 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; |
| 182 | + sp:predicate rdf:type ; | ||
| 183 | + sp:subject | ||
| 184 | + [ sp:varName "organization"^^xsd:string | ||
| 185 | + ] | ||
| 186 | + ] [ sp:object | ||
| 187 | + [ sp:varName "organizationName"^^xsd:string | ||
| 188 | + ] ; | ||
| 189 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 190 | + sp:subject | ||
| 191 | + [ sp:varName "organization"^^xsd:string | ||
| 192 | + ] | ||
| 193 | + ] [ sp:object spin:_this ; | ||
| 133 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 194 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 134 | sp:subject | 195 | sp:subject |
| 135 | [ sp:varName "organization"^^xsd:string | 196 | [ sp:varName "organization"^^xsd:string |
| 136 | ] | 197 | ] |
| 137 | ]) ; | 198 | ]) ; |
| 138 | sp:where ([ sp:object spin:_this ; | 199 | sp:where ([ sp:object spin:_this ; |
| 139 | - sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ; | 200 | + sp:predicate <http://www.epim.no/schemas/mprml/1#salesAdministratorRef> ; |
| 140 | sp:subject | 201 | sp:subject |
| 141 | [ sp:varName "something"^^xsd:string | 202 | [ sp:varName "something"^^xsd:string |
| 142 | ] | 203 | ] |
| ... | @@ -145,26 +206,27 @@ | ... | @@ -145,26 +206,27 @@ |
| 145 | ] ; | 206 | ] ; |
| 146 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 207 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 147 | sp:subject spin:_this | 208 | sp:subject spin:_this |
| 148 | - ] [ rdf:type sp:NamedGraph ; | 209 | + ] [ rdf:type sp:NotExists ; |
| 149 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 210 | + sp:elements ([ sp:object spin:_this ; |
| 150 | - sp:predicate rdf:type ; | 211 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 151 | sp:subject | 212 | sp:subject |
| 152 | - [ sp:varName "organization"^^xsd:string | 213 | + [ sp:varName "somethingElse"^^xsd:string |
| 214 | + ] | ||
| 215 | + ]) | ||
| 216 | + ] [ rdf:type sp:Bind ; | ||
| 217 | + sp:expression | ||
| 218 | + [ rdf:type ep-dpr-spin-lib:buildOrganizationURI ; | ||
| 219 | + sp:arg1 [ sp:varName "organizationName"^^xsd:string | ||
| 153 | ] | 220 | ] |
| 154 | - ] [ sp:object | ||
| 155 | - [ sp:varName "organizationName"^^xsd:string | ||
| 156 | ] ; | 221 | ] ; |
| 157 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 222 | + sp:variable |
| 158 | - sp:subject | ||
| 159 | [ sp:varName "organization"^^xsd:string | 223 | [ sp:varName "organization"^^xsd:string |
| 160 | ] | 224 | ] |
| 161 | - ]) ; | ||
| 162 | - sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 163 | ]) | 225 | ]) |
| 164 | ] ; | 226 | ] ; |
| 165 | spin:rule | 227 | spin:rule |
| 166 | [ rdf:type sp:Construct ; | 228 | [ rdf:type sp:Construct ; |
| 167 | - rdfs:comment "STEP 00031 Set organization - define organization not in the NPD fact pages."^^xsd:string ; | 229 | + rdfs:comment "STEP 00031 Set seller organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 168 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | 230 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; |
| 169 | sp:predicate rdf:type ; | 231 | sp:predicate rdf:type ; |
| 170 | sp:subject | 232 | sp:subject |
| ... | @@ -213,7 +275,7 @@ | ... | @@ -213,7 +275,7 @@ |
| 213 | ] ; | 275 | ] ; |
| 214 | spin:rule | 276 | spin:rule |
| 215 | [ rdf:type sp:Construct ; | 277 | [ rdf:type sp:Construct ; |
| 216 | - rdfs:comment "STEP 00021 Set organization - parent company in NPD fact pages"^^xsd:string ; | 278 | + rdfs:comment "STEP 00030 Set seller organization - operating company in NPD fact pages"^^xsd:string ; |
| 217 | sp:templates ([ sp:object spin:_this ; | 279 | sp:templates ([ sp:object spin:_this ; |
| 218 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 280 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 219 | sp:subject | 281 | sp:subject |
| ... | @@ -221,7 +283,79 @@ | ... | @@ -221,7 +283,79 @@ |
| 221 | ] | 283 | ] |
| 222 | ]) ; | 284 | ]) ; |
| 223 | sp:where ([ sp:object spin:_this ; | 285 | sp:where ([ sp:object spin:_this ; |
| 224 | - sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ; | 286 | + sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ; |
| 287 | + sp:subject | ||
| 288 | + [ sp:varName "something"^^xsd:string | ||
| 289 | + ] | ||
| 290 | + ] [ sp:object | ||
| 291 | + [ sp:varName "organizationName"^^xsd:string | ||
| 292 | + ] ; | ||
| 293 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 294 | + sp:subject spin:_this | ||
| 295 | + ] [ rdf:type sp:NamedGraph ; | ||
| 296 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | ||
| 297 | + sp:predicate rdf:type ; | ||
| 298 | + sp:subject | ||
| 299 | + [ sp:varName "organization"^^xsd:string | ||
| 300 | + ] | ||
| 301 | + ] [ sp:object | ||
| 302 | + [ sp:varName "organizationName"^^xsd:string | ||
| 303 | + ] ; | ||
| 304 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 305 | + sp:subject | ||
| 306 | + [ sp:varName "organization"^^xsd:string | ||
| 307 | + ] | ||
| 308 | + ]) ; | ||
| 309 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 310 | + ]) | ||
| 311 | + ] ; | ||
| 312 | + spin:rule | ||
| 313 | + [ rdf:type sp:Construct ; | ||
| 314 | + rdfs:comment "STEP 00036 Set source unit organization - operating company in NPD fact pages"^^xsd:string ; | ||
| 315 | + sp:templates ([ sp:object spin:_this ; | ||
| 316 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 317 | + sp:subject | ||
| 318 | + [ sp:varName "organization"^^xsd:string | ||
| 319 | + ] | ||
| 320 | + ]) ; | ||
| 321 | + sp:where ([ sp:object spin:_this ; | ||
| 322 | + sp:predicate <http://www.epim.no/schemas/mprml/1#sourceUnitRef> ; | ||
| 323 | + sp:subject | ||
| 324 | + [ sp:varName "something"^^xsd:string | ||
| 325 | + ] | ||
| 326 | + ] [ sp:object | ||
| 327 | + [ sp:varName "organizationName"^^xsd:string | ||
| 328 | + ] ; | ||
| 329 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 330 | + sp:subject spin:_this | ||
| 331 | + ] [ rdf:type sp:NamedGraph ; | ||
| 332 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | ||
| 333 | + sp:predicate rdf:type ; | ||
| 334 | + sp:subject | ||
| 335 | + [ sp:varName "organization"^^xsd:string | ||
| 336 | + ] | ||
| 337 | + ] [ sp:object | ||
| 338 | + [ sp:varName "organizationName"^^xsd:string | ||
| 339 | + ] ; | ||
| 340 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 341 | + sp:subject | ||
| 342 | + [ sp:varName "organization"^^xsd:string | ||
| 343 | + ] | ||
| 344 | + ]) ; | ||
| 345 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 346 | + ]) | ||
| 347 | + ] ; | ||
| 348 | + spin:rule | ||
| 349 | + [ rdf:type sp:Construct ; | ||
| 350 | + rdfs:comment "STEP 00035 Set source unit organization - parent company in NPD fact pages"^^xsd:string ; | ||
| 351 | + sp:templates ([ sp:object spin:_this ; | ||
| 352 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 353 | + sp:subject | ||
| 354 | + [ sp:varName "organization"^^xsd:string | ||
| 355 | + ] | ||
| 356 | + ]) ; | ||
| 357 | + sp:where ([ sp:object spin:_this ; | ||
| 358 | + sp:predicate <http://www.epim.no/schemas/mprml/1#sourceUnitRef> ; | ||
| 225 | sp:subject | 359 | sp:subject |
| 226 | [ sp:varName "something"^^xsd:string | 360 | [ sp:varName "something"^^xsd:string |
| 227 | ] | 361 | ] |
| ... | @@ -249,7 +383,7 @@ | ... | @@ -249,7 +383,7 @@ |
| 249 | ] ; | 383 | ] ; |
| 250 | spin:rule | 384 | spin:rule |
| 251 | [ rdf:type sp:Construct ; | 385 | [ rdf:type sp:Construct ; |
| 252 | - rdfs:comment "STEP 00023 Set organization - define organization not in the NPD fact pages."^^xsd:string ; | 386 | + rdfs:comment "STEP 00027 Set owner organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 253 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | 387 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; |
| 254 | sp:predicate rdf:type ; | 388 | sp:predicate rdf:type ; |
| 255 | sp:subject | 389 | sp:subject |
| ... | @@ -269,7 +403,7 @@ | ... | @@ -269,7 +403,7 @@ |
| 269 | ] | 403 | ] |
| 270 | ]) ; | 404 | ]) ; |
| 271 | sp:where ([ sp:object spin:_this ; | 405 | sp:where ([ sp:object spin:_this ; |
| 272 | - sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ; | 406 | + sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ; |
| 273 | sp:subject | 407 | sp:subject |
| 274 | [ sp:varName "something"^^xsd:string | 408 | [ sp:varName "something"^^xsd:string |
| 275 | ] | 409 | ] |
| ... | @@ -298,7 +432,7 @@ | ... | @@ -298,7 +432,7 @@ |
| 298 | ] ; | 432 | ] ; |
| 299 | spin:rule | 433 | spin:rule |
| 300 | [ rdf:type sp:Construct ; | 434 | [ rdf:type sp:Construct ; |
| 301 | - rdfs:comment "STEP 00027 Set organization - define organization not in the NPD fact pages."^^xsd:string ; | 435 | + rdfs:comment "STEP 00023 Set buyer organization - define organization not in the NPD fact pages."^^xsd:string ; |
| 302 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; | 436 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ; |
| 303 | sp:predicate rdf:type ; | 437 | sp:predicate rdf:type ; |
| 304 | sp:subject | 438 | sp:subject |
| ... | @@ -318,7 +452,7 @@ | ... | @@ -318,7 +452,7 @@ |
| 318 | ] | 452 | ] |
| 319 | ]) ; | 453 | ]) ; |
| 320 | sp:where ([ sp:object spin:_this ; | 454 | sp:where ([ sp:object spin:_this ; |
| 321 | - sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ; | 455 | + sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ; |
| 322 | sp:subject | 456 | sp:subject |
| 323 | [ sp:varName "something"^^xsd:string | 457 | [ sp:varName "something"^^xsd:string |
| 324 | ] | 458 | ] |
| ... | @@ -347,7 +481,7 @@ | ... | @@ -347,7 +481,7 @@ |
| 347 | ] ; | 481 | ] ; |
| 348 | spin:rule | 482 | spin:rule |
| 349 | [ rdf:type sp:Construct ; | 483 | [ rdf:type sp:Construct ; |
| 350 | - rdfs:comment "STEP 00029 Set organization - parent company in NPD fact pages"^^xsd:string ; | 484 | + rdfs:comment "STEP 00026 Set owner organization - operating company in NPD fact pages"^^xsd:string ; |
| 351 | sp:templates ([ sp:object spin:_this ; | 485 | sp:templates ([ sp:object spin:_this ; |
| 352 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 486 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 353 | sp:subject | 487 | sp:subject |
| ... | @@ -355,7 +489,7 @@ | ... | @@ -355,7 +489,7 @@ |
| 355 | ] | 489 | ] |
| 356 | ]) ; | 490 | ]) ; |
| 357 | sp:where ([ sp:object spin:_this ; | 491 | sp:where ([ sp:object spin:_this ; |
| 358 | - sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ; | 492 | + sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ; |
| 359 | sp:subject | 493 | sp:subject |
| 360 | [ sp:varName "something"^^xsd:string | 494 | [ sp:varName "something"^^xsd:string |
| 361 | ] | 495 | ] |
| ... | @@ -365,7 +499,7 @@ | ... | @@ -365,7 +499,7 @@ |
| 365 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 499 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 366 | sp:subject spin:_this | 500 | sp:subject spin:_this |
| 367 | ] [ rdf:type sp:NamedGraph ; | 501 | ] [ rdf:type sp:NamedGraph ; |
| 368 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; | 502 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 369 | sp:predicate rdf:type ; | 503 | sp:predicate rdf:type ; |
| 370 | sp:subject | 504 | sp:subject |
| 371 | [ sp:varName "organization"^^xsd:string | 505 | [ sp:varName "organization"^^xsd:string |
| ... | @@ -383,7 +517,7 @@ | ... | @@ -383,7 +517,7 @@ |
| 383 | ] ; | 517 | ] ; |
| 384 | spin:rule | 518 | spin:rule |
| 385 | [ rdf:type sp:Construct ; | 519 | [ rdf:type sp:Construct ; |
| 386 | - rdfs:comment "STEP 00025 Set organization - parent company in NPD fact pages"^^xsd:string ; | 520 | + rdfs:comment "STEP 00025 Set owner organization - parent company in NPD fact pages"^^xsd:string ; |
| 387 | sp:templates ([ sp:object spin:_this ; | 521 | sp:templates ([ sp:object spin:_this ; |
| 388 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 522 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 389 | sp:subject | 523 | sp:subject |
| ... | @@ -419,7 +553,79 @@ | ... | @@ -419,7 +553,79 @@ |
| 419 | ] ; | 553 | ] ; |
| 420 | spin:rule | 554 | spin:rule |
| 421 | [ rdf:type sp:Construct ; | 555 | [ rdf:type sp:Construct ; |
| 422 | - rdfs:comment "STEP 00030 Set organization - operating company in NPD fact pages"^^xsd:string ; | 556 | + rdfs:comment "STEP 00032 Set sales administrator organization - parent company in NPD fact pages"^^xsd:string ; |
| 557 | + sp:templates ([ sp:object spin:_this ; | ||
| 558 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 559 | + sp:subject | ||
| 560 | + [ sp:varName "organization"^^xsd:string | ||
| 561 | + ] | ||
| 562 | + ]) ; | ||
| 563 | + sp:where ([ sp:object spin:_this ; | ||
| 564 | + sp:predicate <http://www.epim.no/schemas/mprml/1#salesAdministratorRef> ; | ||
| 565 | + sp:subject | ||
| 566 | + [ sp:varName "something"^^xsd:string | ||
| 567 | + ] | ||
| 568 | + ] [ sp:object | ||
| 569 | + [ sp:varName "organizationName"^^xsd:string | ||
| 570 | + ] ; | ||
| 571 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 572 | + sp:subject spin:_this | ||
| 573 | + ] [ rdf:type sp:NamedGraph ; | ||
| 574 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; | ||
| 575 | + sp:predicate rdf:type ; | ||
| 576 | + sp:subject | ||
| 577 | + [ sp:varName "organization"^^xsd:string | ||
| 578 | + ] | ||
| 579 | + ] [ sp:object | ||
| 580 | + [ sp:varName "organizationName"^^xsd:string | ||
| 581 | + ] ; | ||
| 582 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 583 | + sp:subject | ||
| 584 | + [ sp:varName "organization"^^xsd:string | ||
| 585 | + ] | ||
| 586 | + ]) ; | ||
| 587 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 588 | + ]) | ||
| 589 | + ] ; | ||
| 590 | + spin:rule | ||
| 591 | + [ rdf:type sp:Construct ; | ||
| 592 | + rdfs:comment "STEP 00022 Set buyer organization - operating company in NPD fact pages"^^xsd:string ; | ||
| 593 | + sp:templates ([ sp:object spin:_this ; | ||
| 594 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 595 | + sp:subject | ||
| 596 | + [ sp:varName "organization"^^xsd:string | ||
| 597 | + ] | ||
| 598 | + ]) ; | ||
| 599 | + sp:where ([ sp:object spin:_this ; | ||
| 600 | + sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ; | ||
| 601 | + sp:subject | ||
| 602 | + [ sp:varName "something"^^xsd:string | ||
| 603 | + ] | ||
| 604 | + ] [ sp:object | ||
| 605 | + [ sp:varName "organizationName"^^xsd:string | ||
| 606 | + ] ; | ||
| 607 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 608 | + sp:subject spin:_this | ||
| 609 | + ] [ rdf:type sp:NamedGraph ; | ||
| 610 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | ||
| 611 | + sp:predicate rdf:type ; | ||
| 612 | + sp:subject | ||
| 613 | + [ sp:varName "organization"^^xsd:string | ||
| 614 | + ] | ||
| 615 | + ] [ sp:object | ||
| 616 | + [ sp:varName "organizationName"^^xsd:string | ||
| 617 | + ] ; | ||
| 618 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 619 | + sp:subject | ||
| 620 | + [ sp:varName "organization"^^xsd:string | ||
| 621 | + ] | ||
| 622 | + ]) ; | ||
| 623 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 624 | + ]) | ||
| 625 | + ] ; | ||
| 626 | + spin:rule | ||
| 627 | + [ rdf:type sp:Construct ; | ||
| 628 | + rdfs:comment "STEP 00029 Set seller organization - parent company in NPD fact pages"^^xsd:string ; | ||
| 423 | sp:templates ([ sp:object spin:_this ; | 629 | sp:templates ([ sp:object spin:_this ; |
| 424 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 630 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 425 | sp:subject | 631 | sp:subject |
| ... | @@ -437,6 +643,42 @@ | ... | @@ -437,6 +643,42 @@ |
| 437 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 643 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 438 | sp:subject spin:_this | 644 | sp:subject spin:_this |
| 439 | ] [ rdf:type sp:NamedGraph ; | 645 | ] [ rdf:type sp:NamedGraph ; |
| 646 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; | ||
| 647 | + sp:predicate rdf:type ; | ||
| 648 | + sp:subject | ||
| 649 | + [ sp:varName "organization"^^xsd:string | ||
| 650 | + ] | ||
| 651 | + ] [ sp:object | ||
| 652 | + [ sp:varName "organizationName"^^xsd:string | ||
| 653 | + ] ; | ||
| 654 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 655 | + sp:subject | ||
| 656 | + [ sp:varName "organization"^^xsd:string | ||
| 657 | + ] | ||
| 658 | + ]) ; | ||
| 659 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 660 | + ]) | ||
| 661 | + ] ; | ||
| 662 | + spin:rule | ||
| 663 | + [ rdf:type sp:Construct ; | ||
| 664 | + rdfs:comment "STEP 00033 Set sales administrator organization - operating company in NPD fact pages"^^xsd:string ; | ||
| 665 | + sp:templates ([ sp:object spin:_this ; | ||
| 666 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
| 667 | + sp:subject | ||
| 668 | + [ sp:varName "organization"^^xsd:string | ||
| 669 | + ] | ||
| 670 | + ]) ; | ||
| 671 | + sp:where ([ sp:object spin:_this ; | ||
| 672 | + sp:predicate <http://www.epim.no/schemas/mprml/1#salesAdministratorRef> ; | ||
| 673 | + sp:subject | ||
| 674 | + [ sp:varName "something"^^xsd:string | ||
| 675 | + ] | ||
| 676 | + ] [ sp:object | ||
| 677 | + [ sp:varName "organizationName"^^xsd:string | ||
| 678 | + ] ; | ||
| 679 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 680 | + sp:subject spin:_this | ||
| 681 | + ] [ rdf:type sp:NamedGraph ; | ||
| 440 | sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 682 | sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 441 | sp:predicate rdf:type ; | 683 | sp:predicate rdf:type ; |
| 442 | sp:subject | 684 | sp:subject |
| ... | @@ -455,7 +697,7 @@ | ... | @@ -455,7 +697,7 @@ |
| 455 | ] ; | 697 | ] ; |
| 456 | spin:rule | 698 | spin:rule |
| 457 | [ rdf:type sp:Construct ; | 699 | [ rdf:type sp:Construct ; |
| 458 | - rdfs:comment "STEP 00022 Set organization - operating company in NPD fact pages"^^xsd:string ; | 700 | + rdfs:comment "STEP 00021 Set buyer organization - parent company in NPD fact pages"^^xsd:string ; |
| 459 | sp:templates ([ sp:object spin:_this ; | 701 | sp:templates ([ sp:object spin:_this ; |
| 460 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 702 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 461 | sp:subject | 703 | sp:subject |
| ... | @@ -473,7 +715,7 @@ | ... | @@ -473,7 +715,7 @@ |
| 473 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 715 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 474 | sp:subject spin:_this | 716 | sp:subject spin:_this |
| 475 | ] [ rdf:type sp:NamedGraph ; | 717 | ] [ rdf:type sp:NamedGraph ; |
| 476 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 718 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; |
| 477 | sp:predicate rdf:type ; | 719 | sp:predicate rdf:type ; |
| 478 | sp:subject | 720 | sp:subject |
| 479 | [ sp:varName "organization"^^xsd:string | 721 | [ sp:varName "organization"^^xsd:string |
| ... | @@ -492,5 +734,5 @@ | ... | @@ -492,5 +734,5 @@ |
| 492 | 734 | ||
| 493 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> | 735 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> |
| 494 | rdf:type owl:Ontology ; | 736 | rdf:type owl:Ontology ; |
| 495 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; | 737 | + owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; |
| 496 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 738 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment