None of the Jena provided implementations use statement IDs, that includes both
TDB1 and TDB2 which both just store quads directly
Rob
On 18/09/2018, 13:15, "ajs6f" wrote:
>>
>> Not in general, no, although some specific DatasetGraph implementations
may.
>
> Any idea where
>>
>> Not in general, no, although some specific DatasetGraph implementations may.
>
> Any idea where I should look?
Nope. None of the in-memory implementations do this to my knowledge, because
they needn't. I don't know if either TDB1 or -2 do, but I can't think of a
reason they would.
It's
> On 18. Sep 2018, at 21:40, ajs6f wrote:
That was quick!
> Not in general, no, although some specific DatasetGraph implementations may.
Any idea where I should look?
> There is some API support for reification:
>
> https://jena.apache.org/documentation/notes/reification.html
>
> Does
Hi,
a questions (and my apologies upfront that I don’t take the time to dive into
the code myself, but it would take me a lot of time):
Does Jena happen to add an internal ID to each quad (statement+graphName)?
Some databases do so for internal administrative purposes (I believe) and so I
Oh I see Adam, great. yes well in that case the order should not be too
tall. I will take a look at it in the morning.
On Tue, Sep 18, 2018 at 5:40 PM ajs6f wrote:
> Marco--
>
> I think I didn't express myself well. I'm not asking you to do any code
> updates of any kind-- I'm asking you to
Marco--
I think I didn't express myself well. I'm not asking you to do any code updates
of any kind-- I'm asking you to take a look at the updates _I've_ made
available in that PR, try them out, and see if they fix your problem. Again, if
that seems like a bit too tall an order, that's okay--
I will take a look at it over the weekend, haven't done code updates to the
new jena repo. not sure if I can submit changes in my current setup, but
am happy to learn about it.
On Tue, Sep 18, 2018 at 4:47 PM ajs6f wrote:
> Marco--
>
> I've got a PR at https://github.com/apache/jena/pull/471.
Marco--
I've got a PR at https://github.com/apache/jena/pull/471. Until we hear from
Andy, could you perhaps try cloning that PR/branch and trying the new code out?
If that is not a reasonable piece of work for you, no problem, but it would
help greatly in validating that we've found and fixed
Use one of the .addOrderBy() methods on the Query object -
https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/Query.html#addOrderBy-org.apache.jena.sparql.expr.Expr-int-
If you are building lots of queries programmatically the higher level Query
Builder API may be more
Hello everyone,
how is it possible to build a query like:
SELECT DISTINCT * WHERE
{
?s skos:broader ?o
}
ORDER BY ?s
with the Jena ARQ API (org.apache.jena.sparql.syntax.*)
The first part would be achieved by:
final ElementTriplesBlock baseCriteria = new
well spotted Adam, I think that nails it. I guess I was lucky with my setup
to avoid this glitch so far. Don't want to anticipates Andy's call here but
what's your plan? wrap the call into a transaction to fix it? If so I'd
like to see it as an option in the code to work with tdb2 access methods
11 matches
Mail list logo