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.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
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
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
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/>
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
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
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.
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
/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
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
/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
… 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
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
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
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
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.
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
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
in advance for any insight.
Enrico
--
Enrico Daga
--
http://www.enridaga.net
skype: enri-pan
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 >
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
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
23 matches
Mail list logo