@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fibo-fnd-dt-bd: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> .
@prefix fibo-fnd-dt-fd: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/FinancialDates/> .
@prefix fibo-fnd-plc-loc: <https://spec.edmcouncil.org/fibo/ontology/FND/Places/Locations/> .
@prefix fibo-fnd-utl-av: <https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/> .
@prefix lcc-lr: <https://www.omg.org/spec/LCC/Languages/LanguageRepresentation/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix sm: <http://www.omg.org/techprocess/ab/SpecificationMetadata/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/>
    dct:abstract "This ontology extends definitions of date and schedule concepts from the FinancialDates ontology with concepts defining dates that may be adjusted when they fall on weekends or holidays as defined in a given business center, for use in other FIBO ontologies." ;
    dct:license "http://opensource.org/licenses/MIT"^^xsd:anyURI ;
    sm:contentLanguage "https://www.w3.org/TR/owl2-quick-reference/"^^xsd:anyURI ;
    sm:copyright "Copyright (c) 2014-2021 EDM Council, Inc.", "Copyright (c) 2014-2021 Object Management Group, Inc." ;
    sm:dependsOn "https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/FinancialDates/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Places/Locations/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Relations/Relations/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/"^^xsd:anyURI, "https://www.omg.org/spec/LCC/"^^xsd:anyURI ;
    sm:fileAbbreviation "fibo-fnd-dt-bd" ;
    sm:filename "BusinessDates.rdf" ;
    a owl:Ontology ;
    rdfs:label "Business Dates Ontology" ;
    owl:imports <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/DatesAndTimes/FinancialDates/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Places/Locations/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Relations/Relations/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Utilities/AnnotationVocabulary/>, <https://www.omg.org/spec/LCC/Languages/LanguageRepresentation/> ;
    owl:versionIRI <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/DatesAndTimes/BusinessDates/> ;
    skos:changeNote "The https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/ version of this ontology was revised by the FIBO FND 1.2 RTF in order to add definitions for business recurrence intervals such as the day of the month and week, and to revise the representation of the end of the month to correspond to the way that the other intervals are represented for use in parametric schedules.", "The https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/ version of this ontology was revised to better support definitions related to business day adjustments.", "The https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/ version of this ontology was revised to eliminate a remaining circular definition.", "The https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/ version of this ontology was revised to loosen domains on properties related to business day and day count (recurrence interval) conventions, eliminate a duplicate individual, normalize definitions to be ISO 704 compliant, eliminate duplication of concepts in LCC, move hasBusinessCenter to locations, where the class BusinessCenter is defined and merge countries with locations.", """This ontology was added to Foundations in advance of the December 2014 Long Beach meeting in support of the SEC specification.  It is also needed to provide temporal relationships for Ownership and Control.

These three ontologies are designed for use together:

   * FinancialDates  -- financial Dates and Schedules
   * BusinessDates -- business day adjustments
   * Occurrences    -- occurrences (events) and kinds of occurrences

They are modularized this way to minimize the ontological committments that are imposed upon ontologies that rely upon them.  Ontologies can import FinancialDates alone, or FinancialDates + BusinessDates, or FinancialDates + Occurrences, or all three together.""" ;
    fibo-fnd-utl-av:hasMaturityLevel fibo-fnd-utl-av:Release .

fibo-fnd-dt-bd:BusinessDayAdjustment
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day adjustment" ;
    rdfs:subClassOf fibo-fnd-dt-bd:Convention, [
        a owl:Restriction ;
        owl:onClass fibo-fnd-dt-bd:BusinessDayConvention ;
        owl:onProperty fibo-fnd-dt-bd:hasBusinessDayConvention ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-plc-loc:hasBusinessCenter ;
        owl:someValuesFrom fibo-fnd-plc-loc:BusinessCenter
    ] ;
    skos:definition "convention that specifies what happens when a date falls on a day that is a weekend or a holiday in one or more business centers" .

fibo-fnd-dt-bd:BusinessDayConvention
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day convention" ;
    rdfs:subClassOf fibo-fnd-dt-bd:Convention ;
    skos:definition "convention that enumerates the possible ways to handle a date that falls on a weekend or holiday" .

fibo-fnd-dt-bd:BusinessDayFollowing
    sm:normativeReference "FPML 5.1 \"BusinessDayConventionEnum\"" ;
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day following" ;
    skos:definition "convention specifying that a non-business date will be adjusted to the first following day that is a business day" .

fibo-fnd-dt-bd:BusinessDayModifiedFollowing
    sm:normativeReference "FPML 5.1 \"BusinessDayConventionEnum\"" ;
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day modified following" ;
    skos:definition "convention specifying that a non-business date will be adjusted to the first following day that is a business day unless that day falls in the next calendar month, in which case that date will be the first preceding day that is a calendar date" .

fibo-fnd-dt-bd:BusinessDayModifiedPreceding
    sm:normativeReference "FPML 5.1 \"BusinessDayConventionEnum\"" ;
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day modified preceding" ;
    skos:definition "convention specifying that a non-business date will be adjusted to the first preceding day that is a business day unless that day falls in the previous month, in which case that date will be the first following day that is a business day" .

