The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SemanticWeb::Schema::ConstraintNode - The ConstraintNode type is provided to support usecases in which a node in a structured data graph is described with properties which appear to describe a single entity

VERSION

version v23.0.0

DESCRIPTION

The ConstraintNode type is provided to support usecases in which a node in a structured data graph is described with properties which appear to describe a single entity, but are being used in a situation where they serve a more abstract purpose. A SemanticWeb::Schema::ConstraintNode can be described using [[constraintProperty]] and [[numConstraints]]. These constraint properties can serve a variety of purposes, and their values may sometimes be understood to indicate sets of possible values rather than single, exact and specific values.

ATTRIBUTES

constraint_property

constraintProperty

Indicates a property used as a constraint. For example, in the definition of a SemanticWeb::Schema::StatisticalVariable. The value is a property, either from within Schema.org or from other compatible (e.g. RDF) systems such as DataCommons.org or Wikidata.org.

A constraint_property should be one of the following types:

InstanceOf['SemanticWeb::Schema::Property']
Str

_has_constraint_property

A predicate for the "constraint_property" attribute.

num_constraints

numConstraints

Indicates the number of constraints property values defined for a particular SemanticWeb::Schema::ConstraintNode such as SemanticWeb::Schema::StatisticalVariable. This helps applications understand if they have access to a sufficiently complete description of a SemanticWeb::Schema::StatisticalVariable or other construct that is defined using properties on template-style nodes.

A num_constraints should be one of the following types:

InstanceOf['SemanticWeb::Schema::Integer']

_has_num_constraints

A predicate for the "num_constraints" attribute.

SEE ALSO

SemanticWeb::Schema::Intangible

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2023 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)