Tore Christiansen

Corrected ActivityConstraint

...@@ -54,6 +54,40 @@ ...@@ -54,6 +54,40 @@
54 rdfs:comment "A Constraint in which an Activity or Milestone is linked to other Activities (or Milestones) that must be performed (completely or partially) before it can be performed."^^xsd:string ; 54 rdfs:comment "A Constraint in which an Activity or Milestone is linked to other Activities (or Milestones) that must be performed (completely or partially) before it can be performed."^^xsd:string ;
55 rdfs:label "Activity constraint"^^xsd:string ; 55 rdfs:label "Activity constraint"^^xsd:string ;
56 rdfs:subClassOf :ConstraintInPlan ; 56 rdfs:subClassOf :ConstraintInPlan ;
57 + rdfs:subClassOf [
58 + rdf:type owl:Class ;
59 + owl:unionOf (
60 + :FF
61 + :FS
62 + :SF
63 + :SS
64 + ) ;
65 + ] ;
66 + rdfs:subClassOf [
67 + rdf:type owl:Restriction ;
68 + :shouldUseRef "true"^^xsd:boolean ;
69 + owl:onClass :ActivityInPlan ;
70 + owl:onProperty :hasSuccessor ;
71 + owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
72 + ] ;
73 + rdfs:subClassOf [
74 + rdf:type owl:Restriction ;
75 + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
76 + owl:onClass :Calendar ;
77 + owl:onProperty :hasCalendar ;
78 + ] ;
79 + rdfs:subClassOf [
80 + rdf:type owl:Restriction ;
81 + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
82 + owl:onDataRange xsd:duration ;
83 + owl:onProperty :hasLag ;
84 + ] ;
85 + rdfs:subClassOf [
86 + rdf:type owl:Restriction ;
87 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
88 + owl:onClass :ExternalReference ;
89 + owl:onProperty :hasExternalReference ;
90 + ] ;
57 . 91 .
58 :ActivityCriticality 92 :ActivityCriticality
59 rdf:type owl:Class ; 93 rdf:type owl:Class ;
...@@ -201,6 +235,12 @@ ...@@ -201,6 +235,12 @@
201 rdf:type owl:Restriction ; 235 rdf:type owl:Restriction ;
202 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 236 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
203 owl:onClass :ActivityConstraint ; 237 owl:onClass :ActivityConstraint ;
238 + owl:onProperty :hasConstraint ;
239 + ] ;
240 + rdfs:subClassOf [
241 + rdf:type owl:Restriction ;
242 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
243 + owl:onClass :ActivityConstraint ;
204 owl:onProperty :hasSuccessor ; 244 owl:onProperty :hasSuccessor ;
205 ] ; 245 ] ;
206 rdfs:subClassOf [ 246 rdfs:subClassOf [
...@@ -236,12 +276,6 @@ ...@@ -236,12 +276,6 @@
236 rdfs:subClassOf [ 276 rdfs:subClassOf [
237 rdf:type owl:Restriction ; 277 rdf:type owl:Restriction ;
238 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 278 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
239 - owl:onClass :ConstraintInPlan ;
240 - owl:onProperty :hasConstraint ;
241 - ] ;
242 - rdfs:subClassOf [
243 - rdf:type owl:Restriction ;
244 - owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
245 owl:onClass :ExternalReference ; 279 owl:onClass :ExternalReference ;
246 owl:onProperty :hasExternalReference ; 280 owl:onProperty :hasExternalReference ;
247 ] ; 281 ] ;
...@@ -822,41 +856,6 @@ ...@@ -822,41 +856,6 @@
822 rdfs:comment "A Regulation that defines limitation or restrictions on relationships between Possible Individuals (adapted from ISO 15926 and Dictionary.com)."^^xsd:string ; 856 rdfs:comment "A Regulation that defines limitation or restrictions on relationships between Possible Individuals (adapted from ISO 15926 and Dictionary.com)."^^xsd:string ;
823 rdfs:label "Constraint in Plan"^^xsd:string ; 857 rdfs:label "Constraint in Plan"^^xsd:string ;
824 rdfs:subClassOf :ClassOfPeriodInTime ; 858 rdfs:subClassOf :ClassOfPeriodInTime ;
825 - rdfs:subClassOf [
826 - rdf:type owl:Class ;
827 - owl:unionOf (
828 - :FF
829 - :FS
830 - :SF
831 - :SS
832 - ) ;
833 - ] ;
834 - rdfs:subClassOf [
835 - rdf:type owl:Restriction ;
836 - :shouldUseRef "true"^^xsd:boolean ;
837 - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
838 - owl:onClass :Calendar ;
839 - owl:onProperty :hasCalendar ;
840 - ] ;
841 - rdfs:subClassOf [
842 - rdf:type owl:Restriction ;
843 - :shouldUseRef "true"^^xsd:boolean ;
844 - owl:onClass :ActivityInPlan ;
845 - owl:onProperty :hasSuccessor ;
846 - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
847 - ] ;
848 - rdfs:subClassOf [
849 - rdf:type owl:Restriction ;
850 - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
851 - owl:onDataRange xsd:duration ;
852 - owl:onProperty :hasLag ;
853 - ] ;
854 - rdfs:subClassOf [
855 - rdf:type owl:Restriction ;
856 - owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
857 - owl:onClass :ExternalReference ;
858 - owl:onProperty :hasExternalReference ;
859 - ] ;
860 . 859 .
861 :Continent 860 :Continent
862 rdf:type owl:Class ; 861 rdf:type owl:Class ;
......