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)

Shapes (1)

Usage

Instances of qudt:Enumeration can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of qudt:Enumeration can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
qudt:Enumeration
qudt:abbreviation rdf:Property <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 rdf:Property The default element in an enumeration 0 1 qudt:EnumeratedValue --
qudt:element rdf:Property An element of an enumeration 1 * qudt:EnumeratedValue --
qudt:Concept
dcterms:description rdf:Property 0 * --
dcterms:isReplacedBy rdf:Property 0 1 --
dtype:code -- 0 * --
qudt:abbreviation rdf:Property <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:deprecated rdf:Property 0 1 xsd:boolean --
qudt:deprecatedInVersion rdf:Property Version number of the first QUDT release in which an entity was deprecated. 0 1 xsd:string
sh:pattern ^\d+\.\d+\.\d+$
--
qudt:exactMatch owl:ObjectProperty 0 * qudt:Concept --
qudt:guidance rdf:Property 0 * rdf:HTML --
qudt:hasRule rdf:Property 0 * qudt:Rule --
qudt:id rdf:Property <p>The "qudt:id" is an identifier string that uniquely identifies a QUDT concept. The identifier is constructed using a prefix. For example, units are coded using the pattern: "UCCCENNNN", where "CCC" is a numeric code or a category and "NNNN" is a digit string for a member element of that category. </p> <p>For scaled units there may be an addition field that has the format "QNN" where "NN" is a digit string representing an exponent power, and "Q" is a qualifier that indicates with the code "P" that the power is a positive decimal exponent, or the code "N" for a negative decimal exponent, or the code "B" for binary positive exponents. </p> 0 1 xsd:string --
qudt:plainTextDescription rdf:Property A plain text description is used to provide a description with only simple ASCII characters for cases where LaTeX , HTML or other markup would not be appropriate. 0 * --
rdf:type -- 1 * --

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 .