Hi Henrik, You cannot execute theSQK stmt via the Jena/RDF4J providers. But could call the JDBC Driver java.sql.Connection reference from the Jena/RDF4J provider and execute the SQL Stmt via the JDBC API.
Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers > On 29 Nov 2017, at 14:46, Henrik Schmidt <h...@informatik.uni-kiel.de> wrote: > > Thanks Hugh, > > how do I execute this anytime statement within java with the jena and > rdf4j provider ? > > Best > > Henrik > > Hugh Williams schrieb am 29.11.2017 um 01:47: >> Hi Henrik, >> >> The query cost & execution time params are only applicable to the Virtuoso >> SPARQL endpoint. >> >> The Anytime query option can be set for a connection with the statement: >> >> set result_timeout == <expression>; >> >> as detailed in the docs at: >> >> http://docs.openlinksw.com/virtuoso/anytimequeries/ >> >> Best Regards >> Hugh Williams >> Professional Services >> OpenLink Software, Inc. // http://www.openlinksw.com/ >> Weblog -- http://www.openlinksw.com/blogs/ >> LinkedIn -- http://www.linkedin.com/company/openlink-software/ >> Twitter -- http://twitter.com/OpenLink >> Google+ -- http://plus.google.com/100570109519069333827/ >> Facebook -- http://www.facebook.com/OpenLinkSoftware >> Universal Data Access, Integration, and Management Technology Providers >> >> >> >>> On 28 Nov 2017, at 10:32, Henrik Schmidt <h...@informatik.uni-kiel.de> >>> wrote: >>> >>> Hi, >>> >>> we are using the jena and/or rdf4j provider for some long running >>> queries on our DB. >>> >>> Are there options for query cost/time estimations or anytime queries >>> (like for SPAQL endpoints) for these providers instead of opting for >>> hard query timeouts ? >>> >>> Best, >>> >>> Henrik >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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