Name

DB.DBA.SPARQL_EVAL_TO_ARRAY — Local execution of SPARQL via SPARQL protocol, produces a vector of vectors of SQL values.

Synopsis

DB.DBA.SPARQL_EVAL_TO_ARRAY ( in query varchar ,
in dflt_graph varchar ,
in maxrows integer );

Description

Local execution of SPARQL via SPARQL protocol, produces a result set of SQL values.

Parameters

query

text of SPARQL query to execute.

dflt_graph

default graph IRI, if not NULL then this overrides what is specified in query

maxrows

limit on numbers of rows that should be returned.

Return Types

any

Examples

Example24.303.Simple Use

SQL> select DB.DBA.SPARQL_EVAL_TO_ARRAY('SELECT * WHERE {?s ?p ?o}','http://example/bookStore' ,2);
callret
VARCHAR
_______________________________________________________________________________

vector(0x00ae6874,0x00ae6844)

1 Rows. -- 10 msec.