Hi Cristian,
Hello!
I'm developing some extensions to the ODS REST API, and i get an
error when i make use of the "exec_sparql (q);" procedure, present on
the ODS controllers. When i try to invoke it, i get the following
error:
<failed>
<code>-500</code>
<message>RDF..: Inference context http://www.univrz.com:80/dataspace
does not exist</message>
</failed>
Could you please check in the sys_rdf_schema if there is record for the
inference in question?
i.e. : select * from sys_rdf_schema;
If there is no, then you should
- install ods
- execute:
use sioc;
DB.DBA.TTLP (sioct_n3 (), '', get_graph() || '/inf');
DB.DBA.RDFS_RULE_SET (get_graph (), get_graph() || '/inf');
Best Regards,
Rumi
My inference context is http://www.univrz.com/dataspace (i think - i'm
just starting to explore this world), when i make use of the other
methods, like DB.DBA.SPARQL_EVAL_TO_ARRAY i can see the results, but
i'm interested in using the ODS api (like the exec_sparql(q)
procedure) to keep consistency.
Some methods from the published Rest Interface, like
ODS.ODS_API."instance.get.id"or ODS.ODS_API."user.get" show the same
problem. Maybe is a configuration issue, but i dont know yet.
Regards,
Cristian
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users