@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fibo-fnd-agr-ctr: <https://spec.edmcouncil.org/fibo/ontology/FND/Agreements/Contracts/> .
@prefix fibo-fnd-arr-asmt: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Assessments/> .
@prefix fibo-fnd-arr-cls: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/ClassificationSchemes/> .
@prefix fibo-fnd-arr-doc: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Documents/> .
@prefix fibo-fnd-arr-rep: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Reporting/> .
@prefix fibo-fnd-arr-rt: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> .
@prefix fibo-fnd-dt-fd: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/FinancialDates/> .
@prefix fibo-fnd-dt-oc: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/Occurrences/> .
@prefix fibo-fnd-org-fm: <https://spec.edmcouncil.org/fibo/ontology/FND/Organizations/FormalOrganizations/> .
@prefix fibo-fnd-pty-pty: <https://spec.edmcouncil.org/fibo/ontology/FND/Parties/Parties/> .
@prefix fibo-fnd-rel-rel: <https://spec.edmcouncil.org/fibo/ontology/FND/Relations/Relations/> .
@prefix fibo-fnd-utl-av: <https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/> .
@prefix lcc-cr: <https://www.omg.org/spec/LCC/Countries/CountryRepresentation/> .
@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/Arrangements/Ratings/>
    dct:abstract "This ontology defines abstract concepts for representation of ratings and rating schemes, particularly for ratings describing aspects of business performance, credit worthiness, and investment quality at a high level." ;
    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) 2019-2021 EDM Council, Inc.", "Copyright (c) 2019-2021 Object Management Group, Inc." ;
    sm:dependsOn "https://spec.edmcouncil.org/fibo/ontology/FND/Agreements/Contracts/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Assessments/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/ClassificationSchemes/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Documents/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Reporting/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/BusinessDates/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/FinancialDates/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/Occurrences/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Organizations/FormalOrganizations/"^^xsd:anyURI, "https://spec.edmcouncil.org/fibo/ontology/FND/Parties/Parties/"^^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-arr-rt" ;
    sm:filename "Ratings.rdf" ;
    a owl:Ontology ;
    rdfs:label "Ratings Ontology" ;
    owl:imports <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Agreements/Contracts/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Arrangements/Assessments/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Arrangements/ClassificationSchemes/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Arrangements/Documents/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Arrangements/Reporting/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/DatesAndTimes/BusinessDates/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/DatesAndTimes/FinancialDates/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/DatesAndTimes/Occurrences/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Organizations/FormalOrganizations/>, <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Parties/Parties/>, <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/Countries/CountryRepresentation/>, <https://www.omg.org/spec/LCC/Languages/LanguageRepresentation/> ;
    owl:versionIRI <https://spec.edmcouncil.org/fibo/ontology/master/latest/FND/Arrangements/Ratings/> ;
    skos:changeNote "The https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings.rdf version of this ontology was revised to add properties indicating the 'best' and 'worst' scores on a given scale.", "The https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings.rdf version of this ontology was revised to eliminate circular definitions.", "The https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings.rdf version of this ontology was revised to eliminate duplication with LCC.", "The https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings.rdf version of this ontology was revised to replace hasDefinition with isDefinedIn to clarify intent.", "The https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings.rdf version of this ontology was revised to replace uses of hasTag in Relations with hasTag from LCC, as the more complex union of datatypes in the Relations concept is not needed here." ;
    fibo-fnd-utl-av:hasMaturityLevel fibo-fnd-utl-av:Release .

fibo-fnd-arr-rt:QualitativeRatingScore
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "qualitative rating score" ;
    rdfs:subClassOf fibo-fnd-arr-rt:RatingScore, lcc-lr:CodeElement, [
        a owl:Restriction ;
        owl:onDataRange xsd:string ;
        owl:onProperty lcc-lr:hasTag ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ] ;
    skos:definition "rating score that is represented as a qualitative code with respect to some rating scale" ;
    fibo-fnd-utl-av:explanatoryNote "Ratings for the creditworthiness of securities are often qualitative, rather than quantitative, such as a triple-A (i.e., AAA). Many ratings for products and businesses on the Internet are also qualitative, such as 5-star ratings for something." .

fibo-fnd-arr-rt:QuantitativeRatingScore
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "quantitative rating score" ;
    rdfs:subClassOf fibo-fnd-arr-rt:RatingScore, [
        a owl:Restriction ;
        owl:onDataRange xsd:decimal ;
        owl:onProperty fibo-fnd-arr-rt:hasMeasureWithinScale ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ] ;
    skos:definition "rating score that is a simple numeric value on some scale, such as a credit rating for an individual" .

