@prefix dct:   <http://purl.org/dc/terms/> .
@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 gleif-base: <https://www.gleif.org/ontology/Base/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix voaf:  <http://purl.org/vocommons/voaf#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix lcc-cr: <https://www.omg.org/spec/LCC/Countries/CountryRepresentation/> .
@prefix vann:  <http://purl.org/vocab/vann/> .

gleif-base:hasNameLegal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name legal" ;
        rdfs:subPropertyOf  gleif-base:hasName ;
        skos:altLabel       "has legal name" ;
        skos:definition     "The name used to refer to an person or organization in legal communications." ;
        skos:prefLabel      "has name legal" .

gleif-base:hasAbbreviationLocal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has abbreviation local" ;
        rdfs:subPropertyOf  gleif-base:hasAbbreviation ;
        skos:definition     "An abbreviation using a language local to the entity identified; may be English." .

gleif-base:hasNameLocal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name local" ;
        rdfs:subPropertyOf  gleif-base:hasName ;
        skos:altLabel       "has local name" ;
        skos:definition     "A name in a language local to the entity identified; may be English." ;
        skos:prefLabel      "has name local" .

gleif-base:hasNameASCIIPreferred
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name ASCII preferred" ;
        rdfs:subPropertyOf  gleif-base:hasNameLegal , gleif-base:hasNameASCII ;
        skos:altLabel       "has preferred transliterated legal name" ;
        skos:definition     "Legal name of the entity transliterated to ASCII characters, provided by the entity for this purpose." ;
        skos:prefLabel      "has name ASCII preferred" .

gleif-base:hasAddressHeadquarters
        a                   owl:ObjectProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address headquarters" ;
        rdfs:subPropertyOf  gleif-base:hasAddress ;
        skos:definition     "An address of the headquarters of the Entity." .

gleif-base:isQuantifiedBy
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:LegalEntityRelationship ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "is quantified by" ;
        rdfs:range        xsd:decimal ;
        skos:definition   "Any additional quantitative properties that help to categorize the relationship." .

gleif-base:hasGeographicRegion
        a                 owl:ObjectProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has geographic region" ;
        rdfs:range        lcc-cr:GeographicRegion ;
        skos:definition   "The country or region where something is located." .

gleif-base:hasTarget  a   owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:domain       gleif-base:LegalEntityRelationship ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has target" ;
        rdfs:range        gleif-base:Entity ;
        skos:definition   "The entity that plays the target of the directed relationship." .

gleif-base:LegalPerson
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "legal person" ;
        rdfs:subClassOf   gleif-base:Entity ;
        skos:definition   "Any entity which can incur legal obligation and can be sued at law." .

gleif-base:hasSuccessor
        a                 owl:ObjectProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has successor" ;
        rdfs:range        gleif-base:Entity ;
        skos:definition   "The surviving/new entity which continues/replaces this registration." .

gleif-base:EntityStatus
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "entity status" ;
        owl:oneOf         ( gleif-base:EntityStatusActive gleif-base:EntityStatusInactive ) ;
        skos:definition   "The operational and/or legal registration status of the entity (may be ACTIVE or INACTIVE)" .

gleif-base:hasEnd  a      owl:DatatypeProperty ;
        rdfs:domain       gleif-base:Period ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has end"@en ;
        rdfs:range        xsd:dateTime ;
        skos:definition   "The end time of a period." .

gleif-base:hasNameTradingOrOperating
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    <https://www.gleif.org/ontology/base/> ;
        rdfs:label          "has name trading or operating" ;
        rdfs:subPropertyOf  gleif-base:hasNameAdditional ;
        skos:altLabel       "operating under" , "has trading or operating name" , "trading as" , "brand name" , "doing business as" ;
        skos:definition     "A 'trading as', 'brand name' or 'operating under' name currently used by this entity in addition to, but not replacing, the (primary) legal, official registered name" ;
        skos:prefLabel      "has name trading or operating" .

gleif-base:Identifier
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "identifier" ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onDataRange           xsd:string ;
                            owl:onProperty            gleif-base:hasTag ;
                            owl:qualifiedCardinality  "1"^^xsd:nonNegativeInteger
                          ] ;
        rdfs:subClassOf   [ a                owl:Restriction ;
                            owl:cardinality  "1"^^xsd:nonNegativeInteger ;
                            owl:onProperty   gleif-base:identifies
                          ] ;
        skos:definition   "Sequence of characters, capable of uniquely identifying that with which it is associated, within a specified context." .

