Built-Ins
- motivation
- extend SWRL 0.5 to allow calculations and comparisons
- expected uses
- ontology translation (e.g. unit conversion)
- discount rules
- ...
- approach
- decided to focus on side-effect free builtins
- reviewed builtins provided by other rule systems (JESS, cwm, etc.) and languages
- re-used significant portions of
XQuery 1.0 and XPath 2.0 Functions and Operators
- couldn't directly use URIs due to
lack of namespace for op:
- eliminated sequence operations (for now)
- decided to model builtins as logical conditions to be satisfied rather than
functions returning results
- allowed use of same builtins as constructors and accessors
- full list of SWRL builtins is available
here
- acknowledgement
- Said Tabet was a major contributor to the builtins effort