public class SHACLSPARQLARQFunction extends SHACLARQFunction
paramNames| Constructor and Description |
|---|
SHACLSPARQLARQFunction(SHConstraintComponent component,
org.apache.jena.rdf.model.Resource askValidator)
Constructs a new SHACLSPARQLARQFunction based on a given sh:ConstraintComponent
and a given validator (which must be a value of sh:nodeValidator, sh:propertyValidator etc.
|
SHACLSPARQLARQFunction(SHSPARQLFunction shaclFunction)
Constructs a new SHACLSPARQLARQFunction based on a given sh:Function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(String uri,
org.apache.jena.sparql.expr.ExprList args) |
org.apache.jena.sparql.function.Function |
create(String uri) |
org.apache.jena.sparql.expr.NodeValue |
executeBody(org.apache.jena.query.Dataset dataset,
org.apache.jena.rdf.model.Model defaultModel,
org.apache.jena.query.QuerySolution bindings) |
org.apache.jena.query.Query |
getBodyQuery()
Gets the Jena Query object for execution.
|
protected String |
getQueryString() |
addParameters, exec, getParamNames, getSHACLFunction, isOptionalArgpublic SHACLSPARQLARQFunction(SHConstraintComponent component, org.apache.jena.rdf.model.Resource askValidator)
component - the constraint component (defining the sh:parameters)askValidator - the sh:SPARQLAskValidator resourcepublic SHACLSPARQLARQFunction(SHSPARQLFunction shaclFunction)
shaclFunction - the SHACL functionpublic void build(String uri, org.apache.jena.sparql.expr.ExprList args)
build in interface org.apache.jena.sparql.function.Functionbuild in class SHACLARQFunctionpublic org.apache.jena.sparql.function.Function create(String uri)
create in interface org.apache.jena.sparql.function.FunctionFactorycreate in class SHACLARQFunctionpublic org.apache.jena.sparql.expr.NodeValue executeBody(org.apache.jena.query.Dataset dataset,
org.apache.jena.rdf.model.Model defaultModel,
org.apache.jena.query.QuerySolution bindings)
executeBody in class SHACLARQFunctionpublic org.apache.jena.query.Query getBodyQuery()
protected String getQueryString()
getQueryString in class SHACLARQFunctionCopyright © 2019 TopQuadrant, Inc.. All rights reserved.