You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/05/14 16:01:14 UTC
[GitHub] [jena] afs commented on issue #1867: Inconsitent behavior of Graph#contains and Graph#find for literal nodes in GraphMem and DatasetGraphInMemory
afs commented on issue #1867:
URL: https://github.com/apache/jena/issues/1867#issuecomment-1546931793
Hi @arne-bdt - thanks for the report.
I think you observe the difference because there is a literal in the predicate position (this means it is not possible via the Model API) and the code doesn't handle it as a value-based search on the find route.
SPARQL - when executed in Fuseki - uses DatasetGraphInMemory mostly.
[There is a discussion](https://lists.apache.org/thread/jl6rj08k55xbhznrjwphm009scm9xtbj) of upcoming external changes leading to a possible Jena5.
That would be a good time to switching to term-equality consistently (lead GraphMem in the codebase but not the default choice).
For any new Graph/Dataset, I'm favour of term-equality. _If_ necessary with an overlay of value equality.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org