WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:jena.RDFQueryModelASK
Description:performs an SPARQL ASK query on a Jena model
Id:jena.RDFQueryModelASK
Category:accessor
Identifier Syntax

jena.RDFQueryModelASK is an accessor using Active URI syntax with the following base identifiers:

Base
active:jRDFQueryModelASK

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Optional
Representation (java.lang.Object)Model to select from
operator
Mandatory
Representation (java.lang.Object)SPARQL ASK statement
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use jena.RDFQueryModelASK accessor you must import the module urn:org:netkernel:rdf:jena:

<import>
  <uri>urn:org:netkernel:rdf:jena</uri>
</import>

The jRDFQueryModelASK accessor performs an SPARQL ASK query on a Jena model.

The results is returned as a java.lang.Boolean.

The operator specifies the SPARQL ASK query.

Optional Operand Argument

If the operand argument is provided the query will be made against the operand model.

If the operand argument is omitted it is assumed that the query references a resource in the FROM part of the query statement. Referenced resources will be SOURCEd from the ROC domain so that querys can be made from ROC domain resources, as well as external HTTP resources (if the http client module is resolvable in context).