Modifier and Type | Method and Description |
---|---|
SemBlankSeqExpr |
blankSeq(SemBlankExpr... items)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
SemBlankExpr |
bnode()
This function returns an identifier for a blank node, allowing the construction of a triple that refers to a blank node.
|
SemBlankExpr |
bnode(ServerExpression value)
This function returns an identifier for a blank node, allowing the construction of a triple that refers to a blank node.
|
ItemSeqExpr |
coalesce(ServerExpression... parameter1)
Returns the value of the first argument that evaluates without error.
|
SemIriExpr |
datatype(ServerExpression value)
Returns the name of the simple type of the atomic value argument as a SPARQL style IRI.
|
ItemSeqExpr |
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.
|
SemInvalidExpr |
invalid(ServerExpression string,
ServerExpression datatype)
Returns a sem:invalid value with the given literal value and datatype IRI.
|
SemInvalidExpr |
invalid(ServerExpression string,
java.lang.String datatype)
Returns a sem:invalid value with the given literal value and datatype IRI.
|
SemIriExpr |
invalidDatatype(ServerExpression val)
Returns the datatype IRI of a sem:invalid value.
|
SemInvalidSeqExpr |
invalidSeq(SemInvalidExpr... items)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
SemIriExpr |
iri(ServerExpression stringIri)
This is a constructor function that takes a string and constructs an item of type sem:iri from it.
|
SemIriSeqExpr |
iriSeq(SemIriExpr... items)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
XsQNameExpr |
iriToQName(ServerExpression arg1) |
XsBooleanExpr |
isBlank(ServerExpression value)
Returns true if the argument is an RDF blank node - that is, derived from type sem:blank.
|
XsBooleanExpr |
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.
|
XsBooleanExpr |
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.
|
XsBooleanExpr |
isNumeric(ServerExpression value)
Returns true if the argument is a valid numeric RDF literal.
|
XsStringExpr |
lang(ServerExpression value)
Returns the language of the value passed in, or the empty string if the value has no language.
|
XsBooleanExpr |
langMatches(ServerExpression langTag,
ServerExpression langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
XsBooleanExpr |
langMatches(ServerExpression langTag,
java.lang.String langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
SemIriExpr |
QNameToIri(ServerExpression arg1) |
XsDoubleExpr |
random()
Returns a random double between 0 and 1.
|
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,
SemStoreSeqExpr 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").
|
SemStoreExpr |
rulesetStore(XsStringSeqVal 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(XsStringSeqVal locations,
SemStoreSeqExpr 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(XsStringSeqVal locations,
SemStoreSeqExpr store,
XsStringSeqVal 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").
|
XsBooleanExpr |
sameTerm(ServerExpression a,
ServerExpression b)
Returns true if the arguments are the same RDF term as defined by the RDF concepts specification.
|
XsBooleanExpr |
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(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,
CtsQueryExpr 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(XsStringSeqVal 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(XsStringSeqVal options,
CtsQueryExpr 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)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
XsStringExpr |
timezoneString(ServerExpression value)
Returns the timezone of an xs:dateTime value as a string.
|
XsAnyAtomicTypeExpr |
typedLiteral(ServerExpression value,
ServerExpression datatype)
Returns a value to represent the RDF typed literal with lexical value value and datatype IRI datatype.
|
XsAnyAtomicTypeExpr |
typedLiteral(ServerExpression value,
java.lang.String datatype)
Returns a value to represent the RDF typed literal with lexical value value and datatype IRI datatype.
|
SemUnknownExpr |
unknown(ServerExpression string,
ServerExpression datatype)
Returns a sem:unknown value with the given literal value and datatype IRI.
|
SemUnknownExpr |
unknown(ServerExpression string,
java.lang.String datatype)
Returns a sem:unknown value with the given literal value and datatype IRI.
|
SemIriExpr |
unknownDatatype(ServerExpression val)
Returns the datatype IRI of a sem:unknown value.
|
SemUnknownSeqExpr |
unknownSeq(SemUnknownExpr... items)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
SemIriExpr |
uuid()
Return a UUID URN (RFC4122) as a sem:iri value.
|
XsStringExpr |
uuidString()
Return a string that is the scheme specific part of random UUID URN (RFC4122).
|
iri, iriSeq, iriSeq, rulesetStore, rulesetStore, rulesetStore, store, stores
SemBlankExpr bnode()
Provides a client interface to the sem:bnode server function.
SemBlankExpr 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)ItemSeqExpr coalesce(ServerExpression... parameter1)
Provides a client interface to the sem:coalesce server function.
SemIriExpr datatype(ServerExpression value)
Provides a client interface to the sem:datatype server function.
value
- The value to return the type of. (of xs:anyAtomicType)ItemSeqExpr 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)SemInvalidExpr 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)SemInvalidExpr 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)SemIriExpr invalidDatatype(ServerExpression val)
Provides a client interface to the sem:invalid-datatype server function.
val
- The sem:invalid value. (of sem:invalid)SemIriExpr iri(ServerExpression stringIri)
Provides a client interface to the sem:iri server function.
XsQNameExpr iriToQName(ServerExpression arg1)
XsBooleanExpr isBlank(ServerExpression value)
Provides a client interface to the sem:isBlank server function.
value
- The value to test. (of xs:anyAtomicType)XsBooleanExpr isIRI(ServerExpression value)
Provides a client interface to the sem:isIRI server function.
value
- The value to test. (of xs:anyAtomicType)XsBooleanExpr isLiteral(ServerExpression value)
Provides a client interface to the sem:isLiteral server function.
value
- The value to test. (of xs:anyAtomicType)XsBooleanExpr isNumeric(ServerExpression value)
Provides a client interface to the sem:isNumeric server function.
value
- The value to test. (of xs:anyAtomicType)XsStringExpr lang(ServerExpression value)
Provides a client interface to the sem:lang server function.
value
- The value to return the language of. (of xs:anyAtomicType)XsBooleanExpr 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)XsBooleanExpr 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)SemIriExpr QNameToIri(ServerExpression arg1)
XsDoubleExpr 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.
locations
- The locations of the rulesets.SemStoreExpr rulesetStore(XsStringSeqVal locations)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets.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.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.SemStoreExpr rulesetStore(XsStringSeqVal locations, SemStoreSeqExpr store)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets.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.SemStoreExpr rulesetStore(java.lang.String locations, SemStoreSeqExpr store, java.lang.String options)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets.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.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].SemStoreExpr rulesetStore(XsStringSeqVal locations, SemStoreSeqExpr store, XsStringSeqVal options)
Provides a client interface to the sem:ruleset-store server function.
locations
- The locations of the rulesets.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.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].XsBooleanExpr 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)XsBooleanExpr 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.SemStoreExpr store(XsStringSeqVal 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.SemStoreExpr store(java.lang.String options, CtsQueryExpr 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.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.SemStoreExpr store(XsStringSeqVal options, CtsQueryExpr query)
Provides a client interface to the sem:store server function.
store
in interface SemValue
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.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.XsStringExpr timezoneString(ServerExpression value)
Provides a client interface to the sem:timezone-string server function.
value
- The dateTime value (of xs:dateTime)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)SemUnknownExpr 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)SemUnknownExpr 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)SemIriExpr unknownDatatype(ServerExpression val)
Provides a client interface to the sem:unknown-datatype server function.
val
- The sem:unknown value. (of sem:unknown)SemIriExpr uuid()
Provides a client interface to the sem:uuid server function.
XsStringExpr uuidString()
Provides a client interface to the sem:uuid-string server function.
SemBlankSeqExpr blankSeq(SemBlankExpr... items)
ServerExpression
sequence with PlanBuilder.seq()items
- the SemBlankExpr items collected by the sequenceSemInvalidSeqExpr invalidSeq(SemInvalidExpr... items)
ServerExpression
sequence with PlanBuilder.seq()items
- the SemInvalidExpr items collected by the sequenceSemIriSeqExpr iriSeq(SemIriExpr... items)
ServerExpression
sequence with PlanBuilder.seq()items
- the SemIriExpr items collected by the sequenceSemStoreSeqExpr storeSeq(SemStoreExpr... items)
ServerExpression
sequence with PlanBuilder.seq()items
- the SemStoreExpr items collected by the sequenceSemUnknownSeqExpr unknownSeq(SemUnknownExpr... items)
ServerExpression
sequence with PlanBuilder.seq()items
- the SemUnknownExpr items collected by the sequenceCopyright © 2013-2018 MarkLogic Corporation.