gleif-base:hasRegistrationStatus
        a                 owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has registration status" ;
        rdfs:range        gleif-base:RegistrationStatus ;
        skos:definition   "indicates the status of a specific registration, such as for an identifier or license" .

gleif-base:EntityStatusInactive
        a                  gleif-base:EntityStatus , owl:NamedIndividual ;
        rdfs:isDefinedBy   gleif-base: ;
        rdfs:label         "inactive" ;
        skos:definition    "It has been determined that the entity that was assigned the LEI is no longer legally registered and/or operating, whether as a result of business closure, acquisition by or merger with another (or new) entity, or determination of illegitimacy." ;
        gleif-base:hasTag  "INACTIVE" .

gleif-base:hasAbbreviationTransliterated
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has abbreviation transliterated" ;
        rdfs:subPropertyOf  gleif-base:hasAbbreviation ;
        skos:definition     "An abbreviation transliterated into a Western alphabet." .

gleif-base:hasPostalCode
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has postal code" ;
        skos:definition   "The (optional) postal code of this address as specified by the local postal service." .

gleif-base:isManagedBy
        a                 owl:ObjectProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "is managed by" ;
        skos:definition   "Relates something to another thing that has some role in directing its affairs." .

gleif-base:hasNameLegalLocal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name legal local" ;
        rdfs:subPropertyOf  gleif-base:hasNameLocal , gleif-base:hasNameLegal , skos:prefLabel ;
        skos:altLabel       "has local legal name" ;
        skos:definition     "The name used to refer to an person or organization in legal communications in local alphabet, which may be English." ;
        skos:prefLabel      "has name legal local" .

gleif-base:records  a     owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:domain       gleif-base:RegistryEntry ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "records" ;
        skos:definition   "The thing which the registry entry is a record of." .

gleif-base:hasCoverageArea
        a                 owl:ObjectProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has coverage area" ;
        rdfs:range        lcc-cr:GeographicRegion ;
        skos:definition   "Indicates a geographic region in which some service is provided, or to which some policy applies, or in which something is available." .

[ a            owl:AllDifferent ;
  owl:members  ( gleif-base:EntityExpirationReasonCorporateAction gleif-base:EntityExpirationReasonDissolved gleif-base:EntityExpirationReasonOther )
] .

gleif-base:hasNameTransliterated
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name transliterated" ;
        rdfs:subPropertyOf  gleif-base:hasName , skos:altLabel ;
        skos:altLabel       "has transliterated other names" , "has transliterated name" ;
        skos:definition     "The name used to refer to a person or organization, converted from original to western text. Not generally the legal name." ;
        skos:prefLabel      "has name transliterated" .

gleif-base:PhysicalAddressASCII
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "physical address ASCII" ;
        rdfs:subClassOf   gleif-base:PhysicalAddress ;
        skos:definition   "An address transliterated to ASCII characters." .

gleif-base:hasStart  a    owl:DatatypeProperty ;
        rdfs:domain       gleif-base:Period ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has start"@en ;
        rdfs:range        xsd:dateTime ;
        skos:definition   "The start time of a period." .

gleif-base:hasFirstAddressLine
        a                       owl:DatatypeProperty ;
        rdfs:domain             gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy        gleif-base: ;
        rdfs:label              "has first address line" ;
        owl:equivalentProperty  gleif-base:hasAddressLine1 ;
        skos:definition         "The mandatory first address line element." .

gleif-base:hasMailRouting
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "mail routing" ;
        skos:definition   "Optional free text address line to hold content from other address lines containing explicit routing information (this element's presence indicates that this address is a routing / 'care of' address)." .

gleif-base:hasNameAdditional
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name additional" ;
        rdfs:subPropertyOf  gleif-base:hasName , skos:altLabel ;
        skos:altLabel       "has other name" ;
        skos:definition     "The name used to refer to an person or organization informally." ;
        skos:prefLabel      "has name additional" .

gleif-base:EntityExpirationReason
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "entity expiration reason" ;
        owl:oneOf         ( gleif-base:EntityExpirationReasonCorporateAction gleif-base:EntityExpirationReasonDissolved gleif-base:EntityExpirationReasonOther ) ;
        skos:definition   "The reason that an entity ceased to exist and/or operate." .

