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::PropertyValue - A property-value pair, e

VERSION

version v0.0.3

DESCRIPTION

A property-value pair, e.g. representing a feature of a product or place. Use the 'name' property for the name of the property. If there is an additional human-readable version of the value, put that into the 'description' property.

Always use specific schema.org properties when a) they exist and b) you can populate them. Using PropertyValue as a substitute will typically not trigger the same effect as using the original, specific property.

ATTRIBUTES

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

property_id

propertyID

A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be (1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific id of the property), or (3) a URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry). Standards bodies should promote a standard prefix for the identifiers of properties from their standards.

A property_id should be one of the following types:

Str

unit_code

unitCode

The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.

A unit_code should be one of the following types:

Str

unit_text

unitText

A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for unitCode.

A unit_text should be one of the following types:

Str

value

The value of the quantitative value or property value node.

A value should be one of the following types:

Num
InstanceOf['SemanticWeb::Schema::StructuredValue']
Bool
Str

value_reference

valueReference

A pointer to a secondary value that provides additional information on the original value, e.g. a reference temperature.

A value_reference should be one of the following types:

InstanceOf['SemanticWeb::Schema::QualitativeValue']
InstanceOf['SemanticWeb::Schema::StructuredValue']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::Enumeration']
InstanceOf['SemanticWeb::Schema::PropertyValue']

SEE ALSO

SemanticWeb::Schema::StructuredValue

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)