-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Renamed option `--copy-preflabel` to `--copy-emmo-annotations` and more content to what it alias. The intention with this option is to make it easy to publish EMMO-based ontologies that are understood by standard tools (including FOOPS). ## Type of change - [ ] Bug fix. - [x] New feature. - [ ] Documentation update. - [ ] Test update.
- Loading branch information
Showing
3 changed files
with
89 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@prefix : <https://w3id.org/emmo/domain-onto#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix dcterms: <http://purl.org/dc/terms/> . | ||
@prefix emmo: <https://www.w3.org/emmo#> . | ||
|
||
|
||
<https://w3id/org/emmo/domain-onto> rdf:type owl:Ontology ; | ||
owl:versionIRI <https://w3id/org/emmo/domain-onto/0.1.0> ; | ||
owl:versionInfo "0.1.0" ; | ||
dcterms:abstract "Test for an EMMO-based domain ontolgoy."@en . | ||
|
||
|
||
:testclass rdf:type owl:Class ; | ||
rdfs:subClassOf owl:Thing ; | ||
skos:prefLabel "TestClass"@en ; | ||
emmo:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A test class."@en . | ||
|
||
:testobjectproperty rdf:type owl:ObjectProperty ; | ||
rdfs:domain :testclass ; | ||
rdfs:range :testclass ; | ||
skos:prefLabel "hasObjectProperty"@en . | ||
|
||
:testannotationproperty rdf:type owl:AnnotationProperty ; | ||
rdfs:domain :testclass ; | ||
rdfs:range rdfs:Literal ; | ||
skos:prefLabel "hasAnnotationProperty"@en . | ||
|
||
:testdatatypeproperty rdf:type owl:DatatypeProperty ; | ||
rdfs:domain :testclass ; | ||
rdfs:range xsd:string ; | ||
skos:prefLabel "hasDataProperty"@en . | ||
|
||
|
||
# Declare skos:prefLabel, emmo:elucidation and emmo:definition here | ||
# since we are not importing these ontologies | ||
emmo:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf rdfs:comment ; | ||
skos:prefLabel "elucidation"@en ; | ||
rdfs:comment "Short enlightening explanation aimed to facilitate the user in drawing the connection (interpretation) between a OWL entity and the real world object(s) for which it stands."@en . | ||
|
||
:EMMO_70fe84ff_99b6_4206_a9fc_9a8931836d84 a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf rdfs:comment ; | ||
skos:prefLabel "definition"@en ; | ||
rdfs:comment "Precise and univocal description of an ontological entity in the framework of an axiomatic system."@en . | ||
|
||
skos:prefLabel a owl:AnnotationProperty . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters