Built-Ins


Contents


8. Built-Ins

The built-ins for OO jDREW are based on the SWRL builtins. Although the goal is to implement the complete set of SWRL built-ins, not all a currently implemented. Unimplemented built-ins are currently marked with [ unimplemented ]. Date and Time types are currently not implemented, therefore any details dealing with dates and times are not currently implemented. Any differences from the SWRL built-ins are also noted in the this document.

While Swrl built-ins are identified using the http://www.w3.org/2003/11/swrlb namespace, no name space is used when using these builtins in OO jDREW. Additionally, the builtin type Integer is used in place of xsd:int.

8.1. Built-Ins for Comparisons

8.2. Math Built-Ins

The following built-ins are defined for various numeric types (Integer and Real currently). For the relation to be satisfied the arguments all have to belong to some numeric type for which the relation is defined.

8.3. Built-Ins for Boolean Values

8.4. Built-Ins for Strings

The following built-ins are defined for strings (only), i.e., not untyped literals with language tags.

[ unimplemented ]8.5. Built-Ins for Date, Time and Duration

The following built-ins are defined for the XML Schema date, time, and duration datatypes, only, as appropriate.

[ unimplemented ]8.6. Built-Ins for URIs

The following built-ins are defined for the XML Schema datatypes related to URIs.

[ unimplemented ]8.7. Built-Ins for Lists

The following built-ins are defined for RDF-style lists. (Note that these built-ins are not usable in OWL DL or OWL Lite as RDF-style lists can only be used as OWL data in OWL Full.)