Trinh H. Nguyen

added owl:oneOf for testing enumeration

......@@ -10,14 +10,19 @@
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string ;
.
:Acitivity
:Activity
rdf:type owl:Class ;
rdfs:label "Acitivity"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty :hasActivityStatus ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass :Acitivity ;
owl:onClass :Activity ;
owl:onProperty :hasParentActivity ;
] ;
.
......@@ -39,7 +44,7 @@
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass :Acitivity ;
owl:onClass :Activity ;
owl:onProperty :hasAcitivity ;
] ;
rdfs:subClassOf [
......@@ -55,7 +60,7 @@
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:qualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:cardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty :hasDescription ;
] ;
rdfs:subClassOf [
......@@ -73,11 +78,32 @@
rdf:type owl:ObjectProperty ;
rdfs:label "has acitivity"^^xsd:string ;
.
:hasActivityStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain :Activity ;
rdfs:range [
rdf:type rdfs:Datatype ;
owl:oneOf (
"ActiveActivity"^^xsd:string
"CancelledActivity"^^xsd:string
"DeletedActivity"^^xsd:string
"CompletedActivity"^^xsd:string
"PendingActivity"^^xsd:string
) ;
] ;
.
:hasDescription
rdf:type owl:DatatypeProperty ;
rdfs:domain :Project ;
rdfs:range xsd:string ;
.
:hasParentActivity
rdf:type owl:ObjectProperty ;
:shouldBeDeclaredHere "true"^^xsd:boolean ;
:shouldBeHere "false"^^xsd:boolean ;
rdfs:domain :Activity ;
rdfs:range :Activity ;
.
:hasPlan
rdf:type owl:ObjectProperty ;
rdfs:label "has plan"^^xsd:string ;
......@@ -89,3 +115,14 @@
:hasSomethingElse
rdf:type owl:ObjectProperty ;
.
:shouldBeDeclaredHere
rdf:type owl:AnnotationProperty ;
rdfs:range xsd:boolean ;
.
:shouldBeHere
rdf:type owl:AnnotationProperty ;
rdfs:range xsd:boolean ;
.
rdf:oneOf
rdf:type rdfs:Class ;
.
......