Modifier and Type | Method and Description |
---|---|
ServerExpression |
bnode()
This function returns an identifier for a blank node, allowing the construction of a triple that refers to a blank node.
|
ServerExpression |
bnode(ServerExpression value)
This function returns an identifier for a blank node, allowing the construction of a triple that refers to a blank node.
|
ServerExpression |
coalesce(ServerExpression... parameter1)
Returns the value of the first argument that evaluates without error.
|
ServerExpression |
datatype(ServerExpression value)
Returns the name of the simple type of the atomic value argument as a SPARQL style IRI.
|
ServerExpression |
defaultGraphIri()
Returns the iri of the default graph.
|
ServerExpression |
ifExpr(ServerExpression condition,
ServerExpression then,
ServerExpression elseExpr)
The IF function form evaluates the first argument, interprets it as a effective boolean value, then returns the value of expression2 if the EBV is true, otherwise it returns the value of expression3.
|
ServerExpression |
invalid(ServerExpression string,
ServerExpression datatype)
Returns a sem:invalid value with the given literal value and datatype IRI.
|
ServerExpression |
invalid(ServerExpression string,
java.lang.String datatype)
Returns a sem:invalid value with the given literal value and datatype IRI.
|
ServerExpression |
invalidDatatype(ServerExpression val)
Returns the datatype IRI of a sem:invalid value.
|
ServerExpression |
iri(ServerExpression stringIri)
This is a constructor function that takes a string and constructs an item of type sem:iri from it.
|
ServerExpression |
iriToQName(ServerExpression arg1)
Converts an IRI value to a QName value.
|
ServerExpression |
isBlank(ServerExpression value)
Returns true if the argument is an RDF blank node - that is, derived from type sem:blank.
|
ServerExpression |
isIRI(ServerExpression value)
Returns true if the argument is an RDF IRI - that is, derived from type sem:iri, but not derived from type sem:blank.
|
ServerExpression |
isLiteral(ServerExpression value)
Returns true if the argument is an RDF literal - that is, derived from type xs:anyAtomicType, but not derived from type sem:iri.
|
ServerExpression |
isNumeric(ServerExpression value)
Returns true if the argument is a valid numeric RDF literal.
|
ServerExpression |
lang(ServerExpression value)
Returns the language of the value passed in, or the empty string if the value has no language.
|
ServerExpression |
langMatches(ServerExpression langTag,
ServerExpression langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
ServerExpression |
langMatches(ServerExpression langTag,
java.lang.String langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
ServerExpression |
QNameToIri(ServerExpression arg1)
Converts a QName value to an IRI value.
|
ServerExpression |
random()
Returns a random double between 0 and 1.
|
SemStoreExpr |
rulesetStore(ServerExpression locations)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
SemStoreExpr |
rulesetStore(ServerExpression locations,
ServerExpression store)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
SemStoreExpr |
rulesetStore(ServerExpression locations,
ServerExpression store,
ServerExpression options)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
SemStoreExpr |
rulesetStore(java.lang.String locations)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
SemStoreExpr |
rulesetStore(java.lang.String locations,
SemStoreExpr... store)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
SemStoreExpr |
rulesetStore(java.lang.String locations,
ServerExpression store,
java.lang.String options)
The sem:ruleset-store function returns a set of triples derived by applying the ruleset to the triples in the sem:store constructor provided in store ("the triples that can be inferred from these rules").
|
ServerExpression |
sameTerm(ServerExpression a,
ServerExpression b)
Returns true if the arguments are the same RDF term as defined by the RDF concepts specification.
|
ServerExpression |
sameTerm(ServerExpression a,
java.lang.String b)
Returns true if the arguments are the same RDF term as defined by the RDF concepts specification.
|
SemStoreExpr |
store()
The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument.
|
SemStoreExpr |
store(ServerExpression options)
The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument.
|
SemStoreExpr |
store(ServerExpression options,
ServerExpression query)
The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument.
|
SemStoreExpr |
store(java.lang.String options)
The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument.
|
SemStoreExpr |
store(java.lang.String options,
ServerExpression query)
The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument.
|
SemStoreSeqExpr |
storeSeq(SemStoreExpr... items)
Constructs a sequence of SemStoreExpr items.
|
ServerExpression |
timezoneString(ServerExpression value)
Returns the timezone of an xs:dateTime value as a string.
|
ServerExpression |
typedLiteral(ServerExpression value,
ServerExpression datatype)
Returns a value to represent the RDF typed literal with lexical value value and datatype IRI datatype.
|
ServerExpression |
typedLiteral(ServerExpression value,
java.lang.String datatype)
Returns a value to represent the RDF typed literal with lexical value value and datatype IRI datatype.
|
ServerExpression |
unknown(ServerExpression string,
ServerExpression datatype)
Returns a sem:unknown value with the given literal value and datatype IRI.
|
ServerExpression |
unknown(ServerExpression string,
java.lang.String datatype)
Returns a sem:unknown value with the given literal value and datatype IRI.
|
ServerExpression |
unknownDatatype(ServerExpression val)
Returns the datatype IRI of a sem:unknown value.
|
ServerExpression |
uuid()
Return a UUID URN (RFC4122) as a sem:iri value.
|
ServerExpression |
uuidString()
Return a string that is the scheme specific part of random UUID URN (RFC4122).
|
iri, iriSeq, iriSeq, rulesetStore, rulesetStore, rulesetStore, store, store, stores
ServerExpression bnode()
Provides a client interface to the sem:bnode server function.
ServerExpression bnode(ServerExpression value)
Provides a client interface to the sem:bnode server function.
value
- If provided, the same blank node identifier is returned for the same argument value passed to the function. (of xs:anyAtomicType)ServerExpression coalesce(ServerExpression... parameter1)
Provides a client interface to the sem:coalesce server function.
ServerExpression datatype(ServerExpression value)
Provides a client interface to the sem:datatype server function.
value
- The value to return the type of. (of xs:anyAtomicType)ServerExpression defaultGraphIri()
Provides a client interface to the sem:default-graph-iri server function.
ServerExpression ifExpr(ServerExpression condition, ServerExpression then, ServerExpression elseExpr)
Provides a client interface to the sem:if server function.
condition
- The condition. (of xs:boolean)then
- The then expression. (of item)elseExpr
- The else expression. (of item)ServerExpression invalid(ServerExpression string, java.lang.String datatype)
Provides a client interface to the sem:invalid server function.
string
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression invalid(ServerExpression string, ServerExpression datatype)
Provides a client interface to the sem:invalid server function.
string
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression invalidDatatype(ServerExpression val)
Provides a client interface to the sem:invalid-datatype server function.
val
- The sem:invalid value. (of sem:invalid)ServerExpression iri(ServerExpression stringIri)
Provides a client interface to the sem:iri server function.
ServerExpression iriToQName(ServerExpression arg1)
ServerExpression isBlank(ServerExpression value)
Provides a client interface to the sem:isBlank server function.
value
- The value to test. (of xs:anyAtomicType)ServerExpression isIRI(ServerExpression value)
Provides a client interface to the sem:isIRI server function.
value
- The value to test. (of xs:anyAtomicType)ServerExpression isLiteral(ServerExpression value)
Provides a client interface to the sem:isLiteral server function.
value
- The value to test. (of xs:anyAtomicType)ServerExpression isNumeric(ServerExpression value)
Provides a client interface to the sem:isNumeric server function.
value
- The value to test. (of xs:anyAtomicType)ServerExpression lang(ServerExpression value)
Provides a client interface to the sem:lang server function.
value
- The value to return the language of. (of xs:anyAtomicType)ServerExpression langMatches(ServerExpression langTag, java.lang.String langRange)
Provides a client interface to the sem:langMatches server function.
langTag
- The language tag. (of xs:string)langRange
- The language range. (of xs:string)ServerExpression langMatches(ServerExpression langTag, ServerExpression langRange)
Provides a client interface to the sem:langMatches server function.
langTag
- The language tag. (of xs:string)langRange
- The language range. (of xs:string)ServerExpression QNameToIri(ServerExpression arg1)
ServerExpression random()
Provides a client interface to the sem:random server function.
SemStoreExpr rulesetStore(java.lang.String locations)
Provides a client interface to the sem:ruleset-store server function.
SemStoreExpr rulesetStore(ServerExpression locations)
Provides a client interface to the sem:ruleset-store server function.
SemStoreExpr rulesetStore(java.lang.String locations, SemStoreExpr... store)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets. (of xs:string)store
- The base store(s) over which to apply the ruleset to get inferred triples. The default for sem:store is an empty sequence, which means accessing the current database's triple index using the default rulesets configured for that database. (of sem:store)SemStoreExpr rulesetStore(ServerExpression locations, ServerExpression store)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets. (of xs:string)store
- The base store(s) over which to apply the ruleset to get inferred triples. The default for sem:store is an empty sequence, which means accessing the current database's triple index using the default rulesets configured for that database. (of sem:store)SemStoreExpr rulesetStore(java.lang.String locations, ServerExpression store, java.lang.String options)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets. (of xs:string)store
- The base store(s) over which to apply the ruleset to get inferred triples. The default for sem:store is an empty sequence, which means accessing the current database's triple index using the default rulesets configured for that database. (of sem:store)options
- Options as a sequence of string values. Available options are: "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. (of xs:string)SemStoreExpr rulesetStore(ServerExpression locations, ServerExpression store, ServerExpression options)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets. (of xs:string)store
- The base store(s) over which to apply the ruleset to get inferred triples. The default for sem:store is an empty sequence, which means accessing the current database's triple index using the default rulesets configured for that database. (of sem:store)options
- Options as a sequence of string values. Available options are: "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. (of xs:string)ServerExpression sameTerm(ServerExpression a, java.lang.String b)
Provides a client interface to the sem:sameTerm server function.
a
- The first value to test. (of xs:anyAtomicType)b
- The second value to test. (of xs:anyAtomicType)ServerExpression sameTerm(ServerExpression a, ServerExpression b)
Provides a client interface to the sem:sameTerm server function.
a
- The first value to test. (of xs:anyAtomicType)b
- The second value to test. (of xs:anyAtomicType)SemStoreExpr store()
Provides a client interface to the sem:store server function.
SemStoreExpr store(java.lang.String options)
Provides a client interface to the sem:store server function.
options
- Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. (of xs:string)SemStoreExpr store(ServerExpression options)
Provides a client interface to the sem:store server function.
options
- Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. (of xs:string)SemStoreExpr store(java.lang.String options, ServerExpression query)
Provides a client interface to the sem:store server function.
options
- Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. (of xs:string)query
- Only include triples in fragments selected by the cts:query. The triples do not need to match the query, but they must occur in fragments selected by the query. The fragments are not filtered to ensure they match the query, but instead selected in the same manner as "unfiltered" cts:search operations. If a string is entered, the string is treated as a cts:word-query of the specified string. (of cts:query)SemStoreExpr store(ServerExpression options, ServerExpression query)
Provides a client interface to the sem:store server function.
options
- Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. (of xs:string)query
- Only include triples in fragments selected by the cts:query. The triples do not need to match the query, but they must occur in fragments selected by the query. The fragments are not filtered to ensure they match the query, but instead selected in the same manner as "unfiltered" cts:search operations. If a string is entered, the string is treated as a cts:word-query of the specified string. (of cts:query)ServerExpression timezoneString(ServerExpression value)
Provides a client interface to the sem:timezone-string server function.
value
- The dateTime value (of xs:dateTime)ServerExpression typedLiteral(ServerExpression value, java.lang.String datatype)
Provides a client interface to the sem:typed-literal server function.
value
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression typedLiteral(ServerExpression value, ServerExpression datatype)
Provides a client interface to the sem:typed-literal server function.
value
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression unknown(ServerExpression string, java.lang.String datatype)
Provides a client interface to the sem:unknown server function.
string
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression unknown(ServerExpression string, ServerExpression datatype)
Provides a client interface to the sem:unknown server function.
string
- The lexical value. (of xs:string)datatype
- The datatype IRI. (of sem:iri)ServerExpression unknownDatatype(ServerExpression val)
Provides a client interface to the sem:unknown-datatype server function.
val
- The sem:unknown value. (of sem:unknown)ServerExpression uuid()
Provides a client interface to the sem:uuid server function.
ServerExpression uuidString()
Provides a client interface to the sem:uuid-string server function.
SemStoreSeqExpr storeSeq(SemStoreExpr... items)
items
- the SemStoreExpr items collected by the sequenceCopyright © 2013-2021 MarkLogic Corporation.