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 v5.0.1

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

_has_max_value

A predicate for the "max_value" attribute.

measurement_technique

measurementTechnique

A technique or technology used in a Dataset (or DataDownload, DataCatalog), corresponding to the method used for measuring the corresponding variable(s) (described using variableMeasured). This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but rather as a high level summary for dataset discovery.

For example, if variableMeasured is: molecule concentration, measurementTechnique could be: "mass spectrometry" or "nmr spectroscopy" or "colorimetry" or "immunofluorescence".

If the variableMeasured is "depression rating", the measurementTechnique could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory".

If there are several variableMeasured properties recorded for some given data object, use a PropertyValue for each variableMeasured and attach the corresponding measurementTechnique.

A measurement_technique should be one of the following types:

Str

_has_measurement_technique

A predicate for the "measurement_technique" attribute.

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

_has_min_value

A predicate for the "min_value" attribute.

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

_has_property_id

A predicate for the "property_id" attribute.

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

_has_unit_code

A predicate for the "unit_code" attribute.

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

_has_unit_text

A predicate for the "unit_text" attribute.

value

The value of the quantitative value or property value node.

  • For QuantitativeValue and MonetaryAmount, the recommended type for values is 'Number'.
  • For PropertyValue, it can be 'Text;', 'Number', 'Boolean', or 'StructuredValue'.
  • Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.
  • Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.

A value should be one of the following types:

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

_has_value

A predicate for the "value" attribute.

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::Enumeration']
InstanceOf['SemanticWeb::Schema::PropertyValue']
InstanceOf['SemanticWeb::Schema::QualitativeValue']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::StructuredValue']

_has_value_reference

A predicate for the "value_reference" attribute.

SEE ALSO

SemanticWeb::Schema::StructuredValue

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-2019 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)