Name

file_open — returns the contents of a file.

Synopsis

varchar file_open ( in path varchar );

Description

Returns the contents of a file. The path is relative to the working directory of the database server.

Parameters

path

Path name of the file to read.

Examples

Example24.114.Simple Use

For loading N3 and Turtle files you can use:

SQL>DB.DBA.TTLP_MT (file_open('tmp/file1.n3'), 'base uri', 'graph uri', 255);