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 NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic voidinit()static voidLoad the SPARQL functions into aFunctionRegistry.static NodeValuesparql_abs(NodeValue nv) static NodeValuestatic NodeValuesparql_ceil(NodeValue nv) static NodeValuesparql_concat(NodeValue... args) static NodeValuesparql_contains(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_day(NodeValue nv) static NodeValuesparql_divide(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_equals(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_function_and(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_function_or(NodeValue nv1, NodeValue nv2) static NodeValuesparql_greaterThan(NodeValue nv1, NodeValue nv2) static NodeValuesparql_greaterThanOrEqual(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuestatic NodeValuestatic NodeValuesparql_iri(NodeValue nv) static NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic NodeValuesparql_lang(NodeValue nv) static NodeValuestatic NodeValuesparql_langMatches(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_lessThan(NodeValue nv1, NodeValue nv2) static NodeValuesparql_lessThanOrEqual(NodeValue nv1, NodeValue nv2) static NodeValuesparql_md5(NodeValue nv) static NodeValuestatic NodeValuestatic NodeValuesparql_multiply(NodeValue nv1, NodeValue nv2) static NodeValuesparql_not_equals(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_object(NodeValue tripleTerm) static NodeValuesparql_plus(NodeValue nv1, NodeValue nv2) static NodeValuesparql_predicate(NodeValue tripleTerm) static NodeValuestatic NodeValuesparql_regex(NodeValue string, NodeValue pattern) static NodeValuesparql_regex(NodeValue string, NodeValue pattern, NodeValue flags) static NodeValuesparql_replace(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement) static NodeValuesparql_replace(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement, NodeValue envFlags) static NodeValuestatic NodeValuesparql_sameTerm(NodeValue nv1, NodeValue nv2) static NodeValuesparql_sameValue(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_sha1(NodeValue nv) static NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic NodeValuesparql_str(NodeValue nv) static NodeValuesparql_strafter(NodeValue nv1, NodeValue nv2) static NodeValuesparql_strbefore(NodeValue nv1, NodeValue nv2) static NodeValuesparql_strdt(NodeValue nv1, NodeValue nv2) static NodeValuesparql_strends(NodeValue nv1, NodeValue nv2) static NodeValuesparql_strlang(NodeValue nv1, NodeValue nv2) static NodeValuesparql_strlangdir(NodeValue nv1, NodeValue nv2, NodeValue nv3) static NodeValuestatic NodeValuesparql_strstarts(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_subject(NodeValue tripleTerm) static NodeValuesparql_substr(NodeValue nv1, NodeValue nv2) static NodeValuesparql_substr(NodeValue nv1, NodeValue nv2, NodeValue nv3) static NodeValuesparql_subtract(NodeValue nv1, NodeValue nv2) static NodeValuestatic NodeValuesparql_triple(NodeValue s, NodeValue p, NodeValue o) static NodeValuestatic NodeValuestatic NodeValuestatic NodeValuestatic NodeValuesparql_uri(NodeValue nv) static NodeValuestatic NodeValuesparql_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
-