Re: [Virtuoso-users] jena provider instead of rdf4j provider

2017-11-22 Thread Henrik Schmidt
Thanks Hugh, how do I use the timeot within my java code where I use virtDataSource = new VirtuosoDataSource(); virtDataSource.setServerName(serverAddress); virtDataSource.setPortNumber(Integer.parseInt(serverPort)); virtDataSource.setUser(user); virtDataSource.setPassword(password); So there i

Re: [Virtuoso-users] Port 8890

2017-11-22 Thread Hugh Williams
Hi Jason, I trust you have checked there is not another web server running on port 80 on the machine already and that the Virtuoso server is being run as root (or with root privileges) which is a requirement on a Unix based system to run a service on that special port. Failing that please prov

Re: [Virtuoso-users] Port 8890

2017-11-22 Thread Haag, Jason
BTW, I checked virtuoso.log and it shows: ERROR: Failed HTTP listen at 80. - Jason Haag Advanced Distributed Learning (ADL) Initiative http://www.adlnet.gov Twitter: @ADL_Initiative Mobile: 850-471-1300 On Wed, Nov 22, 2017 at 2:19

Re: [Virtuoso-users] Port 8890

2017-11-22 Thread Haag, Jason
Thanks for the tips Hugh and Kingsley! I edited the .ini and changed the port from "8890" to "80" but now nothing appears. Is there a better way to restart all virtuoso services? I simply did isql-v shutdown(); and then ran the startup command, "virtuoso-t +debug +configfile /usr/local/var/lib/

Re: [Virtuoso-users] jena provider instead of rdf4j provider

2017-11-22 Thread Hugh Williams
Hi Henrik, Glad to hear you have solved the problem. As the Virtuoso Jena and RDF4J provider use the Virtuoso JDBC Driver for connecting to the Virtuoso Server you can pass any of the connect string options of the JDBC driver, one of which is "/TIMEOUT=", to the providers as detailed at:

Re: [Virtuoso-users] jena provider instead of rdf4j provider

2017-11-22 Thread Henrik Schmidt
Hi Hugh, Problem solved, I had to call new virtGraph = VirtGraph() for each query and not only once. Before I only called VirtuosoQueryExecutionFactory.create(sparql, virtGraph) in each query, using the same virtGraph. A partially related question : How do I properly use query timeouts for both

Re: [Virtuoso-users] jena provider instead of rdf4j provider

2017-11-22 Thread Hugh Williams
Hi Henrik, Can you please provide more detailed example jena3 & rdf4j sample code demonstrating how you are seeking to use both such that we can obtain a better understanding of the apparent concurrent query execution problem ? Best Regards Hugh Williams Professional Services OpenLink Software,

Re: [Virtuoso-users] Two questions (tangent to maparent/virtuoso-python)

2017-11-22 Thread Davis, Daniel (NIH/NLM) [C]
Actually, not, because when an owl:Thing is to be deleted, it is not to be deleted, but simply marked as inactive, e.g. we insert a triple ?s meshv:active “false”^^xsd:Boolean When an owl:Thing is to be updated or inserted though, we do remove and replace all of its triples. So, to use the bu

Re: [Virtuoso-users] jena provider instead of rdf4j provider

2017-11-22 Thread Henrik Schmidt
Hi Hugh, the problem is that the jena code is blocking while executing whereas the rdf4j code is non blocking and does allow multiple simultaneous queries. So I'm looking for a non blocking jena solution. Is there any ? Best, Jenrik Am 22.11.2017 um 00:50 schrieb Hugh Williams: Hi Henrik,