Documentation/Quantitative values

= Representing Quantitative Values =

GoodRelations provides a flexible mechanism for representing quantitative values that has several nice features:
 * 1) It can handle point values and open and closed intervals with one mechanism.
 * 2) It supports arbitrary units of measurement (e.g. kilograms, miles, inches, seconds, decibel, ...).
 * 3) It supports value references, dependencies, and measurement meta-data (e.g. this value was measured at a speed of 80 km/h; this value was determined using the ABCD methodology).

Basics
to be added

Examples
A reasoner should expand a point value to

thanks to value being a subproperty of both minValue and maxValue - these subproperty axioms are not yet in schema.org, because at the time of the GoodRelations integration, there was no notion of subproperties in schema.org. The nice thing about this is that you can handle point values and intervals with the same queries - a search for a car with 3 seats will also find a car that has 2 - 4 seats, because you will simply search for a car with at least 3 seats).

This is suitable for all quantities except for datetime and date intervals (hours, seconds, months is fine thanks to respective unit codes for schema:unitCode).

For datetime and date intervals, I decided back then that dedicated pairs of properties like validFrom and validThrough were more useful.