Ranges

If you want to constraint a property, you can define ranges.

This page discusses:

Range Axioms

The rdfs:Range construct defines the resources that are valid objects for a predicate. In addition, multiple range axioms can be defined in which case they are interpreted as stating that the range of the property is the intersection of all ranges.

Range

A range defines the values that are valid for a given predicate. Ranges can be restricted using named classes and enumerated lists of values.

The enumerated list can be described:

  • Using a named class and with the owl:oneOf construct.

  • Through an anonymous class. A value of the oneOf predicate must be an instance of one of the listed objects pertaining to the Country class.

Note: When working with literal values, use the owl:DataRange and the rdf:List constructs. A value of the <rdf:List> predicate must be a literal of one of the listed string values.

Note: Multiple range axioms can be combined for a predicate. In this case, combine them using AND.

You can also use a range to extend an existing predicate as shown below.