SEM_APIS.GETV$NUMERICVAL
Format
SEM_APIS.GETV$NUMERICVAL(
value_type IN VARCHAR2,
vname_prefix IN VARCHAR2,
vname_suffix IN VARCHAR2,
literal_type IN VARCHAR2,
language_type IN VARCHAR2,
) RETURN NUMBER;
Description
Returns a numeric value for XML Schema numeric typed literals, and returns a null value for all other RDF terms.
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 numeric values for all numeric literals in the RDF_VALUE$ table:
SELECT SEM_APIS.GETV$NUMERICVAL(value_type, vname_prefix, vname_suffix,
literal_type, language_type)
FROM RDF_VALUE$;