Re: TDB2 Exception in initialisation

2023-08-25 Thread Enrico . Daga
Hi Andy, Many thanks for the quick reply -- in the end, it was a misplaced ARQ.init() -- the version of this project is 3.13.1 -- I should have checked and mentioned that. We will need to upgrade it at some point. Best wishes, Enrico -- Enrico Daga, PhD www.enridaga.net<h

TDB2 Exception in initialisation

2023-08-25 Thread Enrico . Daga
.tdb2.params.StoreParamsConst.(StoreParamsConst.java:33) -- Enrico Daga, PhD www.enridaga.net<http://www.enridaga.net> | @enridaga SPARQL Anything http://sparql-anything.cc Polifonia http://polifonia-project.eu SPICE http://spice-h2020.eu Open Knowledge Graph http://data.open.ac.uk<http://d

Re: Re: XSD date functions broken?

2023-04-18 Thread Enrico . Daga
Hi Simon, Thanks for the analysis; very useful! The roundtrip with `xsd:duration` it's clever, I will use that. Many thanks! Enrico -- Enrico Daga, PhD www.enridaga.net<http://www.enridaga.net/> | @enridaga SPARQL Anything http://sparql-anything.cc<http://sparql-anything.cc/&g

Re: XSD date functions broken?

2023-04-18 Thread Enrico . Daga
Hi Martynas, I think you are right; my mistake. But how would you handle the case of converting a Unix timestamp into a readable date in SPARQL? Enrico -- Enrico Daga, PhD www.enridaga.net<http://www.enridaga.net/> | @enridaga SPARQL Anything http://sparql-anything.cc<http

Re: XSD date functions broken?

2023-04-18 Thread Enrico . Daga
nks! Enrico -- Enrico Daga, PhD www.enridaga.net<http://www.enridaga.net/> | @enridaga SPARQL Anything http://sparql-anything.cc<http://sparql-anything.cc/> Polifonia http://polifonia-project.eu<http://polifonia-project.eu/> SPICE http://spice-h2020.eu<http://spice-h2020.eu/>

XSD date functions broken?

2023-04-18 Thread Enrico . Daga
While the cast to int works fine: String q = "\n" + "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>" + "SELECT ?date WHERE { BIND(xsd:int (1649185973) AS ?date ) }"; System.err.println(executeARQ(q).next().get("date").toString()); 164918

Re: Fuseki/TDB stuck: ~150 threads BLOCKED waiting to lock the same object

2017-05-10 Thread Enrico Daga (enridaga)
29) - locked <0x0004c007ffa8> (a java.lang.Object) at org.apache.jena.tdb.store.nodetable.NodeTableCache.getNodeForNodeId(NodeTableCache.java:82) at org.apache.jena.tdb.store.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:54) — Enrico Daga (enridaga) http://www.e

Fuseki/TDB stuck: ~150 threads BLOCKED waiting to lock the same object

2017-05-08 Thread Enrico Daga (enridaga)
problem was not reproduced). It looks like a deadlock, I was wondering whether anybody have seen this before? Thank you for any feedback, Enrico [1] https://issues.apache.org/jira/browse/JENA-1296 — Enrico Daga (enridaga) http://www.enridaga.net Il budda e’ nel parco.

Re: Initializing TDB/JenaSystem properly

2016-04-13 Thread Enrico Daga (enridaga)
Hi Andy, that was it! For the record, I solved using the maven-shade-plugin with this configuration: META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle Thank you very much for the help :) Best, Enrico — Enrico Daga (enridaga) http://www.enridaga.net <h

Re: Initializing TDB/JenaSystem properly

2016-04-13 Thread Enrico Daga (enridaga)
/enridaga/jena-system-in-jetty-debug/ [2] https://github.com/enridaga/jena-system-in-jetty-debug/blob/master/src/main/java/enridaga/jenainjetty/Application.java — Enrico Daga (enridaga) http://www.enridaga.net Il budda e’ nel parco. Stack trace in the original application: 2016-04-13 10:48:34 INFO

Re: Initializing TDB/JenaSystem properly

2016-04-13 Thread Enrico Daga (enridaga)
Thank you Andy, I’ll try that and let you know, eventually I will pack a thin maven project trying to reproduce the issue. Thanks a lot! Enrico — Enrico Daga (enridaga) http://www.enridaga.net <http://www.enridaga.net/> Il budda e’ nel parco. > On 13 Apr 2016, at 09:59, Andy

Re: Initializing TDB/JenaSystem properly