gleif-base:LegalEntityRelationship
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "legal entity relationship" ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onClass               gleif-base:Entity ;
                            owl:onProperty            gleif-base:hasTarget ;
                            owl:qualifiedCardinality  "1"^^xsd:nonNegativeInteger
                          ] ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onClass               gleif-base:Entity ;
                            owl:onProperty            gleif-base:hasSource ;
                            owl:qualifiedCardinality  "1"^^xsd:nonNegativeInteger
                          ] ;
        skos:definition   "abstract superclass to represent a reified directed relationship" .

gleif-base:EntityExpirationReasonOther
        a                  gleif-base:EntityExpirationReason ;
        rdfs:isDefinedBy   gleif-base: ;
        rdfs:label         "other" ;
        skos:definition    "The reason for expiry is neither of dissolved nor corporate action." ;
        gleif-base:hasTag  "OTHER" .

gleif-base:isRegisteredIn
        a                 owl:ObjectProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "is registered in" ;
        rdfs:range        gleif-base:Registry ;
        skos:definition   "indicates the registry that something is registered in" .

gleif-base:hasRegion  a     owl:ObjectProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has region" ;
        rdfs:range          lcc-cr:CountrySubdivision ;
        rdfs:subPropertyOf  gleif-base:hasGeographicRegion ;
        skos:altLabel       "has subdivision" , "has state" ;
        skos:definition     "The (optional) region or subdivision (state, province, region, etc.) based on the 4- to 6-character ISO 3166-2 region code" ;
        skos:prefLabel      "has region" .

gleif-base:hasNameTranslatedEnglish
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name translated English" ;
        rdfs:subPropertyOf  gleif-base:hasNameASCII ;
        skos:altLabel       "has international name" , "has English name" ;
        skos:definition     "The name used to refer to a person or organization, translated into English. Transliterated to ASCII by definition." ;
        skos:prefLabel      "has name translated English" .

gleif-base:hasSuccessorName
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has successor name" ;
        skos:definition   "The name of the successor entity." .

gleif-base:hasAddressLine4
        a                   owl:DatatypeProperty ;
        rdfs:domain         gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address line 4" ;
        rdfs:subPropertyOf  gleif-base:hasAdditionalAddressLine ;
        skos:definition     "The fourth line of the one to three optional additional address line elements." ;
        skos:note           "This element SHALL be omitted if address line 3 is omitted." .

gleif-base:RegistrationStatus
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "registration status" ;
        skos:definition   "A lifecycle stage indicating the status of a given registration of something, such as a business or legal entity." .

gleif-base:hasNameASCIIAutomatic
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name ASCII automatic" ;
        rdfs:subPropertyOf  gleif-base:hasNameLegal , gleif-base:hasNameASCII ;
        skos:altLabel       "has auto ASCII transliterated legal name" ;
        skos:definition     "Legal name of the entity transliterated to ASCII characters, auto-transliterated by the managing LOU." ;
        skos:prefLabel      "has name ASCII automatic" .

gleif-base:hasWebsite
        a                 owl:DatatypeProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has website" ;
        rdfs:range        xsd:anyURI ;
        skos:definition   "A website associated with something, including but not limited to an organization." .

gleif-base:hasAbbreviation
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has abbreviation" ;
        rdfs:subPropertyOf  skos:altLabel ;
        skos:definition     "An abbreviation for the entity identified." .

gleif-base:RegistrationAuthority
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "registration authority" ;
        rdfs:subClassOf   gleif-base:Entity ;
        skos:altLabel     "RA" ;
        skos:definition   "An organization that is responsible for maintaining a registry and provides registration services." ;
        skos:prefLabel    "registration authority" .

gleif-base:hasLegalJurisdiction
        a                 owl:ObjectProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has legal jurisdiction" ;
        rdfs:range        lcc-cr:GeographicRegion ;
        skos:definition   "The jurisdiction of legal formation and registration of the entity (and upon which the LegalForm data element is also dependent). " .

gleif-base:hasCity  a     owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has city" ;
        skos:definition   "The mandatory name of the city." .

gleif-base:hasAddressLine3
        a                   owl:DatatypeProperty ;
        rdfs:domain         gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address line 3" ;
        rdfs:subPropertyOf  gleif-base:hasAdditionalAddressLine ;
        skos:definition     "The third line of the one to three optional additional address line elements." ;
        skos:note           "This element SHALL be omitted if address line 2 is omitted." .

gleif-base:hasInitialRegistrationDate
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has initial registration date" ;
        rdfs:range          xsd:dateTime ;
        rdfs:subPropertyOf  dct:created ;
        skos:definition     "The date on which an identifier or other registered item was first registered." .

