15.155 SEM_APIS.UNESCAPE_RDF_VALUE

Format

SEM_APIS.UNESCAPE_RDF_VALUE(
     val        IN VARCHAR2 CHARACTER SET ANY_CS,
     options    IN VARCHAR2 DEFAULT NULL,
     max_vc_len IN NUMBER DEFAULT 4000
     ) RETURN VARCHAR2 CHARACTER SET val%CHARSET;

Description

Returns the input CLOB value with special characters and non-ASCII characters unescaped as specified by the W3C N-Triples format (http://www.w3.org/TR/rdf-testcases/#ntriples).

Parameters

val

The text to unescape.

options

Reserved for future use.

max_vc_len

The maximum allowed length of a VARCHAR RDF term - 32767 or 4000 (the default).

Usage Notes

For information about using the DO_UNESCAPE keyword in the options parameter of the SEM_MATCH table function, see Using the SEM_MATCH Table Function to Query Semantic Data.

Examples

The following example unescapes an input character string containing TAB and NEWLINE characters.

SELECT SEM_APIS.UNESCAPE_RDF_VALUE('abc\tdef\nhij')
  FROM DUAL;