IRIStem

A value of type IRIStem consists of one or more IRIs (or Compact IRIs) for matching against longer IRIs. For example, “http://lod.nal.usda.gov/nalt/” is an IRIStem that matches “http://lod.nal.usda.gov/nalt/10129”.

More than one IRI stem can be provided by separating the IRIs with blank spaces. IRI stems are always output as a list, even if just one IRI stem is provided.

The following example says that values of the “dcterms:subject” property are expected to be values of the NAL Thesaurus.

propertyID

valueConstraint

valueConstraintType

dcterms:subject

http://lod.nal.usda.gov/nalt/

IRIStem

Interpreted as:

DCTAP instance
    Shape
        shapeID                  default
        Statement Template
            propertyID           dcterms:subject
            valueConstraint      ['http://lod.nal.usda.gov/nalt/']
            valueConstraintType  iristem

This module will superficially check whether the value constraint looks like an IRI and, if not, emit a warning.

propertyID

valueConstraint

valueConstraintType

dcterms:subject

nalt

IRIStem

Interpreted as:

DCTAP instance
    Shape
        shapeID                  default
        Statement Template
            propertyID           dcterms:subject
            valueConstraint      ['nalt']
            valueConstraintType  iristem

WARNING [default/valueConstraint] Value constraint type is 'iristem', but 'nalt' does not look like an IRI or Compact IRI.