Skip to content

Commit

Permalink
robot-validate DL: corrected missing declarations and included in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CastroA committed Oct 19, 2021
1 parent 3a191b6 commit 699e7da
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: test for ERRORs with ROBOT report
run: |
robot report --profile .github/report_profile.txt --input dfgfo.ttl
- name: validate ontology against OWL DL profile
run: |
robot validate-profile --profile DL --input dfgfo.ttl
- name: produce report
run: |
robot report --profile .github/report_profile.txt --input dfgfo.ttl --output report.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Run script to create ontologu `python scripts/create_ontology.py`
## Ontology contributions:
Contributions are welcome.

At every push or pull_request a [ROBOT report](http://robot.obolibrary.org/report) test will be run from [.github/workflows/main.yml](.github/workflows/main.yml).
At every push or pull_request a [ROBOT report](http://robot.obolibrary.org/report) and [ROBOT validate OWL DL profile](http://robot.obolibrary.org/validate-profile)test will be run from [.github/workflows/main.yml](.github/workflows/main.yml).



Expand Down
10 changes: 9 additions & 1 deletion dfgfo.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix terms: <http://purl.org/dc/terms/> .

dc:creator a owl:AnnotationProperty .

dc:description a owl:AnnotationProperty .

dc:title a owl:AnnotationProperty .

terms:license a owl:AnnotationProperty .

<https://github.com/tibonto/dfgfo> a owl:Ontology ;
dc:creator "André Castro",
"Deutsche Forschungsgemeinschaft (DFG)",
"Susanne Arndt" ;
dc:description "DFG Fachsystematik Ontology / DFG Classification of Subject Areas Ontology (DFGFO) encodes the DFG Classification of Subject Areas into an ontology, where each subject number are is enconded into a Class with subclass statements following the DFG Classification of Subject Areas hierarchy. Labels are provide German and English." ;
dc:title "DFG Classification of Subject Areas Ontology"@en ;
terms:license <https://creativecommons.org/licenses/by/4.0/> ;
<http://www.w3.org/2000/01/rdf-schema#comment:> "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service" .
rdfs:comment "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service" .

dfgfo:101-01 a owl:Class ;
rdfs:label "Ur- und Frühgeschichte (weltweit)"@de,
Expand Down
11 changes: 10 additions & 1 deletion metadata.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix obo: <http://purl.obolibrary.org/obo/> .


dc:creator rdf:type owl:AnnotationProperty .

dc:description rdf:type owl:AnnotationProperty .

dc:title rdf:type owl:AnnotationProperty .

terms:license rdf:type owl:AnnotationProperty .

<https://github.com/tibonto/dfgfo> rdf:type owl:Ontology ;
dc:creator "Deutsche Forschungsgemeinschaft (DFG)",
"André Castro",
"Susanne Arndt";
dc:description "DFG Fachsystematik Ontology / DFG Classification of Subject Areas Ontology (DFGFO) encodes the DFG Classification of Subject Areas into an ontology, where each subject number are is enconded into a Class with subclass statements following the DFG Classification of Subject Areas hierarchy. Labels are provide German and English.";
dc:title "DFG Classification of Subject Areas Ontology"@en ;
rdfs:comment: "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service" ;
rdfs:comment "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service" ;
terms:license <https://creativecommons.org/licenses/by/4.0/> .
# TODO: provide appropriate license - same license should go to github repo

0 comments on commit 699e7da

Please sign in to comment.