Tore Christiansen

Updating Resources and correcting errors

...@@ -954,9 +954,9 @@ ...@@ -954,9 +954,9 @@
954 :CostBasedResource 954 :CostBasedResource
955 rdf:type :CostBasedResourceInPlan ; 955 rdf:type :CostBasedResourceInPlan ;
956 rdf:type owl:Class ; 956 rdf:type owl:Class ;
957 - rdfs:comment "A Resource that is limited by its cost."^^xsd:string ; 957 + rdfs:comment "A Project Resource that is limited by its cost."^^xsd:string ;
958 rdfs:label "Cost Based Resource"^^xsd:string ; 958 rdfs:label "Cost Based Resource"^^xsd:string ;
959 - rdfs:subClassOf :ILAP_XSDresource ; 959 + rdfs:subClassOf :ProjectResource ;
960 . 960 .
961 :CostBasedResourceInPlan 961 :CostBasedResourceInPlan
962 rdf:type owl:Class ; 962 rdf:type owl:Class ;
...@@ -1131,8 +1131,8 @@ ...@@ -1131,8 +1131,8 @@
1131 :EngineeringManhourResource 1131 :EngineeringManhourResource
1132 rdf:type :TimeBasedResourceInPlan ; 1132 rdf:type :TimeBasedResourceInPlan ;
1133 rdf:type owl:Class ; 1133 rdf:type owl:Class ;
1134 - rdfs:comment "A TimeBasedResource that is work by engineers"^^xsd:string ; 1134 + rdfs:comment "A TimeBasedResource that is work by engineers."^^xsd:string ;
1135 - rdfs:label "Engineering Manhours"^^xsd:string ; 1135 + rdfs:label "Engineering Manhour Resource"^^xsd:string ;
1136 rdfs:subClassOf :TimeBasedResource ; 1136 rdfs:subClassOf :TimeBasedResource ;
1137 . 1137 .
1138 :EquipmentShutdown 1138 :EquipmentShutdown
...@@ -1414,27 +1414,6 @@ ...@@ -1414,27 +1414,6 @@
1414 rdfs:label "Hot work"^^xsd:string ; 1414 rdfs:label "Hot work"^^xsd:string ;
1415 rdfs:subClassOf :RiskActivity ; 1415 rdfs:subClassOf :RiskActivity ;
1416 . 1416 .
1417 -:ILAP_XSDresource
1418 - rdf:type owl:Class ;
1419 - :shouldHaveID "true" ;
1420 - rdfs:comment "An Individual that can be measured with units. Resources are assigned to Activities and may consist of people (work hours), materials or physical items."^^xsd:string ;
1421 - rdfs:label "Resource"^^xsd:string ;
1422 - rdfs:subClassOf :Resource ;
1423 - rdfs:subClassOf [
1424 - rdf:type owl:Restriction ;
1425 - :shouldUseAnyUri "true"^^xsd:boolean ;
1426 - owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
1427 - owl:onClass :ClassOfResource ;
1428 - owl:onProperty :hasResourceType ;
1429 - ] ;
1430 - rdfs:subClassOf [
1431 - rdf:type owl:Restriction ;
1432 - owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
1433 - owl:onClass :CompletelyFreeField ;
1434 - owl:onProperty :hasCompletelyFreeFieldDefinition ;
1435 - ] ;
1436 - owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ;
1437 -.
1438 :ILAPperiod 1417 :ILAPperiod
1439 rdf:type owl:Class ; 1418 rdf:type owl:Class ;
1440 rdfs:comment "A Period in Time that specifies a given amount of time."^^xsd:string ; 1419 rdfs:comment "A Period in Time that specifies a given amount of time."^^xsd:string ;
...@@ -1477,6 +1456,8 @@ ...@@ -1477,6 +1456,8 @@
1477 . 1456 .
1478 :ILAPresource 1457 :ILAPresource
1479 rdf:type owl:Class ; 1458 rdf:type owl:Class ;
1459 + rdfs:comment "A Resource that is classifed in ILAP as an extension to NORSOK Z-014 COR (Code of Resources)."^^xsd:string ;
1460 + rdfs:label "ILAP Resource"^^xsd:string ;
1480 rdfs:subClassOf :Resource ; 1461 rdfs:subClassOf :Resource ;
1481 . 1462 .
1482 :InOperation 1463 :InOperation
...@@ -2489,6 +2470,27 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2489,6 +2470,27 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2489 rdfs:label "Project Phase"^^xsd:string ; 2470 rdfs:label "Project Phase"^^xsd:string ;
2490 rdfs:subClassOf :ActivityPlanningPhase ; 2471 rdfs:subClassOf :ActivityPlanningPhase ;
2491 . 2472 .
2473 +:ProjectResource
2474 + rdf:type owl:Class ;
2475 + :shouldHaveID "true" ;
2476 + rdfs:comment "A Resource that can be measured with units. Project Resources are assigned to Activities and may consist of people (work hours), materials or physical items."^^xsd:string ;
2477 + rdfs:label "Project Resource"^^xsd:string ;
2478 + rdfs:subClassOf :Resource ;
2479 + rdfs:subClassOf [
2480 + rdf:type owl:Restriction ;
2481 + :shouldUseAnyUri "true"^^xsd:boolean ;
2482 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
2483 + owl:onClass :ClassOfResource ;
2484 + owl:onProperty :hasResourceType ;
2485 + ] ;
2486 + rdfs:subClassOf [
2487 + rdf:type owl:Restriction ;
2488 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
2489 + owl:onClass :CompletelyFreeField ;
2490 + owl:onProperty :hasCompletelyFreeFieldDefinition ;
2491 + ] ;
2492 + owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ;
2493 +.
2492 :ProjectType 2494 :ProjectType
2493 rdf:type owl:Class ; 2495 rdf:type owl:Class ;
2494 rdfs:comment "A Classifier according to type of project of the Plan."^^xsd:string ; 2496 rdfs:comment "A Classifier according to type of project of the Plan."^^xsd:string ;
...@@ -2710,7 +2712,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2710,7 +2712,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2710 . 2712 .
2711 :SCCSresource 2713 :SCCSresource
2712 rdf:type owl:Class ; 2714 rdf:type owl:Class ;
2713 - rdfs:comment "A Result that is classifed according to NORSOK Z-014 COR (Code of Resources)."^^xsd:string ; 2715 + rdfs:comment "A Resource that is classifed according to NORSOK Z-014 COR (Code of Resources)."^^xsd:string ;
2714 rdfs:label "SCCS Resource"^^xsd:string ; 2716 rdfs:label "SCCS Resource"^^xsd:string ;
2715 rdfs:subClassOf :Resource ; 2717 rdfs:subClassOf :Resource ;
2716 . 2718 .
...@@ -3158,9 +3160,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -3158,9 +3160,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
3158 :TimeBasedResource 3160 :TimeBasedResource
3159 rdf:type :TimeBasedResourceInPlan ; 3161 rdf:type :TimeBasedResourceInPlan ;
3160 rdf:type owl:Class ; 3162 rdf:type owl:Class ;
3161 - rdfs:comment "A Resource that is limited by the time it is available"^^xsd:string ; 3163 + rdfs:comment "A Project Resource that is limited by the time it is available"^^xsd:string ;
3162 rdfs:label "Time based resource"^^xsd:string ; 3164 rdfs:label "Time based resource"^^xsd:string ;
3163 - rdfs:subClassOf :ILAP_XSDresource ; 3165 + rdfs:subClassOf :ProjectResource ;
3164 rdfs:subClassOf [ 3166 rdfs:subClassOf [
3165 rdf:type owl:Restriction ; 3167 rdf:type owl:Restriction ;
3166 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; 3168 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
......
...@@ -10,19 +10,6 @@ ...@@ -10,19 +10,6 @@
10 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 10 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 @prefix userfield: <http://data.posccaesar.org/ilap/userfields/> . 11 @prefix userfield: <http://data.posccaesar.org/ilap/userfields/> .
12 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 12 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
13 -
14 -:Activity102inPlanVersion2forProjectP
15 - :hasParentActivity :Activity101inPlan2version1forProjectP ;
16 -.
17 -
18 -:Schedule2ForPlanVersion2forProjectP
19 - ilap:hasActivity :Schedule2forActivity102inPlan3version2forProjectP ;
20 -.
21 -
22 -:ShutdownActivitySS1inPlanVersion2forProjectP
23 - ilap:hasSpecifiedUserField :SpecifiedUserfield1forActivity101inPlan2Version1forProjectP ;
24 -.
25 -
26 : 13 :
27 rdf:type owl:Ontology ; 14 rdf:type owl:Ontology ;
28 owl:imports ilap: ; 15 owl:imports ilap: ;
...@@ -125,6 +112,9 @@ ...@@ -125,6 +112,9 @@
125 rdfs:label "Activity 102 in Plan 3 Version 2 for project P"^^xsd:string ; 112 rdfs:label "Activity 102 in Plan 3 Version 2 for project P"^^xsd:string ;
126 rdfs:subClassOf ilap:Activity ; 113 rdfs:subClassOf ilap:Activity ;
127 . 114 .
115 +:Activity102inPlanVersion2forProjectP
116 + :hasParentActivity :Activity101inPlan2version1forProjectP ;
117 +.
128 :Activity103inPlan3version1forProjectP 118 :Activity103inPlan3version1forProjectP
129 rdf:type ilap:ActivityInPlan ; 119 rdf:type ilap:ActivityInPlan ;
130 rdf:type owl:Class ; 120 rdf:type owl:Class ;
...@@ -169,11 +159,11 @@ ...@@ -169,11 +159,11 @@
169 . 159 .
170 :FinishToStart1 160 :FinishToStart1
171 rdf:type ilap:FS ; 161 rdf:type ilap:FS ;
162 + ilap:hasCalendar :Calendar1 ;
172 ilap:hasLag 0 ; 163 ilap:hasLag 0 ;
173 ilap:hasSuccessor :Milestone1 ; 164 ilap:hasSuccessor :Milestone1 ;
174 rdfs:label "Finish to Start 1"^^xsd:string ; 165 rdfs:label "Finish to Start 1"^^xsd:string ;
175 rdfs:subClassOf ilap:PeriodInTime ; 166 rdfs:subClassOf ilap:PeriodInTime ;
176 - ilap:hasCalendar :Calendar1 ;
177 . 167 .
178 :FinishToStart2 168 :FinishToStart2
179 rdf:type ilap:FS ; 169 rdf:type ilap:FS ;
...@@ -372,7 +362,6 @@ ...@@ -372,7 +362,6 @@
372 rdfs:label "Free Field for Work Order Value 4"^^xsd:string ; 362 rdfs:label "Free Field for Work Order Value 4"^^xsd:string ;
373 . 363 .
374 :FreeFieldSet1 364 :FreeFieldSet1
375 -
376 rdf:type ilap:FreeFieldSet ; 365 rdf:type ilap:FreeFieldSet ;
377 ilap:hasCompletelyFreeFieldDefinition :CompletelyFreeField1definition ; 366 ilap:hasCompletelyFreeFieldDefinition :CompletelyFreeField1definition ;
378 ilap:hasFreeField :FreeField2 ; 367 ilap:hasFreeField :FreeField2 ;
...@@ -383,10 +372,9 @@ ...@@ -383,10 +372,9 @@
383 rdfs:subClassOf owl:Thing ; 372 rdfs:subClassOf owl:Thing ;
384 . 373 .
385 :Milestone1 374 :Milestone1
386 - ilap:hasCalendar :Calendar1 ;
387 -
388 rdf:type ilap:MilestoneInPlan ; 375 rdf:type ilap:MilestoneInPlan ;
389 rdf:type owl:Class ; 376 rdf:type owl:Class ;
377 + ilap:hasCalendar :Calendar1 ;
390 ilap:hasConstraint :FinishToStart2 ; 378 ilap:hasConstraint :FinishToStart2 ;
391 ilap:hasSuccessor :FinishToStart2 ; 379 ilap:hasSuccessor :FinishToStart2 ;
392 rdfs:label "Milestone 1"^^xsd:string ; 380 rdfs:label "Milestone 1"^^xsd:string ;
...@@ -424,6 +412,7 @@ ...@@ -424,6 +412,7 @@
424 . 412 .
425 :PersonA 413 :PersonA
426 rdf:type ilap:Person ; 414 rdf:type ilap:Person ;
415 + rdfs:label "Person A"^^xsd:string ;
427 . 416 .
428 :Plan1version1forProjectP 417 :Plan1version1forProjectP
429 rdf:type ilap:PlanForILAP ; 418 rdf:type ilap:PlanForILAP ;
...@@ -526,6 +515,9 @@ ...@@ -526,6 +515,9 @@
526 rdfs:label "Schedule 1 for Plan 3 Version 2 for Project P"^^xsd:string ; 515 rdfs:label "Schedule 1 for Plan 3 Version 2 for Project P"^^xsd:string ;
527 rdfs:subClassOf ilap:Activity ; 516 rdfs:subClassOf ilap:Activity ;
528 . 517 .
518 +:Schedule2ForPlanVersion2forProjectP
519 + ilap:hasActivity :Schedule2forActivity102inPlan3version2forProjectP ;
520 +.
529 :Schedule2forActivity102inPlan3version2forProjectP 521 :Schedule2forActivity102inPlan3version2forProjectP
530 rdf:type ilap:ScheduleForActivityInPlan ; 522 rdf:type ilap:ScheduleForActivityInPlan ;
531 ilap:partOfSchedule :Schedule2forPlan3version2forProjectP ; 523 ilap:partOfSchedule :Schedule2forPlan3version2forProjectP ;
...@@ -555,19 +547,6 @@ ...@@ -555,19 +547,6 @@
555 rdfs:label "Schedule 4 for Activity 102 in Plan 3 Version 2 for Project P"^^xsd:string ; 547 rdfs:label "Schedule 4 for Activity 102 in Plan 3 Version 2 for Project P"^^xsd:string ;
556 rdfs:subClassOf ilap:Activity ; 548 rdfs:subClassOf ilap:Activity ;
557 . 549 .
558 -
559 -:SpecifiedUserfield1forActivity101inPlanVersion2forProjectP
560 - userfield:hasMainActivity :Activity102inPlan3version1forProjectP ;
561 - userfield:hasSAPActualPercentComplete :FreeField3Value8 ;
562 - userfield:hasStatusType :FreeField3Value6 ;
563 - userfield:hasSystemStatus :FreeField3Value7 ;
564 - userfield:hasVessel :FreeField1Value1 ;
565 -.
566 -
567 -:SpecifiedUserfield1forActivity102inPlanVersion2forProjectP
568 - userfield:hasVessel :FreeField1Value1 ;
569 -.
570 -
571 :Schedule4forPlan3version2forProjectP 550 :Schedule4forPlan3version2forProjectP
572 rdf:type ilap:ScheduleForILAP ; 551 rdf:type ilap:ScheduleForILAP ;
573 ilap:hasActivity :Schedule3forActivity102inPlan3version2forProjectP ; 552 ilap:hasActivity :Schedule3forActivity102inPlan3version2forProjectP ;
...@@ -581,11 +560,13 @@ ...@@ -581,11 +560,13 @@
581 rdfs:label "Shutdown Activity SS1 in Plan 2 Version 1 for Project P"^^xsd:string ; 560 rdfs:label "Shutdown Activity SS1 in Plan 2 Version 1 for Project P"^^xsd:string ;
582 rdfs:subClassOf ilap:Activity ; 561 rdfs:subClassOf ilap:Activity ;
583 . 562 .
563 +:ShutdownActivitySS1inPlanVersion2forProjectP
564 + ilap:hasSpecifiedUserField :SpecifiedUserfield1forActivity101inPlan2Version1forProjectP ;
565 +.
584 :ShutdownPlanVersion1 566 :ShutdownPlanVersion1
585 - ilap:hasParentPlan :Plan1version1forProjectP ;
586 -
587 rdf:type ilap:PlanForILAP ; 567 rdf:type ilap:PlanForILAP ;
588 rdf:type ilap:ShutdownPlan ; 568 rdf:type ilap:ShutdownPlan ;
569 + ilap:hasParentPlan :Plan1version1forProjectP ;
589 rdfs:label "Shutdown Plan Version 1"^^xsd:string ; 570 rdfs:label "Shutdown Plan Version 1"^^xsd:string ;
590 rdfs:subClassOf ilap:Activity ; 571 rdfs:subClassOf ilap:Activity ;
591 . 572 .
...@@ -621,6 +602,13 @@ ...@@ -621,6 +602,13 @@
621 userfield:hasVessel :FreeField1Value1 ; 602 userfield:hasVessel :FreeField1Value1 ;
622 rdfs:label "Specified User Field 1 for Activity 101 in Plan 2 Version 1 for Project P"^^xsd:string ; 603 rdfs:label "Specified User Field 1 for Activity 101 in Plan 2 Version 1 for Project P"^^xsd:string ;
623 . 604 .
605 +:SpecifiedUserfield1forActivity101inPlanVersion2forProjectP
606 + userfield:hasMainActivity :Activity102inPlan3version1forProjectP ;
607 + userfield:hasSAPActualPercentComplete :FreeField3Value8 ;
608 + userfield:hasStatusType :FreeField3Value6 ;
609 + userfield:hasSystemStatus :FreeField3Value7 ;
610 + userfield:hasVessel :FreeField1Value1 ;
611 +.
624 :SpecifiedUserfield1forActivity102inPlan3Version1forProjectP 612 :SpecifiedUserfield1forActivity102inPlan3Version1forProjectP
625 rdf:type userfield:SpecifiedUserField ; 613 rdf:type userfield:SpecifiedUserField ;
626 userfield:hasContractType ilap:TargetProject ; 614 userfield:hasContractType ilap:TargetProject ;
...@@ -659,6 +647,9 @@ ...@@ -659,6 +647,9 @@
659 userfield:hasWorkCenter :FreeFieldForWorkOrderValue4 ; 647 userfield:hasWorkCenter :FreeFieldForWorkOrderValue4 ;
660 rdfs:label "Specified User Field 1 for Activity 102 in Plan 3 Version 2 for Project P"^^xsd:string ; 648 rdfs:label "Specified User Field 1 for Activity 102 in Plan 3 Version 2 for Project P"^^xsd:string ;
661 . 649 .
650 +:SpecifiedUserfield1forActivity102inPlanVersion2forProjectP
651 + userfield:hasVessel :FreeField1Value1 ;
652 +.
662 :SpecifiedUserfield1forActivity103inPlan3Version1forProjectP 653 :SpecifiedUserfield1forActivity103inPlan3Version1forProjectP
663 rdf:type userfield:SpecifiedUserField ; 654 rdf:type userfield:SpecifiedUserField ;
664 userfield:hasContractor <http://data.posccaesar.org/brreg/R-41682c54-0a71-40f9-8763-97c506514866> ; 655 userfield:hasContractor <http://data.posccaesar.org/brreg/R-41682c54-0a71-40f9-8763-97c506514866> ;
...@@ -698,4 +689,3 @@ ...@@ -698,4 +689,3 @@
698 rdfs:label "Work Order Plan 2 version 1 for Project P"^^xsd:string ; 689 rdfs:label "Work Order Plan 2 version 1 for Project P"^^xsd:string ;
699 rdfs:subClassOf ilap:Activity ; 690 rdfs:subClassOf ilap:Activity ;
700 . 691 .
701 -
......