fibo-fnd-arr-rt:Rating
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating" ;
    rdfs:subClassOf fibo-fnd-arr-asmt:Opinion, [
        a owl:Restriction ;
        owl:cardinality "1"^^xsd:nonNegativeInteger ;
        owl:onProperty fibo-fnd-arr-rt:rates
    ], [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onClass fibo-fnd-dt-fd:Date ;
        owl:onProperty fibo-fnd-agr-ctr:hasEffectiveDate
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-arr-rt:RatingIssuer ;
        owl:onProperty fibo-fnd-rel-rel:isIssuedBy ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-arr-rt:RatingParty ;
        owl:onProperty fibo-fnd-rel-rel:isGeneratedBy ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-dt-fd:Date ;
        owl:onProperty fibo-fnd-arr-doc:hasDateOfIssuance ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-arr-rt:hasRatingScore ;
        owl:someValuesFrom fibo-fnd-arr-rt:RatingScore
    ] ;
    skos:definition "standing of something at a particular time, indicated by at least one scores with respect to some scale, based on an assessment by some party" .

fibo-fnd-arr-rt:RatingAgency
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating agency" ;
    rdfs:subClassOf fibo-fnd-arr-rt:RatingIssuer, fibo-fnd-arr-rt:RatingScalePublisher, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:hasIdentity ;
        owl:someValuesFrom fibo-fnd-org-fm:FormalOrganization
    ] ;
    skos:definition "rating issuer that is also a rating scale publisher, frequently but not always an independent rating service" .

fibo-fnd-arr-rt:RatingAssessmentActivity
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating assessment activity" ;
    rdfs:subClassOf fibo-fnd-arr-asmt:AssessmentActivity, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:isProvidedBy ;
        owl:someValuesFrom fibo-fnd-arr-rt:RatingParty
    ] ;
    skos:definition "assessment activity resulting in a grade or score and potentially a report describing the score and the process used to determine that score" .

fibo-fnd-arr-rt:RatingAssessmentEvent
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating assessment event" ;
    rdfs:subClassOf fibo-fnd-arr-asmt:AssessmentEvent, [
        a owl:Restriction ;
        owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
        owl:onClass fibo-fnd-arr-rt:RatingReport ;
        owl:onProperty fibo-fnd-dt-oc:hasOutput
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-arr-rt:RatingAssessmentActivity ;
        owl:onProperty fibo-fnd-dt-oc:exemplifies ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-dt-oc:hasOutput ;
        owl:someValuesFrom fibo-fnd-arr-rt:Rating
    ], [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:isProvidedBy ;
        owl:someValuesFrom fibo-fnd-arr-rt:RatingParty
    ] ;
    skos:definition "individual assessment resulting in a grade or score and potentially a report describing the score" .

fibo-fnd-arr-rt:RatingIssuer
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating issuer" ;
    rdfs:subClassOf fibo-fnd-pty-pty:PartyInRole, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:issues ;
        owl:someValuesFrom fibo-fnd-arr-rt:Rating
    ] ;
    skos:definition "party that is responsible for issuing ratings" ;
    fibo-fnd-utl-av:explanatoryNote "A rating issuer is frequently, but not always the rating scale publisher. A rating issuer may delegate responsibility for producing a rating to a rating party." .

fibo-fnd-arr-rt:RatingParty
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating party" ;
    rdfs:subClassOf fibo-fnd-pty-pty:PartyInRole, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:generates ;
        owl:someValuesFrom fibo-fnd-arr-rt:Rating
    ] ;
    skos:definition "person, organization or group that analyzes some aspect of something and develops a rating" .

fibo-fnd-arr-rt:RatingReport
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating report" ;
    rdfs:subClassOf fibo-fnd-arr-asmt:AssessmentReport, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-arr-rep:reportsOn ;
        owl:someValuesFrom fibo-fnd-arr-rt:Rating
    ] ;
    skos:definition "report describing a set of ratings" .

fibo-fnd-arr-rt:RatingScale
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating scale" ;
    rdfs:subClassOf fibo-fnd-arr-cls:ClassificationScheme, [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onDataRange xsd:decimal ;
        owl:onProperty fibo-fnd-arr-rt:hasBestMeasure
    ], [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onDataRange xsd:decimal ;
        owl:onProperty fibo-fnd-arr-rt:hasWorstMeasure
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-arr-rt:RatingScalePublisher ;
        owl:onProperty fibo-fnd-rel-rel:isManagedBy ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ], [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:defines ;
        owl:someValuesFrom fibo-fnd-arr-rt:RatingScore
    ] ;
    skos:definition "system for assigning a value to something according to some scale with respect to quality, a standard, or ranking" .

