valueDataType

The DCTAP model was designed for compatibility with the RDF model. In the RDF model, literal values can be tagged with a datatype that marks the value as a date, string, decimal number, and the like. The most commonly used datatypes are defined in the W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes specification.

Because datatypes are identified by IRI, this module issues a warning if a non-IRI keyword is encountered. Users not interested in compatibility with RDF can safely ignore such a warning.

propertyID

valueDataType

dc:creator

xsd:string

dct:date

Date

Interpreted as:

DCTAP instance
    Shape
        shapeID                  default
        Statement Template
            propertyID           dc:creator
            valueDataType        xsd:string
        Statement Template
            propertyID           dct:date
            valueDataType        Date

WARNING [default/valueDataType] 'Date' is not an IRI or Compact IRI.

Datatypes are used only with literal values, so if a node is of type “URI”, “IRI”, or “BNode” and any datatype is provided, this will trigger a warning.

Note that if a URI is meant to be processed as a string, the node type should be “Literal”.

propertyID

valueNodeType

valueDataType

dcterms:creator

IRI

xsd:string

dcterms:subject

BNODE

xsd:string

Interpreted, with a warning, as:

DCTAP instance
    Shape
        shapeID                  default
        Statement Template
            propertyID           dcterms:creator
            valueNodeType        iri
            valueDataType        xsd:string
        Statement Template
            propertyID           dcterms:subject
            valueNodeType        bnode
            valueDataType        xsd:string

WARNING [default/valueDataType] Datatypes are only for literals, so node type should not be 'iri'.
WARNING [default/valueDataType] Datatypes are only for literals, so node type should not be 'bnode'.