SEM_APIS.GETV$STRINGVAL
Format
SEM_APIS.GETV$STRINGVAL(
value_type IN VARCHAR2,
vname_prefix IN VARCHAR2,
vname_suffix IN VARCHAR2,
literal_type IN VARCHAR2,
language_type IN VARCHAR2,
) RETURN TIMESTAMP WITH TIME ZONE;
Description
Returns a VARCHAR2 string of the lexical form of plain literals and xsd:string typed literals, and returns a null value for all other RDF terms. CHR(0) is returned for empty literals.
Parameters
value_type
Type of the RDF term.
vname_prefix
Prefix value of the RDF term.
vname_suffix
Suffix value of the RDF term.
literal_type
Literal type of the RDF term.
language_type
Language type of the RDF term.
Usage Notes
For better performance, consider creating a function-based index on this function. For more information, see Function-Based Indexes for FILTER Constructs Involving Typed Literals.
Examples
The following example returns lexical values for all plain literals and xsd:string literals in the RDF_VALUE$ table:
SELECT SEM_APIS.GETV$STRINGVAL(value_type, vname_prefix, vname_suffix,
literal_type, language_type)
FROM RDF_VALUE$;