fibo-fnd-dt-bd:BusinessDayNearest
    sm:normativeReference "FPML 5.1 \"BusinessDayConventionEnum\"" ;
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day nearest" ;
    skos:definition "convention specifying that a non-business date will be adjusted to the nearest day that is a business day -- i.e. if the non-business day falls on any day other than a Sunday or a Monday, it will be the first preceding day that is a business day, and will be the first following business day if it falls on a Sunday or a Monday" .

fibo-fnd-dt-bd:BusinessDayNone
    sm:normativeReference "FPML 5.1 \"BusinessDayConventionEnum\"" ;
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day none" ;
    skos:definition "convention specifying that a date will not be adjusted if it falls on a day that is not a business day" .

fibo-fnd-dt-bd:BusinessDayPreceding
    a owl:NamedIndividual, fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business day preceding" ;
    skos:definition "convention specifying that a date will be adjusted to the first previous day that is a business day" .

fibo-fnd-dt-bd:BusinessRecurrenceInterval
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business recurrence interval" ;
    rdfs:subClassOf fibo-fnd-dt-fd:RecurrenceInterval, [
        a owl:Restriction ;
        owl:onClass fibo-fnd-dt-bd:BusinessRecurrenceIntervalConvention ;
        owl:onProperty fibo-fnd-dt-bd:hasBusinessRecurrenceIntervalConvention ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ] ;
    skos:definition "recurrence interval that is defined per a specific convention that determines how recurring days should be handled" .

fibo-fnd-dt-bd:BusinessRecurrenceIntervalConvention
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "business recurrence interval convention" ;
    rdfs:subClassOf fibo-fnd-dt-bd:Convention ;
    skos:definition "convention that specifies how recurring days should be handled, such as the end of the month, a particular day of the month, a day of the week, or more specifically, a t-bill auction date" .

fibo-fnd-dt-bd:Convention
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "convention" ;
    skos:definition "widely accepted or established way of doing 'something' within some community of practice" .

fibo-fnd-dt-bd:DayOfMonth
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "day of month" ;
    rdfs:subClassOf fibo-fnd-dt-bd:BusinessRecurrenceInterval, [
        a owl:Restriction ;
        owl:onDataRange xsd:nonNegativeInteger ;
        owl:onProperty fibo-fnd-dt-fd:hasOrdinalNumber ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ] ;
    skos:definition "specific, recurring day of the month" .

fibo-fnd-dt-bd:DayOfWeek
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "day of the week" ;
    rdfs:subClassOf fibo-fnd-dt-bd:BusinessRecurrenceInterval ;
    owl:equivalentClass [
        a owl:Class ;
        owl:oneOf (fibo-fnd-dt-fd:Monday
            fibo-fnd-dt-fd:Tuesday
            fibo-fnd-dt-fd:Wednesday
            fibo-fnd-dt-fd:Thursday
            fibo-fnd-dt-fd:Friday
            fibo-fnd-dt-fd:Saturday
            fibo-fnd-dt-fd:Sunday
        )
    ] ;
    skos:definition "specific, recurring day of the week" .

fibo-fnd-dt-bd:EndOfMonth
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "end of the month" ;
    rdfs:subClassOf fibo-fnd-dt-bd:BusinessRecurrenceInterval ;
    skos:definition "the last day of a calendar month, irrespective of the length of the calendar month" .

fibo-fnd-dt-bd:hasBusinessDayAdjustment
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "has business day adjustment" ;
    rdfs:range fibo-fnd-dt-bd:BusinessDayAdjustment ;
    rdfs:subPropertyOf lcc-lr:has ;
    skos:definition "identifies a convention for adjustment of the business day for handling weekends and holidays" .

fibo-fnd-dt-bd:hasBusinessDayConvention
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "has business day convention" ;
    rdfs:range fibo-fnd-dt-bd:BusinessDayConvention ;
    rdfs:subPropertyOf lcc-lr:has ;
    skos:definition "identifies a convention regarding how a date should be handled when it falls on a day that is not a business day" .

fibo-fnd-dt-bd:hasBusinessRecurrenceIntervalConvention
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "has business recurrence interval convention" ;
    rdfs:range fibo-fnd-dt-bd:BusinessRecurrenceIntervalConvention ;
    rdfs:subPropertyOf lcc-lr:has ;
    skos:definition "identifies a convention regarding how certain recurring dates should be handled with respect to a given schedule, such as the end of the month" .

fibo-fnd-dt-bd:holdsDuring
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/> ;
    rdfs:label "holds during" ;
    rdfs:subPropertyOf fibo-fnd-dt-fd:hasDatePeriod ;
    skos:definition "specifies that some condition or state is true (holds) during a specified date period" .

fibo-fnd-dt-fd:CalculatedDate
    a owl:Class ;
    rdfs:subClassOf [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onClass fibo-fnd-dt-bd:BusinessDayAdjustment ;
        owl:onProperty fibo-fnd-dt-bd:hasBusinessDayAdjustment
    ] .

fibo-fnd-dt-fd:RegularSchedule
    a owl:Class ;
    rdfs:subClassOf [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onClass fibo-fnd-dt-bd:BusinessDayAdjustment ;
        owl:onProperty fibo-fnd-dt-bd:hasBusinessDayAdjustment
    ] .