fibo-fnd-arr-rt:RatingScalePublisher
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating scale publisher" ;
    rdfs:subClassOf fibo-fnd-pty-pty:PartyInRole, [
        a owl:Restriction ;
        owl:onProperty fibo-fnd-rel-rel:manages ;
        owl:someValuesFrom fibo-fnd-arr-rt:RatingScale
    ] ;
    skos:definition "party responsible for managing one or more rating schemes and potentially publishing ratings based on those schemes" ;
    fibo-fnd-utl-av:explanatoryNote "Rating scale publishers are frequently also rating agencies." .

fibo-fnd-arr-rt:RatingScore
    a owl:Class ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rating score" ;
    rdfs:subClassOf fibo-fnd-arr-cls:Classifier, [
        a owl:Restriction ;
        owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
        owl:onDataRange xsd:decimal ;
        owl:onProperty fibo-fnd-arr-rt:hasMeasureWithinScale
    ], [
        a owl:Restriction ;
        owl:onClass fibo-fnd-arr-rt:RatingScale ;
        owl:onProperty fibo-fnd-rel-rel:isDefinedIn ;
        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
    ] ;
    skos:definition "grade, classification, or ranking of for something in accordance with some rating scale" ;
    fibo-fnd-utl-av:explanatoryNote "The meaning and methodology for determining a rating score for the rating of something is determined by a rating issuer. A given rating may apply at some point in time, as a part of a lifecycle or process, or generally.  Typically ratings reflect an assessment of a state of affairs at some point in time." .

fibo-fnd-arr-rt:hasBestMeasure
    a owl:DatatypeProperty ;
    rdfs:domain fibo-fnd-arr-rt:RatingScale ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "has best measure" ;
    rdfs:range xsd:decimal ;
    skos:definition "indicates the 'best' (most desirable) possible value for a rating score's hasMeasureWithinScale property" ;
    fibo-fnd-utl-av:explanatoryNote "Note that hasBestMeasure and hasWorstMeasure may be used together to determine the direction and range of a scale's measure values." .

fibo-fnd-arr-rt:hasMeasureWithinScale
    a owl:DatatypeProperty ;
    rdfs:domain fibo-fnd-arr-rt:RatingScore ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "has measure within scale" ;
    rdfs:range xsd:decimal ;
    skos:definition "indicates a relative, numeric measure or ordering on a rating scale" .

fibo-fnd-arr-rt:hasRating
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "has rating" ;
    rdfs:range fibo-fnd-arr-rt:Rating ;
    rdfs:subPropertyOf lcc-cr:isClassifiedBy ;
    owl:inverseOf fibo-fnd-arr-rt:rates ;
    skos:definition "indicates the rating assigned to a thing based on a grade or score according to a particular rating scale" .

fibo-fnd-arr-rt:hasRatingScore
    a owl:ObjectProperty ;
    rdfs:domain fibo-fnd-arr-rt:Rating ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "has rating score" ;
    rdfs:range fibo-fnd-arr-rt:RatingScore ;
    rdfs:subPropertyOf lcc-lr:has ;
    skos:definition "indicates the grade or score associated with a rating with respect to a particular rating scale" .

fibo-fnd-arr-rt:hasWorstMeasure
    a owl:DatatypeProperty ;
    rdfs:domain fibo-fnd-arr-rt:RatingScale ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "has worst measure" ;
    rdfs:range xsd:decimal ;
    skos:definition "indicates the 'worst' (least desirable) possible value for a rating score's hasMeasureWithinScale property" ;
    fibo-fnd-utl-av:explanatoryNote "Note that hasBestMeasure and hasWorstMeasure may be used together to determine the direction and range of a scale's measure values." .

fibo-fnd-arr-rt:producesRatingsFor
    a owl:ObjectProperty ;
    rdfs:domain fibo-fnd-arr-rt:RatingParty ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "produces ratings for" ;
    rdfs:range fibo-fnd-arr-rt:RatingIssuer ;
    rdfs:subPropertyOf fibo-fnd-rel-rel:produces ;
    owl:inverseOf fibo-fnd-arr-rt:usesRatingParty ;
    skos:definition "issuer for which ratings are produced or posted through" .

fibo-fnd-arr-rt:rates
    a owl:ObjectProperty ;
    rdfs:domain fibo-fnd-arr-rt:Rating ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "rates" ;
    rdfs:subPropertyOf lcc-cr:classifies ;
    skos:definition "indicates the instrument, party or something else to which a rating applies" .

fibo-fnd-arr-rt:usesRatingParty
    a owl:ObjectProperty ;
    rdfs:domain fibo-fnd-arr-rt:RatingIssuer ;
    rdfs:isDefinedBy <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Ratings/> ;
    rdfs:label "uses rating performer" ;
    rdfs:range fibo-fnd-arr-rt:RatingParty ;
    rdfs:subPropertyOf fibo-fnd-rel-rel:isProducedBy ;
    skos:definition "rating performer an issuer uses to assess ratings" .

