From 1fa1754dd4860074a7ab206733910473e7ba2c03 Mon Sep 17 00:00:00 2001 From: yshalivskyy Date: Mon, 17 Jul 2017 19:09:24 +0300 Subject: [PATCH 1/4] [rdf] add an example rdf file and its generator --- doc/example_rdfs/generated_rdf.xml | 25 ++++++++++++++++++++++ doc/example_rdfs/rdf_generator.py | 33 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 doc/example_rdfs/generated_rdf.xml create mode 100644 doc/example_rdfs/rdf_generator.py diff --git a/doc/example_rdfs/generated_rdf.xml b/doc/example_rdfs/generated_rdf.xml new file mode 100644 index 00000000..a01ed55e --- /dev/null +++ b/doc/example_rdfs/generated_rdf.xml @@ -0,0 +1,25 @@ + + + + person + [Arthur Philip Dent,Zaphod Beeblebrox,Tricia Marie McMillan,Ford Prefect] + List of crew members names + NameCrewMembers + + + TheCrew + + crew + Information on the crew + + + 1979-10-12 + 42 + D. N. Adams + 1.1 + + + diff --git a/doc/example_rdfs/rdf_generator.py b/doc/example_rdfs/rdf_generator.py new file mode 100644 index 00000000..e78172e7 --- /dev/null +++ b/doc/example_rdfs/rdf_generator.py @@ -0,0 +1,33 @@ +from rdflib import Graph, BNode, Literal, Namespace +from rdflib.namespace import XSD + +odml = Namespace("http://g-node/odml#") + +g = Graph() + +doc = BNode("d1") +s1 = BNode("s1") +p12 = BNode("p1") + +g.add((doc, odml.version, Literal(1.1))) +g.add((doc, odml.docversion, Literal(42))) +g.add((doc, odml.author, Literal('D. N. Adams'))) +g.add((doc, odml.date, Literal('1979-10-12', datatype=XSD.date))) +g.add((doc, odml.hasSection, s1)) + +g.add((s1, odml.property, p12)) +g.add((s1, odml.type, Literal('crew'))) +g.add((s1, odml.description, Literal('Information on the crew'))) +g.add((s1, odml.name, Literal('TheCrew'))) + +g.add((p12, odml.hasValue, Literal('[Arthur Philip Dent,Zaphod Beeblebrox,Tricia Marie McMillan,Ford Prefect]'))) +g.add((p12, odml.description, Literal('List of crew members names'))) +g.add((p12, odml.dtype, Literal('person'))) +g.add((p12, odml.name, Literal('NameCrewMembers'))) + +res = g.serialize(format='application/rdf+xml').decode("utf-8") +print(res) + +f = open("generated_ex1.xml", "w") +f.write(res) +f.close() \ No newline at end of file From f8a7556e44c8519d4b0477c9456818af04547c5a Mon Sep 17 00:00:00 2001 From: yshalivskyy Date: Mon, 17 Jul 2017 19:10:02 +0300 Subject: [PATCH 2/4] [rdf] add the odml ontology --- doc/odml_ontology/root-ontology.owl | 500 ++++++++++++++++++++++++++++ doc/odml_ontology/root-ontology.ttl | 330 ++++++++++++++++++ 2 files changed, 830 insertions(+) create mode 100644 doc/odml_ontology/root-ontology.owl create mode 100644 doc/odml_ontology/root-ontology.ttl diff --git a/doc/odml_ontology/root-ontology.owl b/doc/odml_ontology/root-ontology.owl new file mode 100644 index 00000000..13384d7f --- /dev/null +++ b/doc/odml_ontology/root-ontology.owl @@ -0,0 +1,500 @@ + + + + + + + + + + + + + + + rdf:Bag + + + + + + + + rdf:li + + + + + + + + rdf:resource + + + + + + + + xsd:dat + + + + + + + + xsd:date + + + + + + + + + + + + + + + hasDocument + + + + + + + + + + hasProperty + + + + + + + + + + + hasSection + + + + + + + + + + + hasTerminology + + + + + + + + + + + + + + + author + + + + + + + + + + date + + + + + + + + + + + definition + + + + + + + + + + doc-version + + + + + + + + + + dtype + + + + + + + + + + hasResource + + + + + + + + + + hasValue + + + + + + + + + + + + id + + + + + + + + + + + name + + + + + + + + + + reference + + + + + + + + + + type + + + + + + + + + uncertainty + + + + + + + + + unit + + + + + + + + + + version + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the hub class + Hub + Link to the Hub remote description + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Doc description + Document + Link to the doc description of site + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of a Property entity + Property + Link to the description on the site + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Comment about section + Section + Link to the doc description of site + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of a Terminology + Terminology + Link to the remote description + + + + + + + diff --git a/doc/odml_ontology/root-ontology.ttl b/doc/odml_ontology/root-ontology.ttl new file mode 100644 index 00000000..6cc5bba1 --- /dev/null +++ b/doc/odml_ontology/root-ontology.ttl @@ -0,0 +1,330 @@ +@prefix : . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix rdfs: . +@base . + + rdf:type owl:Ontology . + +################################################################# +# Datatypes +################################################################# + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag +rdf:Bag rdf:type rdfs:Datatype ; + rdfs:label "rdf:Bag" . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#li +rdf:li rdf:type rdfs:Datatype ; + rdfs:label "rdf:li" . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#resource +rdf:resource rdf:type rdfs:Datatype ; + rdfs:label "rdf:resource" . + + +### http://www.w3.org/2001/XMLSchema#dat +xsd:dat rdf:type rdfs:Datatype ; + rdfs:label "xsd:dat" . + + +### http://www.w3.org/2001/XMLSchema#date +xsd:date rdf:type rdfs:Datatype ; + rdfs:label "xsd:date" . + + +################################################################# +# Object Properties +################################################################# + +### http://webprotege.stanford.edu/Rq5RAxjGEqIhIZ4bb8w3CQ + rdf:type owl:ObjectProperty ; + rdfs:domain ; + rdfs:range ; + rdfs:label "hasDocument" . + + +### https://g-node.org/projects/odml-rdf#hasProperty + rdf:type owl:ObjectProperty ; + rdfs:domain ; + rdfs:range ; + rdfs:label "hasProperty" . + + +### https://g-node.org/projects/odml-rdf#hasSection + rdf:type owl:ObjectProperty ; + rdfs:domain , + ; + rdfs:range ; + rdfs:label "hasSection" . + + +### https://g-node.org/projects/odml-rdf#hasTerminology + rdf:type owl:ObjectProperty ; + rdfs:domain , + ; + rdfs:range ; + rdfs:label "hasTerminology"^^xsd:string . + + +################################################################# +# Data properties +################################################################# + +### https://g-node.org/projects/odml-rdf#author + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:string ; + rdfs:label "author" . + + +### https://g-node.org/projects/odml-rdf#date + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:date ; + rdfs:label "date" . + + +### https://g-node.org/projects/odml-rdf#definition + rdf:type owl:DatatypeProperty ; + rdfs:domain , + ; + rdfs:range xsd:string ; + rdfs:label "definition" . + + +### https://g-node.org/projects/odml-rdf#doc-version + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:float ; + rdfs:label "doc-version" . + + +### https://g-node.org/projects/odml-rdf#dtype + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:string ; + rdfs:label "dtype" . + + +### https://g-node.org/projects/odml-rdf#hasResource + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range rdf:XMLLiteral ; + rdfs:label "hasResource" . + + +### https://g-node.org/projects/odml-rdf#hasValue + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range rdf:li ; + rdfs:label "hasValue" . + + +### https://g-node.org/projects/odml-rdf#id + rdf:type owl:DatatypeProperty ; + rdfs:domain , + , + ; + rdfs:range rdfs:Literal ; + rdfs:label "id" . + + +### https://g-node.org/projects/odml-rdf#name + rdf:type owl:DatatypeProperty ; + rdfs:domain , + ; + rdfs:range xsd:string ; + rdfs:label "name" . + + +### https://g-node.org/projects/odml-rdf#reference + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range rdfs:Literal ; + rdfs:label "reference" . + + +### https://g-node.org/projects/odml-rdf#type + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:string ; + rdfs:label "type" . + + +### https://g-node.org/projects/odml-rdf#uncertainty + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:label "uncertainty" . + + +### https://g-node.org/projects/odml-rdf#unit + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:label "unit" . + + +### https://g-node.org/projects/odml-rdf#version + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range xsd:float ; + rdfs:label "version" . + + +################################################################# +# Classes +################################################################# + +### http://webprotege.stanford.edu/RBrqij2XsdSBeW8YCZRngKN + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] ; + rdfs:comment "Description of the hub class"^^xsd:string ; + rdfs:label "Hub" ; + rdfs:seeAlso "Link to the Hub remote description"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Document + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom xsd:date + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom xsd:float + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom xsd:float + ] ; + rdfs:comment "Doc description"^^xsd:string ; + rdfs:label "Document" ; + rdfs:seeAlso "Link to the doc description of site"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Property + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdf:Bag + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Description of a Property entity"^^xsd:string ; + rdfs:label "Property" ; + rdfs:seeAlso "Link to the description on the site"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Section + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Comment about section"^^xsd:string ; + rdfs:label "Section" ; + rdfs:seeAlso "Link to the doc description of site"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Terminology + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdf:resource + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Description of a Terminology"^^xsd:string ; + rdfs:label "Terminology" ; + rdfs:seeAlso "Link to the remote description"^^xsd:string . + + +### Generated by the OWL API (version 4.3.1) https://github.com/owlcs/owlapi From 3408c7c81201d4978e05a655d2459a7b588507c7 Mon Sep 17 00:00:00 2001 From: yshalivskyy Date: Tue, 18 Jul 2017 19:23:02 +0300 Subject: [PATCH 3/4] [rdf] ontology improvements --- doc/odml_ontology/root-ontology.owl | 298 ++++++++++++++-------------- doc/odml_ontology/root-ontology.ttl | 222 +++++++++++---------- 2 files changed, 266 insertions(+), 254 deletions(-) diff --git a/doc/odml_ontology/root-ontology.owl b/doc/odml_ontology/root-ontology.owl index 13384d7f..730d88a5 100644 --- a/doc/odml_ontology/root-ontology.owl +++ b/doc/odml_ontology/root-ontology.owl @@ -29,39 +29,15 @@ - - - - rdf:li - - - - - - - - rdf:resource - - - - - - - - xsd:dat - - - - xsd:date - - - - - - + + + + hasDocument - + @@ -89,7 +65,7 @@ hasProperty - + @@ -100,7 +76,7 @@ hasSection - + @@ -108,13 +84,24 @@ + hasTerminology - - + + + + + hasValue + + + + + - - - + + + - author + hasAuthor - - - + + + + + + hasBag + + + + + + + - date + hasDate - - - + + + - definition + hasDefinition - - - + + + - doc-version + hasDocVersion - - - + + + - dtype - - - - - - - - - - hasResource + hasDtype - - - - - - hasValue - - - - - + - + - id + hasId - - - + + + - name + hasName - - - + + + - reference + hasReference - - - + + + + + + hasResource + + + + + + + - type + hasType - - - + + + - uncertainty + hasUncertainty - - - + + + - unit + hasUnit - - - + + + - version + hasVersion - - - - - - - - - - - - + + + - - + + - Description of the hub class - Hub - Link to the Hub remote description + Bag - + @@ -319,31 +297,31 @@ - + - + - + - + - + @@ -351,7 +329,30 @@ Document Link to the doc description of site - + + + + + + + + + + + + + + + + + + + + Description of the hub class + Hub + Link to the Hub remote description + + @@ -360,43 +361,43 @@ - - + + - + - - + + - + - + - + - + @@ -404,7 +405,7 @@ Property Link to the description on the site - + @@ -431,31 +432,31 @@ - + - + - + - + - + @@ -463,7 +464,7 @@ Section Link to the doc description of site - + @@ -478,13 +479,19 @@ - - + + - + + + + + + + @@ -497,4 +504,3 @@ - diff --git a/doc/odml_ontology/root-ontology.ttl b/doc/odml_ontology/root-ontology.ttl index 6cc5bba1..b3110168 100644 --- a/doc/odml_ontology/root-ontology.ttl +++ b/doc/odml_ontology/root-ontology.ttl @@ -17,21 +17,6 @@ rdf:Bag rdf:type rdfs:Datatype ; rdfs:label "rdf:Bag" . -### http://www.w3.org/1999/02/22-rdf-syntax-ns#li -rdf:li rdf:type rdfs:Datatype ; - rdfs:label "rdf:li" . - - -### http://www.w3.org/1999/02/22-rdf-syntax-ns#resource -rdf:resource rdf:type rdfs:Datatype ; - rdfs:label "rdf:resource" . - - -### http://www.w3.org/2001/XMLSchema#dat -xsd:dat rdf:type rdfs:Datatype ; - rdfs:label "xsd:dat" . - - ### http://www.w3.org/2001/XMLSchema#date xsd:date rdf:type rdfs:Datatype ; rdfs:label "xsd:date" . @@ -41,13 +26,6 @@ xsd:date rdf:type rdfs:Datatype ; # Object Properties ################################################################# -### http://webprotege.stanford.edu/Rq5RAxjGEqIhIZ4bb8w3CQ - rdf:type owl:ObjectProperty ; - rdfs:domain ; - rdfs:range ; - rdfs:label "hasDocument" . - - ### https://g-node.org/projects/odml-rdf#hasProperty rdf:type owl:ObjectProperty ; rdfs:domain ; @@ -65,136 +43,135 @@ xsd:date rdf:type rdfs:Datatype ; ### https://g-node.org/projects/odml-rdf#hasTerminology rdf:type owl:ObjectProperty ; - rdfs:domain , - ; - rdfs:range ; - rdfs:label "hasTerminology"^^xsd:string . + rdfs:domain , + , + ; + rdfs:range ; + rdfs:label "hasTerminology"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#hasValue + rdf:type owl:ObjectProperty ; + rdfs:domain ; + rdfs:range ; + rdfs:label "hasValue" . + + +### https://g-node.org/projects/odml-rdf#hasDocument + rdf:type owl:ObjectProperty ; + rdfs:domain ; + rdfs:range ; + rdfs:label "hasDocument" . ################################################################# # Data properties ################################################################# -### https://g-node.org/projects/odml-rdf#author - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasAuthor + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:string ; - rdfs:label "author" . + rdfs:label "hasAuthor"^^xsd:string . -### https://g-node.org/projects/odml-rdf#date - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasDate + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:date ; - rdfs:label "date" . + rdfs:label "hasDate"^^xsd:string . -### https://g-node.org/projects/odml-rdf#definition - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasDefinition + rdf:type owl:DatatypeProperty ; rdfs:domain , ; rdfs:range xsd:string ; - rdfs:label "definition" . + rdfs:label "hasDefinition"^^xsd:string . -### https://g-node.org/projects/odml-rdf#doc-version - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasDocVersion + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:float ; - rdfs:label "doc-version" . + rdfs:label "hasDocVersion"^^xsd:string . -### https://g-node.org/projects/odml-rdf#dtype - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasDtype + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:string ; - rdfs:label "dtype" . + rdfs:label "hasDtype"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasResource rdf:type owl:DatatypeProperty ; rdfs:domain ; - rdfs:range rdf:XMLLiteral ; + rdfs:range rdfs:Literal ; rdfs:label "hasResource" . -### https://g-node.org/projects/odml-rdf#hasValue - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range rdf:li ; - rdfs:label "hasValue" . - - -### https://g-node.org/projects/odml-rdf#id - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasId + rdf:type owl:DatatypeProperty ; rdfs:domain , , ; rdfs:range rdfs:Literal ; - rdfs:label "id" . + rdfs:label "hasId"^^xsd:string . -### https://g-node.org/projects/odml-rdf#name - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasName + rdf:type owl:DatatypeProperty ; rdfs:domain , ; rdfs:range xsd:string ; - rdfs:label "name" . + rdfs:label "hasName"^^xsd:string . -### https://g-node.org/projects/odml-rdf#reference - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasReference + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range rdfs:Literal ; - rdfs:label "reference" . + rdfs:label "hasReference"^^xsd:string . -### https://g-node.org/projects/odml-rdf#type - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasType + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:string ; - rdfs:label "type" . + rdfs:label "hasType"^^xsd:string . -### https://g-node.org/projects/odml-rdf#uncertainty - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasUncertainty + rdf:type owl:DatatypeProperty ; rdfs:domain ; - rdfs:label "uncertainty" . + rdfs:label "hasUncertainty"^^xsd:string . -### https://g-node.org/projects/odml-rdf#unit - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasUnit + rdf:type owl:DatatypeProperty ; rdfs:domain ; - rdfs:label "unit" . + rdfs:label "hasUnit"^^xsd:string . -### https://g-node.org/projects/odml-rdf#version - rdf:type owl:DatatypeProperty ; +### https://g-node.org/projects/odml-rdf#hasVersion + rdf:type owl:DatatypeProperty ; rdfs:domain ; rdfs:range xsd:float ; - rdfs:label "version" . + rdfs:label "hasVersion"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#hasBag + rdf:type owl:DatatypeProperty ; + rdfs:domain ; + rdfs:range rdf:Bag ; + rdfs:label "hasBag" . ################################################################# # Classes ################################################################# -### http://webprotege.stanford.edu/RBrqij2XsdSBeW8YCZRngKN - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] ; - rdfs:comment "Description of the hub class"^^xsd:string ; - rdfs:label "Hub" ; - rdfs:seeAlso "Link to the Hub remote description"^^xsd:string . - - ### https://g-node.org/projects/odml-rdf#Document rdf:type owl:Class ; rdfs:subClassOf owl:Thing , @@ -207,23 +184,23 @@ xsd:date rdf:type rdfs:Datatype ; owl:someValuesFrom ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom xsd:date ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom xsd:float ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom xsd:float ] ; rdfs:comment "Doc description"^^xsd:string ; @@ -235,31 +212,31 @@ xsd:date rdf:type rdfs:Datatype ; rdf:type owl:Class ; rdfs:subClassOf owl:Thing , [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal + owl:onProperty ; + owl:someValuesFrom ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdf:Bag + owl:onProperty ; + owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] ; rdfs:comment "Description of a Property entity"^^xsd:string ; @@ -283,23 +260,23 @@ xsd:date rdf:type rdfs:Datatype ; owl:someValuesFrom ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] ; rdfs:comment "Comment about section"^^xsd:string ; @@ -314,12 +291,16 @@ xsd:date rdf:type rdfs:Datatype ; owl:onProperty ; owl:someValuesFrom ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , [ rdf:type owl:Restriction ; owl:onProperty ; - owl:someValuesFrom rdf:resource + owl:someValuesFrom rdfs:Literal ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty ; owl:someValuesFrom rdfs:Literal ] ; rdfs:comment "Description of a Terminology"^^xsd:string ; @@ -327,4 +308,29 @@ xsd:date rdf:type rdfs:Datatype ; rdfs:seeAlso "Link to the remote description"^^xsd:string . -### Generated by the OWL API (version 4.3.1) https://github.com/owlcs/owlapi +### https://g-node.org/projects/odml-rdf#Hub + rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] , + [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom + ] ; + rdfs:comment "Description of the hub class"^^xsd:string ; + rdfs:label "Hub" ; + rdfs:seeAlso "Link to the Hub remote description"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Bag + rdf:type owl:Class ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:onProperty ; + owl:someValuesFrom rdf:Bag + ] ; + rdfs:label "Bag" . + + +### Generated by the OWL API (version 4.3.1) https://github.com/owlcs/owlapi \ No newline at end of file From b5986b3168893f19617343b8b66f0ea61f785b0f Mon Sep 17 00:00:00 2001 From: yshalivskyy Date: Thu, 20 Jul 2017 14:53:57 +0300 Subject: [PATCH 4/4] [rdf] update ontology, remove .owl ontology file --- doc/odml_ontology/root-ontology.owl | 506 ------------------------- doc/odml_ontology/root-ontology.ttl | 550 ++++++++++++++++------------ 2 files changed, 307 insertions(+), 749 deletions(-) delete mode 100644 doc/odml_ontology/root-ontology.owl diff --git a/doc/odml_ontology/root-ontology.owl b/doc/odml_ontology/root-ontology.owl deleted file mode 100644 index 730d88a5..00000000 --- a/doc/odml_ontology/root-ontology.owl +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - - - - - - - - - - rdf:Bag - - - - - - - - xsd:date - - - - - - - - - - - - - - - hasDocument - - - - - - - - - - hasProperty - - - - - - - - - - - hasSection - - - - - - - - - - - - hasTerminology - - - - - - - - - - hasValue - - - - - - - - - - - - - - - hasAuthor - - - - - - - - - - hasBag - - - - - - - - - - hasDate - - - - - - - - - - - hasDefinition - - - - - - - - - - hasDocVersion - - - - - - - - - - hasDtype - - - - - - - - - - - - hasId - - - - - - - - - - - hasName - - - - - - - - - - hasReference - - - - - - - - - - hasResource - - - - - - - - - - hasType - - - - - - - - - hasUncertainty - - - - - - - - - hasUnit - - - - - - - - - - hasVersion - - - - - - - - - - - - - - - - - - - Bag - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Doc description - Document - Link to the doc description of site - - - - - - - - - - - - - - - - - - - - - Description of the hub class - Hub - Link to the Hub remote description - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of a Property entity - Property - Link to the description on the site - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Comment about section - Section - Link to the doc description of site - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of a Terminology - Terminology - Link to the remote description - - - - - - diff --git a/doc/odml_ontology/root-ontology.ttl b/doc/odml_ontology/root-ontology.ttl index b3110168..41fa0c53 100644 --- a/doc/odml_ontology/root-ontology.ttl +++ b/doc/odml_ontology/root-ontology.ttl @@ -1,22 +1,17 @@ -@prefix : . +@prefix : . @prefix owl: . @prefix rdf: . @prefix xml: . @prefix xsd: . @prefix rdfs: . -@base . +@base . - rdf:type owl:Ontology . + rdf:type owl:Ontology . ################################################################# # Datatypes ################################################################# -### http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag -rdf:Bag rdf:type rdfs:Datatype ; - rdfs:label "rdf:Bag" . - - ### http://www.w3.org/2001/XMLSchema#date xsd:date rdf:type rdfs:Datatype ; rdfs:label "xsd:date" . @@ -26,42 +21,82 @@ xsd:date rdf:type rdfs:Datatype ; # Object Properties ################################################################# +### https://g-node.org/projects/odml-rdf#hasDocument +:hasDocument rdf:type owl:ObjectProperty ; + rdfs:domain :Hub ; + rdfs:range :Document ; + rdfs:label "hasDocument"^^xsd:string . + + ### https://g-node.org/projects/odml-rdf#hasProperty - rdf:type owl:ObjectProperty ; - rdfs:domain ; - rdfs:range ; - rdfs:label "hasProperty" . +:hasProperty rdf:type owl:ObjectProperty ; + rdfs:domain :Section ; + rdfs:range :Property ; + rdfs:label "hasProperty"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasSection - rdf:type owl:ObjectProperty ; - rdfs:domain , - ; - rdfs:range ; - rdfs:label "hasSection" . +:hasSection rdf:type owl:ObjectProperty ; + rdfs:domain :Document , + :Section ; + rdfs:range :Section ; + rdfs:label "hasSection"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasTerminology - rdf:type owl:ObjectProperty ; - rdfs:domain , - , - ; - rdfs:range ; - rdfs:label "hasTerminology"^^xsd:string . +:hasTerminology rdf:type owl:ObjectProperty ; + rdfs:domain :Document , + :Hub , + :Section , + :Terminology ; + rdfs:range :Terminology ; + rdfs:label "hasTerminology"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasValue - rdf:type owl:ObjectProperty ; - rdfs:domain ; - rdfs:range ; - rdfs:label "hasValue" . +:hasValue rdf:type owl:ObjectProperty ; + rdfs:domain :Property ; + rdfs:range rdf:Bag ; + rdfs:label "hasValue"^^xsd:string . -### https://g-node.org/projects/odml-rdf#hasDocument - rdf:type owl:ObjectProperty ; - rdfs:domain ; - rdfs:range ; - rdfs:label "hasDocument" . +### https://g-node.org/projects/odml-rdf#isDocumentOf +:isDocumentOf rdf:type owl:ObjectProperty ; + rdfs:domain :Document ; + rdfs:range :Hub ; + rdfs:label "isDocumentOf"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#isPropertyOf +:isPropertyOf rdf:type owl:ObjectProperty ; + rdfs:domain :Property ; + rdfs:range :Section ; + rdfs:label "isPropertyOf"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#isSectionOf +:isSectionOf rdf:type owl:ObjectProperty ; + rdfs:domain :Section ; + rdfs:range :Document , + :Section ; + rdfs:label "isSectionOf"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#isTerminologyOf +:isTerminologyOf rdf:type owl:ObjectProperty ; + rdfs:domain :Terminology ; + rdfs:range :Document , + :Hub , + :Section , + :Terminology ; + rdfs:label "isTerminologyOf"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#isValueOf +:isValueOf rdf:type owl:ObjectProperty ; + rdfs:domain rdf:Bag ; + rdfs:range :Property ; + rdfs:label "isValueOf"^^xsd:string . ################################################################# @@ -69,268 +104,297 @@ xsd:date rdf:type rdfs:Datatype ; ################################################################# ### https://g-node.org/projects/odml-rdf#hasAuthor - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:string ; - rdfs:label "hasAuthor"^^xsd:string . +:hasAuthor rdf:type owl:DatatypeProperty ; + rdfs:domain :Document ; + rdfs:range xsd:string ; + rdfs:label "hasAuthor"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasDate - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:date ; - rdfs:label "hasDate"^^xsd:string . +:hasDate rdf:type owl:DatatypeProperty ; + rdfs:domain :Document ; + rdfs:range xsd:date ; + rdfs:label "hasDate"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasDefinition - rdf:type owl:DatatypeProperty ; - rdfs:domain , - ; - rdfs:range xsd:string ; - rdfs:label "hasDefinition"^^xsd:string . +:hasDefinition rdf:type owl:DatatypeProperty ; + rdfs:domain :Property , + :Section ; + rdfs:range xsd:string ; + rdfs:label "hasDefinition"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasDocVersion - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:float ; - rdfs:label "hasDocVersion"^^xsd:string . +:hasDocVersion rdf:type owl:DatatypeProperty ; + rdfs:domain :Document ; + rdfs:range xsd:float ; + rdfs:label "hasDocVersion"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasDtype - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:string ; - rdfs:label "hasDtype"^^xsd:string . +:hasDtype rdf:type owl:DatatypeProperty ; + rdfs:domain :Property ; + rdfs:range xsd:string ; + rdfs:label "hasDtype"^^xsd:string . -### https://g-node.org/projects/odml-rdf#hasResource - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range rdfs:Literal ; - rdfs:label "hasResource" . +### https://g-node.org/projects/odml-rdf#hasExternalTerminology +:hasExternalTerminology rdf:type owl:DatatypeProperty ; + rdfs:domain :Terminology ; + rdfs:range rdfs:Literal ; + rdfs:label "hasExternalTerminology"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasId - rdf:type owl:DatatypeProperty ; - rdfs:domain , - , - ; - rdfs:range rdfs:Literal ; - rdfs:label "hasId"^^xsd:string . +:hasId rdf:type owl:DatatypeProperty , + owl:FunctionalProperty ; + rdfs:domain :Document , + :Property , + :Section ; + rdfs:range rdfs:Literal ; + rdfs:label "hasId"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasName - rdf:type owl:DatatypeProperty ; - rdfs:domain , - ; - rdfs:range xsd:string ; - rdfs:label "hasName"^^xsd:string . +:hasName rdf:type owl:DatatypeProperty ; + rdfs:domain :Property , + :Section ; + rdfs:range xsd:string ; + rdfs:label "hasName"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasReference - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range rdfs:Literal ; - rdfs:label "hasReference"^^xsd:string . +:hasReference rdf:type owl:DatatypeProperty ; + rdfs:domain :Section ; + rdfs:range rdfs:Literal ; + rdfs:label "hasReference"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasType - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:string ; - rdfs:label "hasType"^^xsd:string . +:hasType rdf:type owl:DatatypeProperty ; + rdfs:domain :Section ; + rdfs:range xsd:string ; + rdfs:label "hasType"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasUncertainty - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:label "hasUncertainty"^^xsd:string . +:hasUncertainty rdf:type owl:DatatypeProperty ; + rdfs:domain :Property ; + rdfs:range xsd:float ; + rdfs:label "hasUncertainty"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasUnit - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:label "hasUnit"^^xsd:string . +:hasUnit rdf:type owl:DatatypeProperty ; + rdfs:domain :Property ; + rdfs:label "hasUnit"^^xsd:string . ### https://g-node.org/projects/odml-rdf#hasVersion - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range xsd:float ; - rdfs:label "hasVersion"^^xsd:string . - - -### https://g-node.org/projects/odml-rdf#hasBag - rdf:type owl:DatatypeProperty ; - rdfs:domain ; - rdfs:range rdf:Bag ; - rdfs:label "hasBag" . +:hasVersion rdf:type owl:DatatypeProperty ; + rdfs:domain :Document ; + rdfs:range xsd:float ; + rdfs:label "hasVersion"^^xsd:string . ################################################################# # Classes ################################################################# +### http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag +rdf:Bag rdf:type owl:Class ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:onProperty :isValueOf ; + owl:someValuesFrom :Property + ] ; + rdfs:comment "The class of unordered containers." ; + rdfs:isDefinedBy rdf: ; + rdfs:label "Bag" . + + ### https://g-node.org/projects/odml-rdf#Document - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom xsd:date - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom xsd:float - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom xsd:float - ] ; - rdfs:comment "Doc description"^^xsd:string ; - rdfs:label "Document" ; - rdfs:seeAlso "Link to the doc description of site"^^xsd:string . +:Document rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty :hasSection ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasTerminology ; + owl:someValuesFrom :Terminology + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isDocumentOf ; + owl:someValuesFrom :Hub + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasAuthor ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDate ; + owl:someValuesFrom xsd:date + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDocVersion ; + owl:someValuesFrom xsd:float + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasId ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasVersion ; + owl:someValuesFrom xsd:float + ] ; + rdfs:comment "Doc description"^^xsd:string ; + rdfs:label "Document" ; + rdfs:seeAlso "Link to the doc description of site"^^xsd:string . + + +### https://g-node.org/projects/odml-rdf#Hub +:Hub rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDocument ; + owl:someValuesFrom :Document + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasTerminology ; + owl:someValuesFrom :Terminology + ] ; + rdfs:comment "Description of the hub class"^^xsd:string ; + rdfs:label "Hub" ; + rdfs:seeAlso "Link to the Hub remote description"^^xsd:string . ### https://g-node.org/projects/odml-rdf#Property - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] ; - rdfs:comment "Description of a Property entity"^^xsd:string ; - rdfs:label "Property" ; - rdfs:seeAlso "Link to the description on the site"^^xsd:string . +:Property rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty :hasValue ; + owl:someValuesFrom rdf:Bag + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isPropertyOf ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDefinition ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDtype ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasId ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasName ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasUncertainty ; + owl:someValuesFrom xsd:float + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasUnit ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Description of a Property entity"^^xsd:string ; + rdfs:label "Property" ; + rdfs:seeAlso "Link to the description on the site"^^xsd:string . ### https://g-node.org/projects/odml-rdf#Section - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] ; - rdfs:comment "Comment about section"^^xsd:string ; - rdfs:label "Section" ; - rdfs:seeAlso "Link to the doc description of site"^^xsd:string . +:Section rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty :hasProperty ; + owl:someValuesFrom :Property + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasSection ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasTerminology ; + owl:someValuesFrom :Terminology + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isSectionOf ; + owl:someValuesFrom :Document + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isSectionOf ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDefinition ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasId ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasName ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasReference ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasType ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Comment about section"^^xsd:string ; + rdfs:label "Section" ; + rdfs:seeAlso "Link to the doc description of site"^^xsd:string . ### https://g-node.org/projects/odml-rdf#Terminology - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdfs:Literal - ] ; - rdfs:comment "Description of a Terminology"^^xsd:string ; - rdfs:label "Terminology" ; - rdfs:seeAlso "Link to the remote description"^^xsd:string . - - -### https://g-node.org/projects/odml-rdf#Hub - rdf:type owl:Class ; - rdfs:subClassOf owl:Thing , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] , - [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom - ] ; - rdfs:comment "Description of the hub class"^^xsd:string ; - rdfs:label "Hub" ; - rdfs:seeAlso "Link to the Hub remote description"^^xsd:string . - - -### https://g-node.org/projects/odml-rdf#Bag - rdf:type owl:Class ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:someValuesFrom rdf:Bag - ] ; - rdfs:label "Bag" . +:Terminology rdf:type owl:Class ; + rdfs:subClassOf owl:Thing , + [ rdf:type owl:Restriction ; + owl:onProperty :hasSection ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasTerminology ; + owl:someValuesFrom :Terminology + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isTerminologyOf ; + owl:someValuesFrom :Document + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isTerminologyOf ; + owl:someValuesFrom :Hub + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isTerminologyOf ; + owl:someValuesFrom :Section + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :isTerminologyOf ; + owl:someValuesFrom :Terminology + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasExternalTerminology ; + owl:someValuesFrom rdfs:Literal + ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasId ; + owl:someValuesFrom rdfs:Literal + ] ; + rdfs:comment "Description of a Terminology"^^xsd:string ; + rdfs:label "Terminology" ; + rdfs:seeAlso "Link to the remote description"^^xsd:string . ### Generated by the OWL API (version 4.3.1) https://github.com/owlcs/owlapi \ No newline at end of file