Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
ilap
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
Trinh H. Nguyen
2014-10-07 14:46:03 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
12b282554319486d2b3f617dbc8fa647e4541217
12b28255
1 parent
21eb8b88
added owl:oneOf for testing enumeration
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
4 deletions
mainOntology.ttl
mainOntology.ttl
View file @
12b2825
...
...
@@ -10,14 +10,19 @@
rdf:
type
owl:
Ontology
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
;
.
:
Ac
i
tivity
:
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
:
Ac
i
tivity
;
owl:
onClass
:
Activity
;
owl:
onProperty
:
hasParentActivity
;
]
;
.
...
...
@@ -39,7 +44,7 @@
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
minQualifiedCardinality
"0"
^^
xsd:
nonNegativeInteger
;
owl:
onClass
:
Ac
i
tivity
;
owl:
onClass
:
Activity
;
owl:
onProperty
:
hasAcitivity
;
]
;
rdfs:
subClassOf
[
...
...
@@ -55,7 +60,7 @@
rdfs:
subClassOf
owl:
Thing
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
qualifiedC
ardinality
"0"
^^
xsd:
nonNegativeInteger
;
owl:
c
ardinality
"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
;
.
...
...
Please
register
or
login
to post a comment