You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2023/01/07 14:46:31 UTC
[jena] branch main updated: GH-1710 Add note about isomorphism support in RDF-star
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new fccb89ff8b GH-1710 Add note about isomorphism support in RDF-star
new da9db814df Merge pull request #1711 from Ostrzyciel/isomorphism-docs
fccb89ff8b is described below
commit fccb89ff8bdad0ced0dfbb2b8a030b40d8663d52
Author: Ostrzyciel <os...@gmail.com>
AuthorDate: Sat Jan 7 09:22:03 2023 +0100
GH-1710 Add note about isomorphism support in RDF-star
---
jena-core/src/main/java/org/apache/jena/graph/Graph.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/jena-core/src/main/java/org/apache/jena/graph/Graph.java b/jena-core/src/main/java/org/apache/jena/graph/Graph.java
index 323141dd8e..1eeb95dfe4 100644
--- a/jena-core/src/main/java/org/apache/jena/graph/Graph.java
+++ b/jena-core/src/main/java/org/apache/jena/graph/Graph.java
@@ -154,6 +154,12 @@ public interface Graph
* <a href="http://www.w3.org/TR/rdf-concepts#section-Graph-syntax">
* http://www.w3.org/TR/rdf-concepts#section-Graph-syntax
* </a>
+ *
+ * Note: this implementation does not handle correctly blank nodes in
+ * quoted triples (RDF-star). If you need to work with RDF-star,
+ * use the slower implementation in
+ * {@link org.apache.jena.sparql.util.IsoMatcher}.
+ *
* @param g Compare against this.
* @return boolean True if the two graphs are isomorphic.
*/