Skip to content

Commit

Permalink
Merge pull request #27 from tibonto/10-change-namespace-url-to-be-res…
Browse files Browse the repository at this point in the history
…olvable

10 change namespace url to be resolvable
  • Loading branch information
SArndt-TIB authored Aug 22, 2024
2 parents 64e3963 + 6cbf16b commit 44a3603
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ We decided to build upon this work and build and RDF based ontology, for the *DF
## Ontology

* **Ontology TTL**: [dfgfo.ttl](./dfgfo.ttl)
* **Ontology IRI**: <https://github.com/tibonto/dfgfo/>
* **Ontology PURL**: <https://raw.githubusercontent.com/tibonto/DFG-Fachsystematik-Ontology/main/dfgfo.ttl>
* **Ontology PURL**: <https://w3id.org/dfgfo/2024>
* **ontology prefix/id**: `dfgfo`

![screen capture of classes hierarchy in protege](./docs/dfgfo-hierarchies.png)
Expand Down
11 changes: 8 additions & 3 deletions dfgfo.ttl
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dfgfo: <https://github.com/tibonto/dfgfo/> .
@prefix dfgfo: <https://w3id.org/dfgfo/2024/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


dc:creator a owl:AnnotationProperty .

Expand All @@ -17,7 +19,7 @@ skos:altLabel a owl:AnnotationProperty .

skos:closeMatch a owl:ObjectProperty .

<https://github.com/tibonto/dfgfo> a owl:Ontology ;
<https://w3id.org/dfgfo/2024> a owl:Ontology ;
dc:creator "André Castro",
"Deutsche Forschungsgemeinschaft (DFG)",
"Susanne Arndt" ;
Expand All @@ -27,7 +29,9 @@ skos:closeMatch a owl:ObjectProperty .
dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
rdfs:comment "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service"@de,
"DFG Fachsystematik - Ontology wurde zur Integration in den TIB Terminology Service erstellt"@de,
"DFG Fachsystematik Ontology / DFG Classification of Subject Areas Ontology (DFGFO) is aligned with GBV DFG2024 via skos:closeMatch relations. The two semantic artifacts were developed separately, but both teams strive towards alignment. While DFGO defines terms as owl:Class instances, GBV defines them as skos:Concept. More details on GBV DFG2024 at http://uri.gbv.de/terminology/dfg/"@en .
"DFG Fachsystematik Ontology / DFG Classification of Subject Areas Ontology (DFGFO) is aligned with GBV DFG2024 via skos:closeMatch relations. The two semantic artifacts were developed separately, but both teams strive towards alignment. While DFGO defines terms as owl:Class instances, GBV defines them as skos:Concept. More details on GBV DFG2024 at http://uri.gbv.de/terminology/dfg/"@en ;
owl:versionIRI dfgfo: ;
owl:versionInfo "2024-2028"^^xsd:string .

dfgfo:111-01 a owl:Class ;
rdfs:label "Prehistory and World Archaeology"@en ;
Expand Down Expand Up @@ -1715,3 +1719,4 @@ dfgfo:222 a owl:Class ;
skos:altLabel "Medizin"@de ;
skos:closeMatch <http://uri.gbv.de/terminology/dfg2024/222> .


9 changes: 6 additions & 3 deletions metadata.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


dc:creator rdf:type owl:AnnotationProperty .
Expand All @@ -16,10 +17,9 @@ dc:title rdf:type owl:AnnotationProperty .
terms:license rdf:type owl:AnnotationProperty .

skos:altLabel rdf:type owl:AnnotationProperty .

skos:closeMatch rdf:type owl:ObjectProperty .

<https://github.com/tibonto/dfgfo> rdf:type owl:Ontology ;
<https://w3id.org/dfgfo/2024> rdf:type owl:Ontology ;
dc:creator "Deutsche Forschungsgemeinschaft (DFG)",
"André Castro",
"Susanne Arndt";
Expand All @@ -28,6 +28,9 @@ skos:closeMatch rdf:type owl:ObjectProperty .
dc:title "DFG Fachsystematik - Ontologie - 2024-2028"@de ;
rdfs:comment "DFG Classification of Subject Areas Ontology is being created as part of the TIB Terminology Service"@de ;
rdfs:comment "DFG Fachsystematik - Ontology wurde zur Integration in den TIB Terminology Service erstellt"@de ;
terms:license <https://creativecommons.org/licenses/by/4.0/> ;
terms:license <https://creativecommons.org/licenses/by/4.0/> ;
owl:versionInfo "2024-2028"^^xsd:string ;
owl:versionIRI dfgfo: ;
rdfs:comment "DFG Fachsystematik Ontology / DFG Classification of Subject Areas Ontology (DFGFO) is aligned with GBV DFG2024 via skos:closeMatch relations. The two semantic artifacts were developed separately, but both teams strive towards alignment. While DFGO defines terms as owl:Class instances, GBV defines them as skos:Concept. More details on GBV DFG2024 at http://uri.gbv.de/terminology/dfg/"@en .


2 changes: 1 addition & 1 deletion scripts/create_ontology.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
g_metadata.parse(str(dfg_onto_metadata_fn.absolute()))

g_classes = Graph()
ns_str = 'https://github.com/tibonto/dfgfo/'
ns_str = 'https://w3id.org/dfgfo/2024/'
namespace = Namespace(ns_str)

g_classes.namespace_manager.bind('owl', 'http://www.w3.org/2002/07/owl#', override=False)
Expand Down
3 changes: 3 additions & 0 deletions w3id/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# w3ids for DFGFO

You can find the w3id specification for DFGFO at <https://github.com/perma-id/w3id.org/tree/master/dfgfo>.

0 comments on commit 44a3603

Please sign in to comment.