@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

qudt:OrdinalScale a rdfs:Class,
        owl:Class,
        sh:NodeShape ;
    rdfs:label "Ordinal scale" ;
    dcterms:description """
  <p>The ordinal type allows for rank order (1st, 2nd, 3rd, etc.) by which data can be sorted,
   but still does not allow for relative degree of difference between them. 
  Examples include, on one hand, dichotomous data with dichotomous (or dichotomized) values such as:
   'sick' vs. 'healthy' when measuring health, 'guilty' vs. 'innocent' when making judgments in courts,
   'wrong/false' vs. 'right/true' when measuring truth value, and, on the other hand, non-dichotomous data consisting of a spectrum of values, such as:
   'completely agree', 'mostly agree', 'mostly disagree', 'completely disagree' when measuring opinion.
  </p>"""^^rdf:HTML ;
    qudt:informativeReference "https://en.wikipedia.org/wiki/Level_of_measurement"^^xsd:anyURI ;
    rdfs:isDefinedBy <http://qudt.org/3.2.1/schema/qudt>,
        <http://qudt.org/3.2.1/schema/shacl/qudt> ;
    rdfs:seeAlso qudt:IntervalScale,
        qudt:NominalScale,
        qudt:RatioScale ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:nonNegativeInteger ;
            owl:onProperty qudt:order ],
        [ a owl:Restriction ;
            owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
            owl:onProperty qudt:order ],
        [ a owl:Restriction ;
            owl:minCardinality "1"^^xsd:nonNegativeInteger ;
            owl:onProperty qudt:order ],
        [ a owl:Restriction ;
            owl:cardinality "1"^^xsd:nonNegativeInteger ;
            owl:onProperty qudt:order ],
        qudt:Scale ;
    sh:property qudt:OrdinalScale-order .

