java.lang.Object
org.apache.jena.sparql.expr.urifunctions.SPARQLFuncOp
SPARQL Functions and Operators, including extensions.
This class does not cover functional forms e.g. IF, COALESCE and BOUND.
Some function-like use of keywords in SPARQL do not make sense as standalone functions.
Some functions depend on the execution context and do not make sense outside of such a context
e.g. BNODE(string)
, NOW()
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeValue
static NodeValue
static NodeValue
static NodeValue
static void
init()
static void
Load the SPARQL functions into aFunctionRegistry
.static NodeValue
sparql_abs
(NodeValue nv) static NodeValue
static NodeValue
sparql_ceil
(NodeValue nv) static NodeValue
sparql_concat
(NodeValue... args) static NodeValue
sparql_contains
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_day
(NodeValue nv) static NodeValue
sparql_divide
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_equals
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_function_and
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_function_or
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_greaterThan
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_greaterThanOrEqual
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
static NodeValue
static NodeValue
sparql_iri
(NodeValue nv) static NodeValue
static NodeValue
static NodeValue
static NodeValue
static NodeValue
static NodeValue
static NodeValue
sparql_lang
(NodeValue nv) static NodeValue
static NodeValue
sparql_langMatches
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_lessThan
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_lessThanOrEqual
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_md5
(NodeValue nv) static NodeValue
static NodeValue
static NodeValue
sparql_multiply
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_not_equals
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_object
(NodeValue tripleTerm) static NodeValue
sparql_plus
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_predicate
(NodeValue tripleTerm) static NodeValue
static NodeValue
sparql_regex
(NodeValue string, NodeValue pattern) static NodeValue
sparql_regex
(NodeValue string, NodeValue pattern, NodeValue flags) static NodeValue
sparql_replace
(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement) static NodeValue
sparql_replace
(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement, NodeValue envFlags) static NodeValue
static NodeValue
sparql_sameTerm
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_sameValue
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_sha1
(NodeValue nv) static NodeValue
static NodeValue
static NodeValue
static NodeValue
static NodeValue
sparql_str
(NodeValue nv) static NodeValue
sparql_strafter
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_strbefore
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_strdt
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_strends
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_strlang
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_strlangdir
(NodeValue nv1, NodeValue nv2, NodeValue nv3) static NodeValue
static NodeValue
sparql_strstarts
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_subject
(NodeValue tripleTerm) static NodeValue
sparql_substr
(NodeValue nv1, NodeValue nv2) static NodeValue
sparql_substr
(NodeValue nv1, NodeValue nv2, NodeValue nv3) static NodeValue
sparql_subtract
(NodeValue nv1, NodeValue nv2) static NodeValue
static NodeValue
sparql_triple
(NodeValue s, NodeValue p, NodeValue o) static NodeValue
static NodeValue
static NodeValue
static NodeValue
static NodeValue
sparql_uri
(NodeValue nv) static NodeValue
static NodeValue
sparql_year
(NodeValue nv)
-
Field Details
-
NS
- See Also:
-
-
Constructor Details
-
SPARQLFuncOp
public SPARQLFuncOp()
-
-
Method Details
-
init
public static void init() -
loadFunctionRegistry
Load the SPARQL functions into aFunctionRegistry
. -
exec
-
exec
-
sparql_plus
-
sparql_subtract
-
sparql_multiply
-
sparql_divide
-
sparql_unary_minus
-
sparql_unary_plus
-
sparql_equals
-
sparql_not_equals
-
sparql_greaterThan
-
sparql_lessThan
-
sparql_greaterThanOrEqual
-
sparql_lessThanOrEqual
-
sparql_function_and
-
sparql_function_or
-
sparql_function_not
-
sparql_sameTerm
-
sparql_sameValue
-
sparql_isIRI
-
sparql_isURI
-
sparql_isBlank
-
sparql_isLiteral
-
sparql_isNumeric
-
sparql_str
-
sparql_lang
-
sparql_langdir
-
sparql_haslang
-
sparql_haslangdir
-
sparql_datatype
-
sparql_iri
-
sparql_uri
-
arq_iri
-
arq_uri
-
sparql_bnode
-
sparql_strdt
-
sparql_strlang
-
sparql_strlangdir
-
sparql_uuid
-
sparql_struuid
-
sparql_strlen
-
sparql_substr
-
sparql_substr
-
sparql_ucase
-
sparql_lcase
-
sparql_strstarts
-
sparql_strends
-
sparql_contains
-
sparql_strbefore
-
sparql_strafter
-
sparql_concat
-
sparql_langMatches
-
sparql_regex
-
sparql_regex
-
sparql_replace
-
sparql_replace
-
sparql_encode
-
sparql_abs
-
sparql_round
-
sparql_ceil
-
sparql_floor
-
sparql_rand
-
sparql_now
-
sparql_year
-
sparql_month
-
sparql_day
-
sparql_hours
-
sparql_minutes
-
sparql_seconds
-
sparql_timezone
-
sparql_tz
-
sparql_triple
-
sparql_subject
-
sparql_predicate
-
sparql_object
-
sparql_isTriple
-
sparql_md5
-
sparql_sha1
-
sparql_sha224
-
sparql_sha256
-
sparql_sha384
-
sparql_sha512
-