gleif-base:hasName  a       owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name" ;
        rdfs:subPropertyOf  rdfs:label ;
        skos:definition     "Associates a name, reference name, or appellation with an individual resource." .

gleif-base:hasNameAdditionalLocal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name additional local" ;
        rdfs:subPropertyOf  gleif-base:hasNameLocal , gleif-base:hasNameAdditional ;
        skos:definition     "Registered name of the entity in an alternative language in the legal jurisdiction in which the entity is registered." .

gleif-base:hasAddressTransliterated
        a                   owl:ObjectProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address transliterated" ;
        rdfs:range          gleif-base:PhysicalAddressASCII ;
        rdfs:subPropertyOf  gleif-base:hasAddress ;
        skos:definition     "An address which has been converted from original to western text." .

gleif-base:hasNextRenewalDate
        a                 owl:DatatypeProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has next renewal date" ;
        rdfs:range        xsd:dateTime ;
        skos:definition   "The date by which a specific registration in the registry must be renewed or updated." .

gleif-base:Period  a      owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "period"@en ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onDataRange           xsd:dateTime ;
                            owl:onProperty            gleif-base:hasStart ;
                            owl:qualifiedCardinality  "1"
                          ] ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:maxQualifiedCardinality  "1" ;
                            owl:onDataRange              xsd:dateTime ;
                            owl:onProperty               gleif-base:hasEnd
                          ] ;
        skos:definition   "A period of time, with at least a start time, and possibly an end." .

gleif-base:GLEIF  a                   gleif-base:RegistrationAuthority ;
        rdfs:isDefinedBy              gleif-base: ;
        gleif-base:hasLegalName       "Global Legal Entity Identifier Foundation" ;
        gleif-base:hasNameLegalLocal  "Global Legal Entity Identifier Foundation"@en .

gleif-base:hasEntityExpirationReason
        a                 owl:ObjectProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has entity expiration reason" ;
        rdfs:range        gleif-base:EntityExpirationReason ;
        skos:definition   "The reason that an entity ceased to exist and/or operate." .

gleif-base:hasCountry
        a                   owl:ObjectProperty ;
        rdfs:domain         gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has country" ;
        rdfs:range          lcc-cr:Country ;
        rdfs:subPropertyOf  gleif-base:hasGeographicRegion ;
        skos:definition     "The country, based on the 2-character ISO 3166-1 country code." .

gleif-base:hasAdditionalAddressLine
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has additional address line" ;
        skos:definition   "Means to collect the one to three specifically-named optional additional address line elements." .

gleif-base:isQualifiedBy
        a                 owl:ObjectProperty ;
        rdfs:domain       gleif-base:LegalEntityRelationship ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "is qualified by" ;
        skos:definition   "Any additional qualitative properties that help to categorize the relationship." .

gleif-base:Entity  a      owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "entity" ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:maxQualifiedCardinality  "1"^^xsd:nonNegativeInteger ;
                            owl:onDataRange              xsd:dateTime ;
                            owl:onProperty               gleif-base:hasEntityExpirationDate
                          ] ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onClass               gleif-base:EntityStatus ;
                            owl:onProperty            gleif-base:hasEntityStatus ;
                            owl:qualifiedCardinality  "1"^^xsd:nonNegativeInteger
                          ] ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:maxQualifiedCardinality  "1"^^xsd:nonNegativeInteger ;
                            owl:onClass                  gleif-base:EntityExpirationReason ;
                            owl:onProperty               gleif-base:hasEntityExpirationReason
                          ] ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:minQualifiedCardinality  "0"^^xsd:nonNegativeInteger ;
                            owl:onClass                  lcc-cr:GeographicRegion ;
                            owl:onProperty               gleif-base:hasLegalJurisdiction
                          ] ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:minQualifiedCardinality  "0"^^xsd:nonNegativeInteger ;
                            owl:onClass                  gleif-base:Entity ;
                            owl:onProperty               gleif-base:hasSuccessor
                          ] ;
        rdfs:subClassOf   [ a                owl:Restriction ;
                            owl:cardinality  "1"^^xsd:nonNegativeInteger ;
                            owl:onProperty   gleif-base:hasNameLegalLocal
                          ] ;
        skos:definition   "A partnership, corporation, or other organization having the capacity to negotiate contracts, assume financial obligations, and pay off debts, organized under the laws of some jurisdiction." .

gleif-base:RegistryEntry
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "registry entry" ;
        skos:definition   "An entry in a registry that specifies something about the thing that is recorded." .

