From 29f60c23f8a429f3942c2991f37fe39ed11fc1fe Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Thu, 2 Jan 2025 23:05:09 +0100 Subject: [PATCH] Updated IRIs to w3id --- context/context.json | 41 --------- oteio.ttl | 207 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 198 insertions(+), 50 deletions(-) delete mode 100644 context/context.json diff --git a/context/context.json b/context/context.json deleted file mode 100644 index bb1655d..0000000 --- a/context/context.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "@version": 1.1, - - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "dcterms": "http://purl.org/dc/terms/", - "dcat": "http://www.w3.org/ns/dcat#", - "oteio": "https://w3id.org/emmo/domain/oteio#", - - "resources": "@nest", - "configuration": { - "@id": "oteio:configuration", - "@type": "@json" - }, - - "dataresource": { - "@id": "oteio:dataresource", - "@type": "oteio:DataResource", - "@nest": "resources" - }, - "downloadURL": "dcat:downloadURL", - "mediaType": "dcat:mediaType", - "license": "dcterms:license", - - "parse": { - "@id": "oteio:parse", - "@type": "oteio:Parse", - "@nest": "resources" - }, - "parserType": "oteio:parserType", - "datamodel": "oteio:datamodel", - - "mapping": { - "@id": "oteio:mapping", - "@type": "oteio:Mapping", - "@nest": "resources" - }, - "mappingType": "oteio:mappingType", - "prefixes": "oteio:prefixes", - "triples": "oteio:triples", - -} diff --git a/oteio.ttl b/oteio.ttl index 99b6c90..5feb60c 100644 --- a/oteio.ttl +++ b/oteio.ttl @@ -9,12 +9,201 @@ @base . rdf:type owl:Ontology ; - owl:versionIRI ; - owl:imports , - , - ; - dcterms:abstract "An EMMO-based ontology providing a semantic descriptions for the OTE interfaces developed in the OntoTrans project." ; - dcterms:author "Jesper Friis, SINTEF" , - "Francesca L. Bleken, SINTEF" ; - dcterms:title "Open Translation Environment Interface Ontology (OTEIO)" ; - owl:versionInfo "0.4.0" . + owl:versionIRI ; + owl:imports , + , + ; + dcterms:abstract "An EMMO-based ontology providing a semantic descriptions for the OTE interfaces developed in the OntoTrans project." ; + dcterms:author "Francesca L. Bleken, SINTEF" , + "Jesper Friis, SINTEF" ; + dcterms:title "Open Translation Environment Interface Ontology (OTEIO)" ; + owl:versionInfo "0.4.0" . + +################################################################# +# Annotation properties +################################################################# + +### http://purl.org/dc/terms/author +dcterms:author rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +### http://w3id.org/emmo/domain/oteio#generator +:generator rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Distribution ; + rdfs:range :Generator ; + skos:prefLabel "generator"@en ; + "Relates a distribution to a generator that it can be generated from."@en . + + +### http://w3id.org/emmo/domain/oteio#parser +:parser rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Distribution ; + rdfs:range :Generator ; + skos:prefLabel "parser"@en ; + "Relates a distribution to a parser that it can be parsed with."@en . + + +################################################################# +# Data properties +################################################################# + +### http://w3id.org/emmo/domain/oteio#configuration +:configuration rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:range rdf:JSON ; + skos:prefLabel "configuration"@en ; + "The owl:dataProperty for representing an OTE interface configuration in JSON."@en . + + +### http://w3id.org/emmo/domain/oteio#datamodelStorage +:datamodelStorage rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Dataset ; + rdfs:range xsd:anyURI ; + skos:prefLabel "datamodelStorage"@en ; + "URL to DLite storage plugin where the datamodel is stored."@en . + + +### http://w3id.org/emmo/domain/oteio#generatorType +:generatorType rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + skos:example "application/vnd.dlite-generate" ; + skos:prefLabel "generatorType"@en ; + "Generator type, typically represented as a IANA media type."@en . + + +### http://w3id.org/emmo/domain/oteio#hasDatamodel +:hasDatamodel rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Dataset ; + rdfs:range xsd:anyURI ; + skos:prefLabel "hasDatamodel"@en ; + "Relate a dataset to a DLite datamodel URI."@en . + + +### http://w3id.org/emmo/domain/oteio#mapping +:mapping rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf :statement ; + rdfs:domain :Mapping ; + rdfs:range rdf:JSON ; + skos:prefLabel "mapping"@en ; + "A set of subject-predicate-object triples mapping a datamodel to ontological concepts."@en . + + +### http://w3id.org/emmo/domain/oteio#mappingFormat +:mappingFormat rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Dataset ; + rdfs:range xsd:string ; + skos:prefLabel "mappingFormat"@en ; + "File format of a resource referred to by a `mappingURL`."@en . + + +### http://w3id.org/emmo/domain/oteio#mappingURL +:mappingURL rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Dataset ; + rdfs:range xsd:anyURI ; + skos:prefLabel "mappingURL"@en ; + "URL to a document defining the mappings of the datamodel."@en . + + +### http://w3id.org/emmo/domain/oteio#parserType +:parserType rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + skos:example "Parser type, typically represented as a IANA media type."@en ; + skos:prefLabel "parserType"@en . + + +### http://w3id.org/emmo/domain/oteio#statement +:statement rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf ; + rdfs:domain :Statement ; + rdfs:range rdf:JSON ; + skos:prefLabel "statement"@en ; + "A set of subject-predicate-object triples with RDF statements documenting the resource."@en . + + +################################################################# +# Classes +################################################################# + +### http://w3id.org/emmo/domain/oteio#Configuration +:Configuration rdf:type owl:Class ; + rdfs:subClassOf , + ; + skos:prefLabel "Configuration"@en ; + "OTE Interface configuration. Represented as a JSON in the knowledge base."@en . + + +### http://w3id.org/emmo/domain/oteio#DataModel +:DataModel rdf:type owl:Class ; + rdfs:subClassOf ; + skos:prefLabel "DataModel"@en ; + "DLite datamodel for the dataset."@en . + + +### http://w3id.org/emmo/domain/oteio#Dataset +:Dataset rdf:type owl:Class ; + rdfs:subClassOf , + ; + skos:prefLabel "Dataset"@en ; + "The combined subclass of both emmo:DataSet and dcat:Dataset."@en . + + +### http://w3id.org/emmo/domain/oteio#Distribution +:Distribution rdf:type owl:Class ; + rdfs:subClassOf , + ; + skos:prefLabel "Distribution"@en ; + "The combined subclass of both emmo:DiscreteData and dcat:Distribution."@en . + + +### http://w3id.org/emmo/domain/oteio#Generator +:Generator rdf:type owl:Class ; + rdfs:subClassOf ; + skos:prefLabel "Generator"@en ; + "A program that can generate a serialised representation of a data model."@en . + + +### http://w3id.org/emmo/domain/oteio#Mapping +:Mapping rdf:type owl:Class ; + rdfs:subClassOf :Statement ; + skos:prefLabel "Mapping"@en ; + "RDF statements providing semantic documentation of a datamodel by mapping it to ontological concepts."@en . + + +### http://w3id.org/emmo/domain/oteio#Parser +:Parser rdf:type owl:Class ; + rdfs:subClassOf ; + skos:prefLabel "Parser"@en ; + "A program that can parse a serialised representation of a data model and instantiate it."@en . + + +### http://w3id.org/emmo/domain/oteio#Statement +:Statement rdf:type owl:Class ; + rdfs:subClassOf rdf:Statement , + ; + skos:prefLabel "Statement"@en ; + "A set of RDF subject-predicate-object statements describing a resource."@en . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement +rdf:Statement rdf:type owl:Class . + + +### http://www.w3.org/ns/dcat#Dataset + rdf:type owl:Class . + + +### http://www.w3.org/ns/dcat#Distribution + rdf:type owl:Class . + + +### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi