Dear community,

I want to see how the built-in Virtuoso Open Source HTTP SPARQL client (the
one that responds when you type http:://servername:8890/sparql) is
implemented and evaluate the possibilitly to change it. I haven't found any
documentation about it but I discovered anyway that it's implemented in
Virtuoso PL language and it's source code is in github here.
<https://github.com/openlink/virtuoso-opensource/blob/b58ba2dc8c9232a0939a9388adfc9474429aff4d/libsrc/Wi/sparql_io.sql>

The source code contains tens of PL procedures, like the following two.

create procedure WS.WS.SPARQL_ENDPOINT_GENERATE_FORM(
    in params any,
    in ini_dflt_graph varchar,
    in def_qry varchar,
    in timeout integer,
    in debug integer,
    in log_debug_info integer,
    in save_mode integer,
    in dav_refresh varchar,
    in explain_report varchar)
{
    declare can_cxml, can_pivot, can_qrcode, can_sponge integer;
    [...]
};

create procedure DB.DBA.SPARQL_RSET_XML_WRITE_NS (inout ses any)
{
  --http ('<?xml version="1.0" encoding="UTF-8"?>\n', ses);
  http ('<sparql xmlns="http://www.w3.org/2005/sparql-results#"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd";>', ses);
};

All of them are stored in the DB and WS schemas. If I search for these
procedures in the "Procedures" folder of DB and WS Virtuoso schemas I do
not see any of them.
Even the table DB.DBA SYS_PROCEDURES that seems to contain all the
installed stored procedures do not contain them. Yet this code shoud be
somewhere in Virtuoso since the client responds when I type
http:://servername:8890/sparql.

Does this mean that such code is hidden and / or impossible to change?

Can anyone unvail the mistery?

I have used VOS Version 07.20.3217 for Windows

Thanks a lot in advance!

Cheers

Beppe
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to