gleif-base:hasNamePreviousLegal
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    <https://www.gleif.org/ontology/base/> ;
        rdfs:label          "has name previous legal" ;
        rdfs:subPropertyOf  gleif-base:hasNameAdditional ;
        skos:definition     "A primary legal name previously used by this entity." .

gleif-base:hasAddressLine2
        a                   owl:DatatypeProperty ;
        rdfs:domain         gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address line 2" ;
        rdfs:subPropertyOf  gleif-base:hasAdditionalAddressLine ;
        skos:definition     "The second line of the one to three optional additional address line elements." .

[ a            owl:AllDifferent ;
  owl:members  ( gleif-base:EntityStatusActive gleif-base:EntityStatusInactive )
] .

gleif-base:hasEntityExpirationDate
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has entity expiration date" ;
        rdfs:range        xsd:dateTime ;
        skos:definition   "The date that the entity ceased to operate, whether due to dissolution, merger or acquisition." .

gleif-base:hasSource  a   owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:domain       gleif-base:LegalEntityRelationship ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has source" ;
        rdfs:range        gleif-base:Entity ;
        skos:definition   "The entity that is the source of the directed relationship." .

gleif-base:PhysicalAddress
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "physical address"@en ;
        rdfs:subClassOf   [ a                owl:Restriction ;
                            owl:cardinality  "1" ;
                            owl:onProperty   gleif-base:hasAddressLine1
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasAddressLine3
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasMailRouting
                          ] ;
        rdfs:subClassOf   [ a                owl:Restriction ;
                            owl:cardinality  "1" ;
                            owl:onProperty   gleif-base:hasCity
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasAddressNumber
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasAddressNumberWithinBuilding
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasAddressLine4
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasAddressLine2
                          ] ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:maxCardinality  "1" ;
                            owl:onProperty      gleif-base:hasPostalCode
                          ] ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onClass               lcc-cr:Country ;
                            owl:onProperty            gleif-base:hasCountry ;
                            owl:qualifiedCardinality  "1"
                          ] ;
        rdfs:subClassOf   [ a                            owl:Restriction ;
                            owl:maxQualifiedCardinality  "1" ;
                            owl:onClass                  lcc-cr:Region ;
                            owl:onProperty               gleif-base:hasRegion
                          ] ;
        skos:definition   "a physical address where communications can be addressed, papers served or representatives located for any kind of organization or person" ;
        skos:note         "An address is a collection of information, presented in a mostly fixed format, used for describing the location of a building, apartment, or other structure or a plot of land, generally using political boundaries and street names as references, along with other identifiers such as house or apartment numbers.  Some addresses also contain special codes to aid routing of mail and packages, such as a ZIP code or post code. (Wikipedia)" .

gleif-base:hasLastUpdateDate
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has last modification date" ;
        rdfs:range          xsd:dateTime ;
        rdfs:subPropertyOf  dct:modified ;
        skos:definition     "The date that the detail of a specific registration in the registry was last revised." .

gleif-base:hasAddress
        a                 owl:ObjectProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has address" ;
        rdfs:range        gleif-base:PhysicalAddress ;
        skos:definition   "Has a means by which the entity may be located or contacted or may receive correspondence." .

gleif-base:hasAddressLegal
        a                   owl:ObjectProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has address legal" ;
        rdfs:subPropertyOf  gleif-base:hasAddress ;
        skos:definition     "An address of the entity as recorded in the registration of the entity in its legal jurisdiction." .

gleif-base:hasAddressNumber
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has address number" ;
        skos:definition   "Optional, additional structured version of an external house number, or range of numbers, contained in one of the address line elements." .

gleif-base:EntityExpirationReasonCorporateAction
        a                  gleif-base:EntityExpirationReason ;
        rdfs:isDefinedBy   gleif-base: ;
        rdfs:label         "corporate action" ;
        skos:definition    "The entity was acquired or merged with another entity." ;
        gleif-base:hasTag  "CORPORATE_ACTION" .

gleif-base:EntityExpirationReasonDissolved
        a                  gleif-base:EntityExpirationReason ;
        rdfs:isDefinedBy   gleif-base: ;
        rdfs:label         "dissolved" ;
        skos:definition    "The entity ceased to operate." ;
        gleif-base:hasTag  "DISSOLVED" .

gleif-base:identifies
        a                 owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "identifies" ;
        skos:definition   "The relationship between an identifier and the thing it uniquely identifies." .

