@prefix owl:    <http://www.w3.org/2002/07/owl#> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix xsd:    <http://www.w3.org/2001/XMLSchema#> .
@prefix tm:     <https://daniel.degu.cl/data/theather-migrants/ontology.ttl#> .

<https://daniel.degu.cl/data/theather-migrants/ontology.ttl> a owl:Ontology ;
  rdfs:label "Theater Migrants Ontology"@en ;
  dct:creator tm:DanielHernandez .

tm:DanielHernandez a schema:Person ;
  schema:identifier [
    a schema:PropertyValue ;
    schema:propertyID "ORCID" ;
    schema:value "0000-0002-7896-0875" ] ;
  schema:familyName "Hernandez"@en ;
  schema:givenName "Daniel"@en ;
  schema:sameAs wd:Q57243435 .

# Classes

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 .
