qudt:Enumeration leaf node


URI

http://qudt.org/schema/qudt/Enumeration

Label

Enumeration

Description


<p>An <em>Enumeration</em> is a set of literals from which a single value is selected.
Each literal can have a tag as an integer within a standard encoding appropriate to the range of integer values.
Consistency of enumeration types will allow them, and the enumerated values, to be referred to unambiguously either through symbolic name or encoding.
Enumerated values are also controlled vocabularies and as such need to be standardized.
Without this consistency enumeration literals can be stated differently and result in data conflicts and misinterpretations.
</p>
<p>The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier.
An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection.
Enumerations are also subclasses of <em>Scalar Datatype</em>.
This allows them to be used as the reference of a datatype specification.
</p>

Superclasses (1)

Targets (1)

Property Constraints (3)

Focus nodes of this shape (qudt:Enumeration) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
qudt:abbreviation <p>An abbreviation for a unit is a short ASCII string that is used in place of the full name for the unit in contexts where non-ASCII characters would be problematic, or where using the abbreviation will enhance readability. When a power of abase unit needs to be expressed, such as squares this can be done using abbreviations rather than symbols. For example, <em>sq ft</em> means <em>square foot</em>, and <em>cu ft</em> means <em>cubic foot</em>. </p> 0 1 xsd:string
qudt:default The default element in an enumeration 0 1 qudt:EnumeratedValue
qudt:element An element of an enumeration 1 * qudt:EnumeratedValue

Implementation

@prefix dcterms: <http://purl.org/dc/terms/> .
@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:Enumeration a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Enumeration" ;
    dcterms:description """
  <p>An <em>Enumeration</em> is a set of literals from which a single value is selected. 
  Each literal can have a tag as an integer within a standard encoding appropriate to the range of integer values. 
  Consistency of enumeration types will allow them, and the enumerated values, to be referred to unambiguously either through symbolic name or encoding. 
  Enumerated values are also controlled vocabularies and as such need to be standardized. 
  Without this consistency enumeration literals can be stated differently and result in  data conflicts and misinterpretations.
  </p>
  <p>The tags are a set of positive whole numbers, not necessarily contiguous and having no numerical significance, each corresponding to the associated literal identifier. 
  An order attribute can also be given on the enumeration elements. An enumeration can itself be a member of an enumeration. This allows enumerations to be enumerated in a selection. 
  Enumerations are also subclasses of <em>Scalar Datatype</em>. 
  This allows them to be used as the reference of a datatype specification.
  </p>
  """^^rdf:HTML ;
    qudt:dbpediaMatch "http://dbpedia.org/resource/Enumeration"^^xsd:anyURI ;
    qudt:informativeReference "https://en.wikipedia.org/wiki/Enumerated_type"^^xsd:anyURI,
        "https://en.wikipedia.org/wiki/Enumeration"^^xsd:anyURI ;
    rdfs:isDefinedBy <http://qudt.org/3.5.2/schema/shacl/qudt> ;
    rdfs:subClassOf qudt:Concept ;
    sh:property qudt:Enumeration-abbreviation,
        qudt:Enumeration-default,
        qudt:Enumeration-element .