@prefix on: <https://test-vocab.trade-commons.org/object-nature/> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ts: <https://test-vocab.trade-commons.org/term-status/> .
@prefix unece: <https://test-vocab.trade-commons.org/> .
@prefix unece-mod: <https://test-vocab.trade-commons.org/module/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

unece:addressCountry a owl:ObjectProperty ;
    rdfs:label "country"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:closeMatch schema:addressCountry ;
    skos:definition "The country of an address, as an ISO 3166-1 code."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes unece:country-id ;
    unece:termStatus ts:proposed .

unece:addressLocality a owl:DatatypeProperty ;
    rdfs:label "locality"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The locality (city or town) of an address."@en ;
    skos:exactMatch schema:addressLocality ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:addressRegion a owl:DatatypeProperty ;
    rdfs:label "region"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The region (state, province or country subdivision) of an address."@en ;
    skos:exactMatch schema:addressRegion ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:addressTypeCode a owl:ObjectProperty ;
    rdfs:label "address type code"@en ;
    rdfs:comment "added from BSP (default-keep re-triage)"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A code specifying the type of this trade address, such as business address or home address."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes unece:address-type-code-list ;
    unece:termStatus ts:proposed .

unece:attentionOf a owl:DatatypeProperty ;
    rdfs:label "attention of"@en ;
    rdfs:comment "restored from BSP (default-keep re-triage)"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The name, expressed as text, of a person or department in the organization to whom incoming mail is marked with words such as 'for the attention of' or 'FAO' or 'ATTN' for this trade address."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:careOf a owl:DatatypeProperty ;
    rdfs:label "care of"@en ;
    rdfs:comment "restored from BSP (default-keep re-triage)"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The name, expressed as text, of a person or organization at this trade address to whom incoming mail is marked with words such as 'care of' or 'C/O'."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:departmentName a owl:DatatypeProperty ;
    rdfs:label "department name"@en ;
    rdfs:comment "restored from BSP (default-keep re-triage)"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A name, expressed as text, of a department within an organization."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:geoCoordinates a owl:ObjectProperty ;
    rdfs:label "geo coordinates"@en ;
    rdfs:comment "added from BSP (default-keep re-triage)"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The geographical coordinates of this address or location."@en ;
    schema:domainIncludes unece:Address,
        unece:Location ;
    schema:rangeIncludes unece:GeoCoordinates ;
    unece:termStatus ts:proposed .

unece:localitySubdivisionName a owl:DatatypeProperty ;
    rdfs:label "locality subdivision name"@en ;
    rdfs:comment "reshaped from BSP citySubDivisionName"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A name, expressed as text, of a sub-division of a city for this trade address, for example a district or borough."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:postOfficeBoxNumber a owl:DatatypeProperty ;
    rdfs:label "post office box number"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The post office box number of an address."@en ;
    skos:exactMatch schema:postOfficeBoxNumber ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:postalCode a owl:DatatypeProperty ;
    rdfs:label "postal code"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The postal code of an address."@en ;
    skos:exactMatch schema:postalCode ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:streetAddress a owl:DatatypeProperty ;
    rdfs:label "street address"@en ;
    rdfs:comment "Reshaped from BSP streetName and freeForm, replacing those and the five lineOne to lineFive properties. It holds whatever the structured components - locality, region, postal code, country - do not, over one or more lines. For example: Level 3, 21 Example Street. Or: Apartment 4B, Beispielhaus, Musterstrasse 17. Named streetAddress rather than addressDetails because the latter reads as the whole address, where what is meant is only the unstructured remainder."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:closeMatch schema:streetAddress ;
    skos:definition "The part of an address not carried by the structured components: typically the street name and number, and any building name, unit, level or floor."@en ;
    schema:domainIncludes unece:Address ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:Address a owl:Class ;
    rdfs:label "Address"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:closeMatch schema:PostalAddress ;
    skos:definition "A postal/physical address of a party or location."@en ;
    unece:objectNature on:value ;
    unece:termStatus ts:proposed .

