Hi Ryan,

there is no "term graph" to be found via Google. From Jena 5.0 on, the
default in-memory Graph in Jena will treat typed literals everywhere as
described under "literals term equality" in
https://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal.

Before Jena 5, the default in-memory graph "indexed" object nodes based on
their values for typed literals, and methods like Graph#find and
Graph#contains found matches based on the values.

As far as I know, Fuseki always evaluated SPARQL with the
standard-compliant literal term equality.
But if one executed a query via the query API on the Jena 4 in-memory
graphs, the query execution would use object value equality.

I hope my explanation was roughly correct and helpful.

Arne




Shaw, Ryan <[email protected]> schrieb am Mi., 20. März 2024, 13:32:

>
> > On Mar 20, 2024, at 5:05 AM, Andy Seaborne <[email protected]> wrote:
> >
> > ** Term graphs
> >
> > Graphs are now term graphs in the API or SPARQL. That is, they do not
> match "same value" for some of the Java mapped datatypes. The model API
> already normalizes values written.
> >
> > TDB1, TDB2 keep their value canonicalization during data loading.
> >
> > A legacy value-graph implementation can be obtained from GraphMemFactory.
>
> Can someone point me to an explanation of what this means? I am not
> familiar with the terminology of "term graph" and "value graph" and a quick
> web search turns up nothing that looks relevant.
>
>
>

Reply via email to