Skip to content

Sorts

A sort defines the value type used by individuals and predicate arguments.

<sort name="room_type"/>
<sort name="album_name" dynamic="true"/>

name is required. dynamic="true" allows the runtime to introduce individuals of that sort that are not declared statically. XML Boolean values are lowercase true and false.

Built-in sorts include boolean, integer, real, datetime, string, person_name, image, webview, and domain. Explicitly declare custom sorts in the ontology; declaration order does not matter. An undeclared referenced custom sort is added as a static sort and produces a warning. See predicates and individuals.