Trinh H. Nguyen

added 1 data property (hasDescription) and 1 object property (hasSomethingElse) …

…-- for testing purpose
...@@ -36,6 +36,12 @@ ...@@ -36,6 +36,12 @@
36 owl:onClass :Acitivity ; 36 owl:onClass :Acitivity ;
37 owl:onProperty :hasAcitivity ; 37 owl:onProperty :hasAcitivity ;
38 ] ; 38 ] ;
39 + rdfs:subClassOf [
40 + rdf:type owl:Restriction ;
41 + owl:onClass :SomethingElse ;
42 + owl:onProperty :hasSomethingElse ;
43 + owl:qualifiedCardinality "2"^^xsd:nonNegativeInteger ;
44 + ] ;
39 . 45 .
40 :Project 46 :Project
41 rdf:type owl:Class ; 47 rdf:type owl:Class ;
...@@ -43,15 +49,29 @@ ...@@ -43,15 +49,29 @@
43 rdfs:subClassOf owl:Thing ; 49 rdfs:subClassOf owl:Thing ;
44 rdfs:subClassOf [ 50 rdfs:subClassOf [
45 rdf:type owl:Restriction ; 51 rdf:type owl:Restriction ;
52 + owl:minCardinality "0"^^xsd:nonNegativeInteger ;
53 + owl:onProperty :hasDescription ;
54 + ] ;
55 + rdfs:subClassOf [
56 + rdf:type owl:Restriction ;
46 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 57 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
47 owl:onClass :Plan ; 58 owl:onClass :Plan ;
48 owl:onProperty :hasPlan ; 59 owl:onProperty :hasPlan ;
49 ] ; 60 ] ;
50 . 61 .
62 +:SomethingElse
63 + rdf:type owl:Class ;
64 + rdfs:subClassOf owl:Thing ;
65 +.
51 :hasAcitivity 66 :hasAcitivity
52 rdf:type owl:ObjectProperty ; 67 rdf:type owl:ObjectProperty ;
53 rdfs:label "has acitivity"^^xsd:string ; 68 rdfs:label "has acitivity"^^xsd:string ;
54 . 69 .
70 +:hasDescription
71 + rdf:type owl:DatatypeProperty ;
72 + rdfs:domain :Project ;
73 + rdfs:range xsd:string ;
74 +.
55 :hasPlan 75 :hasPlan
56 rdf:type owl:ObjectProperty ; 76 rdf:type owl:ObjectProperty ;
57 rdfs:label "has plan"^^xsd:string ; 77 rdfs:label "has plan"^^xsd:string ;
...@@ -60,3 +80,6 @@ ...@@ -60,3 +80,6 @@
60 rdf:type owl:ObjectProperty ; 80 rdf:type owl:ObjectProperty ;
61 rdfs:label "has project"^^xsd:string ; 81 rdfs:label "has project"^^xsd:string ;
62 . 82 .
83 +:hasSomethingElse
84 + rdf:type owl:ObjectProperty ;
85 +.
......