From 6bf5b40990243b2f8d06c4dde2df42e6dc92b76a Mon Sep 17 00:00:00 2001 From: Daniel Hernandez Date: Sun, 22 Feb 2026 10:36:43 +0100 Subject: [PATCH] Add religion vocabulary to the ontology. --- data/ontology.ttl | 63 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) diff --git a/data/ontology.ttl b/data/ontology.ttl index 40745d7..20311b4 100644 --- a/data/ontology.ttl +++ b/data/ontology.ttl @@ -1,6 +1,8 @@ -@prefix owl: . -@prefix rdfs: . -@prefix tm: . +@prefix owl: . +@prefix rdfs: . +@prefix schema: . +@prefix xsd: . +@prefix tm: . a owl:Ontology ; rdfs:label "Theater Migrants Ontology"@en ; @@ -19,3 +21,58 @@ tm:DanielHernandez a schema:Person ; tm:Religion a owl:Class ; rdfs:label "Religion"@en ; rdfs:comment "A religion or religious tradition."@en . + +tm:ReligionAffiliation a owl:Class ; + rdfs:label "Religion Affiliation"@en ; + rdfs:comment "A record of a person's affiliation with a religion, optionally bounded by a time interval."@en . + +# Object properties + +tm:person a owl:ObjectProperty ; + rdfs:label "person"@en ; + rdfs:comment "The person associated with this religion affiliation."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range schema:Person . + +tm:religion a owl:ObjectProperty ; + rdfs:label "religion"@en ; + rdfs:comment "The religion the person is affiliated with."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range tm:Religion . + +# Datatype properties + +tm:denomination a owl:DatatypeProperty ; + rdfs:label "denomination"@en ; + rdfs:comment "The specific denomination within the religion."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:string . + +tm:dateStartFuzzy a owl:DatatypeProperty ; + rdfs:label "fuzzy start date"@en ; + rdfs:comment "A human-readable description of the start date when it cannot be expressed precisely."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:string . + +tm:dateStart a owl:DatatypeProperty ; + rdfs:label "start date"@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:date . + +tm:dateStartMax a owl:DatatypeProperty ; + rdfs:label "maximum start date"@en ; + rdfs:comment "The latest possible start date of the affiliation."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:string . + +tm:dateEndMin a owl:DatatypeProperty ; + rdfs:label "minimum end date"@en ; + rdfs:comment "The earliest possible end date of the affiliation."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:date . + +tm:dateEndMax a owl:DatatypeProperty ; + rdfs:label "maximum end date"@en ; + rdfs:comment "The latest possible end date of the affiliation."@en ; + rdfs:domain tm:ReligionAffiliation ; + rdfs:range xsd:date .