@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#> .

qudt:Sequence a rdfs:Class,
        owl:Class,
        sh:NodeShape ;
    rdfs:label "Sequence" ;
    dcterms:description """
  <p>A <em>Sequence</em> is an enumerated collection of objects in which repetitions are allowed. 
  Like a set, it contains members (also called elements, or terms). 
  The number of elements (possibly infinite) is called the length of the sequence.
  </p>
  <p>Unlike a set, order matters, and exactly the same elements can appear multiple times at different positions in the sequence. 
  Formally, a sequence can be defined as a function whose domain is either the set of the natural numbers (for infinite sequences) or the set of the first n natural numbers (for a sequence of finite length n). 
  </p>
  <p>The position of an element in a sequence is its rank or index; it is the integer from which the element is the image. 
  It depends on the context or of a specific convention, if the first element has index 0 or 1. [Wikipedia]
  </p>
  """^^rdf:HTML ;
    rdfs:isDefinedBy <http://qudt.org/3.2.1/schema/datatype>,
        <http://qudt.org/3.2.1/schema/shacl/datatype> ;
    rdfs:subClassOf qudt:Collection .

