abstract

Can be set to true to indicate that this module shall not be instantiated. Abstract modules are only there to organize other modules into hierarchies.

Comment
Can be set to true to indicate that this module shall not be instantiated. Abstract modules are only there to organize other modules into hierarchies.
Domain
Module
Label
abstract
Range
boolean
SubPropertyOf
system property

ask

Executes a given ASK query and returns its boolean result. The first argument must point to an sp:Ask or a SPIN template call that has an ASK query as its body. All subsequent argument can come in pairs, with the first one being a variable name and the second its binding. Example: BIND (spin:ask(?query, "this", owl:Thing) AS ?result) . will execute the sp:Ask behind ?query with the variable ?this pre-bound to owl:Thing.

Comment
Executes a given ASK query and returns its boolean result. The first argument must point to an sp:Ask or a SPIN template call that has an ASK query as its body. All subsequent argument can come in pairs, with the first one being a variable name and the second its binding. Example: BIND (spin:ask(?query, "this", owl:Thing) AS ?result) . will execute the sp:Ask behind ?query with the variable ?this pre-bound to owl:Thing.
Label
ask
SubClassOf
Functions

Ask template

A SPIN template that wraps an ASK query.

Comment
A SPIN template that wraps an ASK query.
Constraint

A8

The ASK query wrapped by this template.

Comment
The ASK query wrapped by this template.
MaxCount
1
MinCount
0
Predicate
body
Value type
ASK
Label
Ask template
SubClassOf
Template

Ask templates

Suggested abstract base class for all AskTemplates.

Abstract
true
Comment
Suggested abstract base class for all AskTemplates.
Label
Ask templates
SubClassOf
Templates

body

The body of a Function or Template. This points to a Query instance. For Functions, this is limited to either ASK or SELECT type queries. If the body is the ASK function then the return value is xsd:boolean. Otherwise, the SELECT query must have a single return variable. The first binding of this SELECT query will be returned as result of the function call.

Comment
The body of a Function or Template. This points to a Query instance. For Functions, this is limited to either ASK or SELECT type queries. If the body is the ASK function then the return value is xsd:boolean. Otherwise, the SELECT query must have a single return variable. The first binding of this SELECT query will be returned as result of the function call.
Label
body
Range
Command
SubPropertyOf
system property

SubClassOf
Rule

cachable

Can be set to true to instruct the SPIN engine that it may cache the results of all calls to the associated function. Functions should only be marked as cachable if the same combination of input arguments always returns the same result. Functions that query a graph or other background data that may change over time should not be cached. Caching can significantly improve performance of frequently needed functions.

Comment
Can be set to true to instruct the SPIN engine th