.com]
> Gesendet: Donnerstag, 29. März 2018 09:41
> An: users@jena.apache.org
> Betreff: Re: CONSTRUCT ... ORDER BY
>
> Yes, SELECT.
>
> Or you can use rdf:List to store an ordered list.
> On Thu, 29 Mar 2018 at 09.02, Laura Morales wrote:
>
> > OK, makes sense.
>
, 2018 at 8:47 AM
> From: "Lorenz Buehmann"
> To: users@jena.apache.org
> Subject: Re: CONSTRUCT ... ORDER BY
> Nothing - by specification, CONSTRUCT returns an RDF graph which in fact
> is a *set* of triples. Set -> unordered
>
>
> On 29.03.2018 07:47, Laura Mo
OK, makes sense.
Is there no way however to return a sorted list of triples? Only SELECT can
return sorted results?
Sent: Thursday, March 29, 2018 at 8:47 AM
From: "Lorenz Buehmann"
To: users@jena.apache.org
Subject: Re: CONSTRUCT ... ORDER BY
Nothing - by specification, CONSTRU
Nothing - by specification, CONSTRUCT returns an RDF graph which in fact
is a *set* of triples. Set -> unordered
On 29.03.2018 07:47, Laura Morales wrote:
> I'm running this query
>
>
> CONSTRUCT { ?sbj ex:property ?obj }
> FROM <...>
> WHERE {
> ?sbj a [] ;
>ex:prop
I'm running this query
CONSTRUCT { ?sbj ex:property ?obj }
FROM <...>
WHERE {
?sbj a [] ;
ex:property ?obj .
}
ORDER BY ?obj
but the results are not returned sorted. Actually, it looks like the results
are sorted by ?sbj instead. What am I doing wrong?