From 8041cfafcd920e7bb41d2d25638b1223adac7b78 Mon Sep 17 00:00:00 2001 From: Philipp Schneider <schneider.philipp@uni-muenster.de> Date: Fri, 31 Mar 2023 12:02:23 +0200 Subject: [PATCH] Rename entities ontology to entity --- config/config-map-tblArmItems.json | 2 +- ...l => digital-heraldry-ontology-entity.ttl} | 34 +++++++++---------- src/rdf-mappings/dho_namespaces.py | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) rename data/ontologies/{digital-heraldry-ontology-entities.ttl => digital-heraldry-ontology-entity.ttl} (77%) diff --git a/config/config-map-tblArmItems.json b/config/config-map-tblArmItems.json index fb9170f..8e6d285 100644 --- a/config/config-map-tblArmItems.json +++ b/config/config-map-tblArmItems.json @@ -7,7 +7,7 @@ "initial_instance_definitions": "src/rdf-mappings/initial_ontology_definitions.py", "_initial_instance_definitions": null, "existing_representation_ontology": "data/ontologies/digital-heraldry-ontology-representation.ttl", - "existing_entity_ontology": "data/ontologies/digital-heraldry-ontology-entities.ttl", + "existing_entity_ontology": "data/ontologies/digital-heraldry-ontology-entity.ttl", "_existing_ontology": "data/rdf-output/coat-of-arms-manuscript-provenances.ttl", "__existing_ontology": null, "create_research_dataset": true, diff --git a/data/ontologies/digital-heraldry-ontology-entities.ttl b/data/ontologies/digital-heraldry-ontology-entity.ttl similarity index 77% rename from data/ontologies/digital-heraldry-ontology-entities.ttl rename to data/ontologies/digital-heraldry-ontology-entity.ttl index fa15fc2..b9c3287 100644 --- a/data/ontologies/digital-heraldry-ontology-entities.ttl +++ b/data/ontologies/digital-heraldry-ontology-entity.ttl @@ -1,31 +1,31 @@ -@prefix : <http://digitalheraldry.org/digital-heraldry-ontology/entities#> . +@prefix : <http://digitalheraldry.org/digital-heraldry-ontology/entity#> . @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 dhoe: <http://digitalheraldry.org/digital-heraldry-ontology/entities#> . +@prefix dhoe: <http://digitalheraldry.org/digital-heraldry-ontology/entity#> . @prefix dhoh: <http://digitalheraldry.org/digital-heraldry-ontology/heraldry#> . @prefix dhor: <http://digitalheraldry.org/digital-heraldry-ontology/representation#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix vann: <http://purl.org/vocab/vann/> . @prefix dcterms: <http://purl.org/dc/terms/> . -@base <http://digitalheraldry.org/digital-heraldry-ontology/entities#> . - -<http://digitalheraldry.org/digital-heraldry-ontology/entities#> rdf:type owl:Ontology ; - owl:versionIRI <http://digitalheraldry.org/digital-heraldry-ontology/entities/0.1.0> ; - dcterms:creator "Philipp Schneider" , - "Torsten Hiltmann" ; - dcterms:description "The Digital Heraldry Entities Ontology is used to describe entities and their metadata that can be identified through coats of arms. It also enables linking an identification of a coat of arms (created with the Digital Heraldry Ontology) to a specific source in a specific context."@en ; - dcterms:license <https://creativecommons.org/licenses/by/4.0/> ; - dcterms:publisher "https://www.geschichte.hu-berlin.de/de/bereiche-und-lehrstuehle/digital-history" ; - dcterms:title "Digital Heraldry Objects Ontology" ; - vann:preferredNamespacePrefix "dhoe" . +@base <http://digitalheraldry.org/digital-heraldry-ontology/entity#> . + +<http://digitalheraldry.org/digital-heraldry-ontology/entity#> rdf:type owl:Ontology ; + owl:versionIRI <http://digitalheraldry.org/digital-heraldry-ontology/entity/0.1.0> ; + dcterms:creator "Philipp Schneider" , + "Torsten Hiltmann" ; + dcterms:description "The Digital Heraldry Entity Ontology is used to describe entities and their metadata that can be identified through coats of arms. It also enables linking an identification of a coat of arms (created with the Digital Heraldry Ontology) to a specific source in a specific context."@en ; + dcterms:license <https://creativecommons.org/licenses/by/4.0/> ; + dcterms:publisher "https://www.geschichte.hu-berlin.de/de/bereiche-und-lehrstuehle/digital-history" ; + dcterms:title "Digital Heraldry Objects Ontology" ; + vann:preferredNamespacePrefix "dhoe" . ################################################################# # Annotation properties ################################################################# -### http://digitalheraldry.org/digital-heraldry-ontology/entities#hasAnnotatorComment +### http://digitalheraldry.org/digital-heraldry-ontology/entity#hasAnnotatorComment dhoe:hasAnnotatorComment rdf:type owl:AnnotationProperty ; rdfs:comment "Comment in natural language, done by the human annotator responsable for the respective identification."@en ; rdfs:label "hasAnnotatorComment"@en ; @@ -61,14 +61,14 @@ vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty . # Object Properties ################################################################# -### http://digitalheraldry.org/digital-heraldry-ontology/entities#attributesCoATo +### http://digitalheraldry.org/digital-heraldry-ontology/entity#attributesCoATo dhoe:attributesCoATo rdf:type owl:ObjectProperty ; rdfs:domain dhor:DescriptionAct ; rdfs:range dhoe:IdentifiedEntity ; rdfs:label "attributesCoATo"@en . -### http://digitalheraldry.org/digital-heraldry-ontology/entities#hasPrimaryIdentification +### http://digitalheraldry.org/digital-heraldry-ontology/entity#hasPrimaryIdentification dhoe:hasPrimaryIdentification rdf:type owl:ObjectProperty ; rdfs:domain dhor:CoatOfArmsRepresentation ; rdfs:range dhoe:IdentifiedEntity ; @@ -79,7 +79,7 @@ dhoe:hasPrimaryIdentification rdf:type owl:ObjectProperty ; # Classes ################################################################# -### http://digitalheraldry.org/digital-heraldry-ontology/entities#IdentifiedEntity +### http://digitalheraldry.org/digital-heraldry-ontology/entity#IdentifiedEntity dhoe:IdentifiedEntity rdf:type owl:Class ; rdfs:label "IdentifiedEntity"@en . diff --git a/src/rdf-mappings/dho_namespaces.py b/src/rdf-mappings/dho_namespaces.py index 5631e53..b964585 100644 --- a/src/rdf-mappings/dho_namespaces.py +++ b/src/rdf-mappings/dho_namespaces.py @@ -12,7 +12,7 @@ dho_n = Namespace(dho_uri) dho_blazon_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/blazon#')) dho_rep_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/representation#')) dho_obj_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/objects#')) -dho_ent_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/entities#')) +dho_ent_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/entity#')) dho_data_n = Namespace(URIRef('http://digitalheraldry.org/digital-heraldry-ontology/data#')) def bind_namespaces(g): -- GitLab