mainOntology.ttl 3.23 KB
# baseURI: http://data.posccaesar.org/ilap/

@prefix : <http://data.posccaesar.org/ilap/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:
  rdf:type owl:Ontology ;
  owl:versionInfo "Created with TopBraid Composer"^^xsd:string ;
.
: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 :Activity ;
      owl:onProperty :hasParentActivity ;
    ] ;
.
:Data
  rdf:type owl:Class ;
  rdfs:label "Data"^^xsd:string ;
  rdfs:subClassOf owl:Thing ;
  rdfs:subClassOf [
      rdf:type owl:Restriction ;
      owl:onClass :Project ;
      owl:onProperty :hasProject ;
      owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    ] ;
.
:Plan
  rdf:type owl:Class ;
  rdfs:label "Plan"^^xsd:string ;
  rdfs:subClassOf owl:Thing ;
  rdfs:subClassOf [
      rdf:type owl:Restriction ;
      owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
      owl:onClass :Activity ;
      owl:onProperty :hasAcitivity ;
    ] ;
  rdfs:subClassOf [
      rdf:type owl:Restriction ;
      owl:onClass :SomethingElse ;
      owl:onProperty :hasSomethingElse ;
      owl:qualifiedCardinality "2"^^xsd:nonNegativeInteger ;
    ] ;
.
:Project
  rdf:type owl:Class ;
  rdfs:label "Project"^^xsd:string ;
  rdfs:subClassOf owl:Thing ;
  rdfs:subClassOf [
      rdf:type owl:Restriction ;
      owl:cardinality "0"^^xsd:nonNegativeInteger ;
      owl:onProperty :hasDescription ;
    ] ;
  rdfs:subClassOf [
      rdf:type owl:Restriction ;
      owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
      owl:onClass :Plan ;
      owl:onProperty :hasPlan ;
    ] ;
.
:SomethingElse
  rdf:type owl:Class ;
  rdfs:subClassOf owl:Thing ;
.
:hasAcitivity
  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 ;
.
:hasProject
  rdf:type owl:ObjectProperty ;
  rdfs:label "has project"^^xsd:string ;
.
: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 ;
.