gleif-base:EntityStatusActive
        a                  gleif-base:EntityStatus , owl:NamedIndividual ;
        rdfs:isDefinedBy   gleif-base: ;
        rdfs:label         "active" ;
        skos:definition    "As of the last report or update, the entity reported that it was legally registered and operating." ;
        gleif-base:hasTag  "ACTIVE" .

gleif-base:hasAddressNumberWithinBuilding
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has address number within building" ;
        skos:definition   "Optional, additional structured version of an internal location number, or range of numbers, contained in one of the address line elements." .

gleif-base:hasNameASCII
        a                   owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has name ASCII" ;
        rdfs:subPropertyOf  gleif-base:hasNameTransliterated ;
        skos:altLabel       "has ASCII name" ;
        skos:definition     "The name used to refer to a person or organization in 7 bit ASCII text (ISO 646); also valid UNICODE (ISO 10646)." ;
        skos:prefLabel      "has name ASCII" .

gleif-base:hasTag  a        owl:FunctionalProperty , owl:DatatypeProperty ;
        rdfs:isDefinedBy    gleif-base: ;
        rdfs:label          "has tag" ;
        rdfs:range          xsd:string ;
        rdfs:subPropertyOf  skos:notation ;
        skos:definition     "Has a unique combination of alphanumeric characters or binary representation corresponding to the identifier, code, or other element to which it applies." .

gleif-base:hasAddressLine1
        a                 owl:DatatypeProperty ;
        rdfs:domain       gleif-base:PhysicalAddress ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has address line 1" ;
        skos:definition   "The mandatory first address line element." .

gleif-base:Registry  a    owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "registry" ;
        rdfs:subClassOf   [ a                         owl:Restriction ;
                            owl:onClass               gleif-base:Entity ;
                            owl:onProperty            gleif-base:isManagedBy ;
                            owl:qualifiedCardinality  "1"^^xsd:nonNegativeInteger
                          ] ;
        skos:definition   "A system, typically an information system, that records the registration of items." .

gleif-base:RegistryIdentifier
        a                 owl:Class ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "registry identifier" ;
        rdfs:subClassOf   gleif-base:Identifier ;
        rdfs:subClassOf   [ a                   owl:Restriction ;
                            owl:onProperty      gleif-base:isRegisteredIn ;
                            owl:someValuesFrom  gleif-base:Registry
                          ] ;
        skos:definition   "An identifier associated with an entry in a registry, i.e., one that provides an index to the registry for the recorded item." .

gleif-base:  a                         owl:Ontology , voaf:Vocabulary ;
        rdfs:label                     "GLEIF Base Ontology"@en ;
        dct:abstract                   "Ontology defining generic concepts for reuse by other Global Legal Entity Identifier Foundation (GLEIF) ontologies. It defines generic classes for (legal) Entities and their relationships and statuses; and generic properties for different types of name and address. It makes use of the OMG Languages Countries and Codes (LCC) ontology (based on the ISO 3166 standard) for country and region information."@en ;
        dct:contributor                <https://www.linkedin.com/in/peterivett/> , <http://purl.org/bryon> , <http://www.workingontologist.com> ;
        dct:creator                    gleif-base:GLEIF ;
        dct:issued                     "2019-02-01T00:00:00+00:00"^^xsd:dateTime ;
        dct:license                    "https://www.gleif.org/en/meta/lei-data-terms-of-use/"^^xsd:anyURI ;
        dct:rights                     "Copyright (c) 2019 Global Legal Entity Identifier Foundation (GLEIF)" ;
        dct:rightsHolder               gleif-base:GLEIF ;
        dct:source                     "https://www.gleif.org/en/about-lei/common-data-file-format/lei-cdf-format/lei-cdf-format-version-2-1"^^xsd:anyURI ;
        dct:title                      "Global Legal Entity Identifier Foundation Base Ontology"@en ;
        vann:preferredNamespacePrefix  "gleif-base" ;
        vann:preferredNamespaceUri     "https://www.gleif.org/ontology/Base/" ;
        owl:imports                    lcc-cr: ;
        owl:versionIRI                 <https://www.gleif.org/ontology/Base-v1.0/Base/> .

gleif-base:hasEntityStatus
        a                 owl:ObjectProperty , owl:FunctionalProperty ;
        rdfs:domain       gleif-base:Entity ;
        rdfs:isDefinedBy  gleif-base: ;
        rdfs:label        "has entity status" ;
        rdfs:range        gleif-base:EntityStatus ;
        skos:definition   "Indicates the status of the entity (i.e., active, inactive)." .
