Håvard M. Ottestad

Many changes to help the generating XSD

...@@ -36,7 +36,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -36,7 +36,7 @@ userfield:hasFreeFieldForSpecifiedUserField
36 rdf:type :Status ; 36 rdf:type :Status ;
37 rdfs:label "Active"^^xsd:string ; 37 rdfs:label "Active"^^xsd:string ;
38 . 38 .
39 -:ActivityInPlan 39 +:Activity
40 rdf:type lci:ClassOfIndividual ; 40 rdf:type lci:ClassOfIndividual ;
41 rdf:type owl:Class ; 41 rdf:type owl:Class ;
42 :shouldHaveID "true" ; 42 :shouldHaveID "true" ;
...@@ -45,6 +45,15 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -45,6 +45,15 @@ userfield:hasFreeFieldForSpecifiedUserField
45 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS436990091> ; 45 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS436990091> ;
46 rdfs:subClassOf owl:Thing ; 46 rdfs:subClassOf owl:Thing ;
47 rdfs:subClassOf [ 47 rdfs:subClassOf [
48 + rdf:type owl:Class ;
49 + owl:unionOf (
50 + :Milestone
51 + :Operation
52 + :StaffTime
53 + :ActivityInPlan
54 + ) ;
55 + ] ;
56 + rdfs:subClassOf [
48 rdf:type owl:Restriction ; 57 rdf:type owl:Restriction ;
49 :shouldBeInternalAndExternalRef "true"^^xsd:boolean ; 58 :shouldBeInternalAndExternalRef "true"^^xsd:boolean ;
50 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 59 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
...@@ -69,7 +78,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -69,7 +78,7 @@ userfield:hasFreeFieldForSpecifiedUserField
69 rdf:type owl:Restriction ; 78 rdf:type owl:Restriction ;
70 :shouldUseRef "true"^^xsd:boolean ; 79 :shouldUseRef "true"^^xsd:boolean ;
71 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 80 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
72 - owl:onClass :ActivityInPlan ; 81 + owl:onClass :Activity ;
73 owl:onProperty :hasParentActivity ; 82 owl:onProperty :hasParentActivity ;
74 ] ; 83 ] ;
75 rdfs:subClassOf [ 84 rdfs:subClassOf [
...@@ -135,6 +144,11 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -135,6 +144,11 @@ userfield:hasFreeFieldForSpecifiedUserField
135 ] ; 144 ] ;
136 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS3149> ; 145 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS3149> ;
137 . 146 .
147 +:ActivityInPlan
148 + rdf:type owl:Class ;
149 + rdfs:label "Activity in plan"^^xsd:string ;
150 + rdfs:subClassOf :Activity ;
151 +.
138 :Activity_1 152 :Activity_1
139 rdf:type lci:ClassOfIndividual ; 153 rdf:type lci:ClassOfIndividual ;
140 rdf:type owl:Class ; 154 rdf:type owl:Class ;
...@@ -168,7 +182,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -168,7 +182,7 @@ userfield:hasFreeFieldForSpecifiedUserField
168 rdf:type owl:Restriction ; 182 rdf:type owl:Restriction ;
169 :shouldUseRef "true"^^xsd:boolean ; 183 :shouldUseRef "true"^^xsd:boolean ;
170 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 184 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
171 - owl:onClass :ActivityInPlan ; 185 + owl:onClass :Activity ;
172 owl:onProperty :hasParentActivity ; 186 owl:onProperty :hasParentActivity ;
173 ] ; 187 ] ;
174 rdfs:subClassOf [ 188 rdfs:subClassOf [
...@@ -493,7 +507,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -493,7 +507,7 @@ userfield:hasFreeFieldForSpecifiedUserField
493 rdfs:subClassOf [ 507 rdfs:subClassOf [
494 rdf:type owl:Restriction ; 508 rdf:type owl:Restriction ;
495 :shouldUseRef "true"^^xsd:boolean ; 509 :shouldUseRef "true"^^xsd:boolean ;
496 - owl:onClass :ActivityInPlan ; 510 + owl:onClass :Activity ;
497 owl:onProperty :hasSuccessorActivity ; 511 owl:onProperty :hasSuccessorActivity ;
498 owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; 512 owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
499 ] ; 513 ] ;
...@@ -765,7 +779,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -765,7 +779,7 @@ userfield:hasFreeFieldForSpecifiedUserField
765 rdf:type owl:Class ; 779 rdf:type owl:Class ;
766 rdfs:comment "An Activity that is part of an Activity Plan, with a 0-duration, and in many cases a fixed date. A milestone is normally a specified event within Project, often linked to contractual items."^^xsd:string ; 780 rdfs:comment "An Activity that is part of an Activity Plan, with a 0-duration, and in many cases a fixed date. A milestone is normally a specified event within Project, often linked to contractual items."^^xsd:string ;
767 rdfs:label "Milestone"^^xsd:string ; 781 rdfs:label "Milestone"^^xsd:string ;
768 - rdfs:subClassOf :ActivityInPlan ; 782 + rdfs:subClassOf :Activity ;
769 . 783 .
770 :Monday 784 :Monday
771 rdf:type :Weekday ; 785 rdf:type :Weekday ;
...@@ -783,7 +797,7 @@ userfield:hasFreeFieldForSpecifiedUserField ...@@ -783,7 +797,7 @@ userfield:hasFreeFieldForSpecifiedUserField
783 :Operation 797 :Operation
784 rdf:type owl:Class ; 798 rdf:type owl:Class ;
785 rdfs:comment "An Activity that represents work carried out in Projects, and has (often detailed) descriptions of the actual work carried out."^^xsd:string ; 799 rdfs:comment "An Activity that represents work carried out in Projects, and has (often detailed) descriptions of the actual work carried out."^^xsd:string ;
786 - rdfs:subClassOf :ActivityInPlan ; 800 + rdfs:subClassOf :Activity ;
787 . 801 .
788 :Pending 802 :Pending
789 rdf:type :Status ; 803 rdf:type :Status ;
...@@ -945,7 +959,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -945,7 +959,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
945 rdfs:subClassOf [ 959 rdfs:subClassOf [
946 rdf:type owl:Restriction ; 960 rdf:type owl:Restriction ;
947 owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; 961 owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
948 - owl:onClass :ActivityInPlan ; 962 + owl:onClass :Activity ;
949 owl:onProperty :hasActivity ; 963 owl:onProperty :hasActivity ;
950 ] ; 964 ] ;
951 . 965 .
...@@ -969,7 +983,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -969,7 +983,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
969 rdf:type owl:Class ; 983 rdf:type owl:Class ;
970 rdfs:comment "An Activity that is the creation of one or more instances of PlanForActivity in order to realise a RequiredActivity"^^xsd:string ; 984 rdfs:comment "An Activity that is the creation of one or more instances of PlanForActivity in order to realise a RequiredActivity"^^xsd:string ;
971 rdfs:label "Planning"^^xsd:string ; 985 rdfs:label "Planning"^^xsd:string ;
972 - rdfs:subClassOf :ActivityInPlan ; 986 + rdfs:subClassOf owl:Thing ;
973 . 987 .
974 :Pre-costed 988 :Pre-costed
975 rdf:type :Status ; 989 rdf:type :Status ;
...@@ -1042,7 +1056,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -1042,7 +1056,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
1042 rdfs:comment "An Activity that is a temporary endeavor (in contrast with ongoing operations) with a defined beginning and end, constrained by available time, funding and resources, undertaken to achieve an objective conforming to specific requirements, meet unique objectives, and bring about beneficial change or added value (adapted from BSI and Wikipedia)."^^xsd:string ; 1056 rdfs:comment "An Activity that is a temporary endeavor (in contrast with ongoing operations) with a defined beginning and end, constrained by available time, funding and resources, undertaken to achieve an objective conforming to specific requirements, meet unique objectives, and bring about beneficial change or added value (adapted from BSI and Wikipedia)."^^xsd:string ;
1043 rdfs:label "Project"^^xsd:string ; 1057 rdfs:label "Project"^^xsd:string ;
1044 rdfs:seeAlso <http://data.posccaesar.org/rdl/RDS9629> ; 1058 rdfs:seeAlso <http://data.posccaesar.org/rdl/RDS9629> ;
1045 - rdfs:subClassOf :ActivityInPlan ; 1059 + rdfs:subClassOf owl:Thing ;
1046 rdfs:subClassOf [ 1060 rdfs:subClassOf [
1047 rdf:type owl:Restriction ; 1061 rdf:type owl:Restriction ;
1048 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; 1062 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
...@@ -1424,6 +1438,15 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -1424,6 +1438,15 @@ NOTE 2 An activity plan can define a number of part activities which are relate
1424 rdfs:label "Schedule for activity in plan"^^xsd:string ; 1438 rdfs:label "Schedule for activity in plan"^^xsd:string ;
1425 rdfs:subClassOf owl:Thing ; 1439 rdfs:subClassOf owl:Thing ;
1426 rdfs:subClassOf [ 1440 rdfs:subClassOf [
1441 + rdf:type owl:Class ;
1442 + owl:unionOf (
1443 + :BaselineScheduleForPlan
1444 + :CurrentScheduleForPlan
1445 + :LiveScheduleForPlan
1446 + :RevisedScheduleForPlan
1447 + ) ;
1448 + ] ;
1449 + rdfs:subClassOf [
1427 rdf:type owl:Restriction ; 1450 rdf:type owl:Restriction ;
1428 :shouldUseRef "true"^^xsd:boolean ; 1451 :shouldUseRef "true"^^xsd:boolean ;
1429 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 1452 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
...@@ -1445,7 +1468,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -1445,7 +1468,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
1445 rdf:type owl:Class ; 1468 rdf:type owl:Class ;
1446 rdfs:comment "An Activity that is people in employment"^^xsd:string ; 1469 rdfs:comment "An Activity that is people in employment"^^xsd:string ;
1447 rdfs:label "Staff time"^^xsd:string ; 1470 rdfs:label "Staff time"^^xsd:string ;
1448 - rdfs:subClassOf :ActivityInPlan ; 1471 + rdfs:subClassOf :Activity ;
1449 . 1472 .
1450 :Status 1473 :Status
1451 rdf:type owl:Class ; 1474 rdf:type owl:Class ;
...@@ -1704,7 +1727,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -1704,7 +1727,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
1704 . 1727 .
1705 :hasActiveStatus 1728 :hasActiveStatus
1706 rdf:type owl:ObjectProperty ; 1729 rdf:type owl:ObjectProperty ;
1707 - rdfs:domain :ActivityInPlan ; 1730 + rdfs:domain :Activity ;
1708 . 1731 .
1709 :hasActivity 1732 :hasActivity
1710 rdf:type owl:ObjectProperty ; 1733 rdf:type owl:ObjectProperty ;
...@@ -1938,7 +1961,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate ...@@ -1938,7 +1961,7 @@ NOTE 2 An activity plan can define a number of part activities which are relate
1938 . 1961 .
1939 :hasResponsible 1962 :hasResponsible
1940 rdf:type owl:ObjectProperty ; 1963 rdf:type owl:ObjectProperty ;
1941 - rdfs:domain :ActivityInPlan ; 1964 + rdfs:domain :Activity ;
1942 rdfs:label "has responsible"^^xsd:string ; 1965 rdfs:label "has responsible"^^xsd:string ;
1943 rdfs:range :Responsible ; 1966 rdfs:range :Responsible ;
1944 . 1967 .
......