Tore Christiansen

Fixed time based resource

......@@ -103,7 +103,7 @@
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass :Resource ;
owl:onClass :ResourceValue ;
owl:onProperty :hasResource ;
] ;
rdfs:subClassOf [
......@@ -594,6 +594,12 @@
rdfs:label "Cost Based Resource"^^xsd:string ;
rdfs:subClassOf :Resource ;
.
:CostBasedResourceValue
rdf:type owl:Class ;
rdfs:comment "Not implemented"^^xsd:string ;
rdfs:label "Cost based resource value"^^xsd:string ;
rdfs:subClassOf :ResourceValue ;
.
:Country
rdf:type :PlanGeoArea ;
rdfs:label "Country"^^xsd:string ;
......@@ -1698,7 +1704,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass :TimeBasedResourceValue ;
owl:onClass :TimeBasedResource ;
owl:onProperty :hasTimeBasedResource ;
] ;
rdfs:subClassOf [
......@@ -1715,6 +1721,13 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
rdfs:label "Resource value"^^xsd:string ;
rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS7945844> ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf [
rdf:type owl:Class ;
owl:unionOf (
:CostBasedResourceValue
:TimeBasedResourceValue
) ;
] ;
owl:equivalentClass <http://data.posccaesar.org/rdl/RDS409510451> ;
.
:Responsible
......@@ -2120,9 +2133,40 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
.
:TimeBasedResource
rdf:type owl:Class ;
:shouldHaveID "true"^^xsd:boolean ;
rdfs:comment "A Resource that is limited by the time it is available"^^xsd:string ;
rdfs:label "Time based resource"^^xsd:string ;
rdfs:subClassOf :Resource ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onDataRange xsd:decimal ;
owl:onProperty :hasDefaultRate ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onDataRange xsd:string ;
owl:onProperty :hasDescription ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass :Availability ;
owl:onProperty :hasAvailability ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass :ExternalReference ;
owl:onProperty :hasExternalReference ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onDataRange xsd:string ;
owl:onProperty :hasName ;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
] ;
.
:TimeBasedResourceRef
rdf:type owl:ObjectProperty ;
......@@ -2169,6 +2213,13 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
:shouldUseAnyUri "true"^^xsd:boolean ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass <http://data.posccaesar.org/ilap/refdata/NORSOK/Z-014/SCCSCoding/COR_Thing> ;
owl:onProperty rdf:type ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
:shouldUseRef "true"^^xsd:boolean ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass :Profile ;
......@@ -2861,7 +2912,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
rdfs:label "Time based 1"^^xsd:string ;
rdfs:subClassOf :Category ;
rdfs:subClassOf :Discipline ;
rdfs:subClassOf :TimeBasedResource ;
.
<http://data.posccaesar.org/ilap/refdata/NORSOK/Z-014/SCCSCoding/PBS_Thing>
rdf:type owl:Class ;
......