2016-04-12 Thread Enrico Daga (enridaga)
/server/cli/Main.java — Enrico Daga (enridaga) http://www.enridaga.net Il budda e’ nel parco. > On 12 Apr 2016, at 18:16, Andy Seaborne wrote: > > On 12/04/16 17:22, Enrico Daga (enridaga) wrote: >> Hi, >> >> I want to use a TDB instance programmatically inside m

Initializing TDB/JenaSystem properly

2016-04-12 Thread Enrico Daga (enridaga)
… Here I got confused. I also tried to force JenaSystem.init(); in my main class, with the same behaviour. I am using the following maven artefacts: jena-tdb:3.0.1 jena-core:3.0.1 jena-arq:3.0.1 Maybe I am missing something? Thank you for any hint! Enrico — Enrico Daga (enridaga) http

Re: Streaming a ResultSet as RDF using a custom vocabulary

2015-10-16 Thread Enrico Daga (enridaga)
the older type Map1<> if you want to use my suggestion. > I am sorry for any confusion. > > --- > A. Soroka > The University of Virginia Library > >> On Oct 15, 2015, at 12:00 PM, Enrico Daga (enridaga) >> wrote: >> >> Thank you for your rep

Re: Streaming a ResultSet as RDF using a custom vocabulary

2015-10-15 Thread Enrico Daga (enridaga)
documentation/javadoc/arq/org/apache/jena/query/ResultSetFormatter.html#output-java.io.OutputStream-org.apache.jena.query.ResultSet-org.apache.jena.sparql.resultset.ResultsFormat-> > > --- > A. Soroka > The University of Virginia Library > >> On Oct 14, 2015, at 6:39 PM, E

Re: Streaming a ResultSet as RDF using a custom vocabulary

2015-10-14 Thread Enrico Daga (enridaga)
FYI, I opened a question in StackOverflow as well: http://stackoverflow.com/questions/33136916/streaming-a-resultset-as-rdf-using-a-custom-vocabulary <http://stackoverflow.com/questions/33136916/streaming-a-resultset-as-rdf-using-a-custom-vocabulary> — Enrico Daga (enridaga

Streaming a ResultSet as RDF using a custom vocabulary

2015-10-14 Thread Enrico Daga (enridaga)
alizers I have seen the StreamRDF interface, but I am not very clear about how to use it effectively. What could be a correct approach in this scenario? Thank you, Enrico — Enrico Daga (enridaga) http://www.enridaga.net <http://www.enridaga.net/> Il budda e’ nel parco.

Re: Jena / Stanbol success stories?

2014-11-25 Thread Enrico Daga
The Linked Open Data endpoint of The Open University is built on top of Jena Fuseki. http://data.open.ac.uk/ Best, Enrico -- Enrico Daga Project Officer - Linked Data KMi - Knowledge Media Institute The Open University email: enrico.d...@open.ac.uk skype: enri-pan On 25 November 2014 at 18:11

Re: Fuseki configuration: custom content-type(s)

2013-07-22 Thread Enrico Daga
Hi Andy, thank you for your reply, On 21 July 2013 13:23, Andy Seaborne wrote: > Hi Enrico, > > > On 17/07/13 16:20, Enrico Daga wrote: > >> Hi all, >> >> I encountered two use cases wrt Fuseki configuration and content-types. >> >> 1. I was wonde

Fuseki configuration: custom content-type(s)

2013-07-17 Thread Enrico Daga
in advance for any insight. Enrico -- Enrico Daga -- http://www.enridaga.net skype: enri-pan

Re: Inserted xsd:int and found xsd:integer

2013-07-09 Thread Enrico Daga
there are 13 derived types of xsd:decimal, from xsd:integer on down) but > "28"^^xsd:int would not match "28"^^xsd:integer without some cost. > > Inlining the value really speeds up numerical filters like > >FILTER ( ?x < 56 ) >FILTER ( ?x >

Re: Inserted xsd:int and found xsd:integer

2013-07-09 Thread Enrico Daga
ain datatypes into the Node IDs in order to speed up > common datatype computations it needs to normalize derived datatypes to > the appropriate base type. So as in your example anything derived from > xsd:integer will be canonicalized to the xsd:integer form. > > Rob > > > On

Inserted xsd:int and found xsd:integer

2013-07-08 Thread Enrico Daga
ak (and I want the data to be consistent with the legacy back-end). Any advise? Should I open a bug towards 0.2.8? ;) Thank you all, Enrico -- Enrico Daga -- http://www.enridaga.net skype: enri-pan