Thank you both.
> On Feb 9, 2022, at 1:42 PM, Andrii Berezovskyi wrote:
>
> Ryan,
>
> Here is an example of how we use it in JUnit:
>
Ryan,
Here is an example of how we use it in JUnit:
https://github.com/eclipse/lyo/blob/aa3b18e4f28f3960d3a86a0b54151dccec2f139f/core/oslc4j-jena-provider/src/test/java/org/eclipse/lyo/oslc4j/provider/jena/JenaModelHelperTest.java#L64
And here is an AssertJ helper we wrote:
On 09/02/2022 16:09, Shaw, Ryan wrote:
Thank you, Andy.
I agree that working on the triple level is the correct way to approach this. I
was looking for something quick and dirty that would work with textual diffing
by a VCS, hence my focus on the blank node labels.
Are there any examples
I ran across an API call the other day that checks isomorphism. See the
topbraid shacl library junit test runner. I think it's called by the dash test
case class to make sure the resulting graph matches the expected response.
On Feb 9, 2022 11:10, "Shaw, Ryan" wrote:
Thank you, Andy.
I
Thank you, Andy.
I agree that working on the triple level is the correct way to approach this. I
was looking for something quick and dirty that would work with textual diffing
by a VCS, hence my focus on the blank node labels.
Are there any examples of how to use the isomorphism utilities in
On 04/02/2022 19:09, Shaw, Ryan wrote:
Hello,
I am trying to experiment with generating diffable N-Triples or flat Turtle
files.
...
Thanks,
Ryan
Info: There is work on a charter for
"RDF Dataset Canonicalization and Hash Working Group"
https://w3c.github.io/rch-wg-charter/
The end
Hi Ryan,
There is an option when creating a parser to provide different policies
for generating the internal system identfier for a blank node.
RDFParser.create()..labelToNode(...)...
It shouldn't depend on JenaParameters.disableBNodeUIDGeneration but
there is a bug in the Turtle parser
> On Feb 4, 2022, at 4:03 PM, Andy Seaborne wrote:
>
> Ryan,
>
> Please, could you show example code that illustrates what you are seeing?
> Presumably it isn't a mix in one parser run because it looks like "Annn" come
> from a different place than UUIDs Ids.
Ryan,
Please, could you show example code that illustrates what you are
seeing? Presumably it isn't a mix in one parser run because it looks
like "Annn" come from a different place than UUIDs Ids.
Which version of Jena are you running?
Andy
On 04/02/2022 19:09, Shaw, Ryan wrote:
Hi Ryan,
Isn't it easier to skolemize the bnodes into URIs that you control?
If you only have URIs, then you could even hash the graph with SPARQL:
https://stackoverflow.com/questions/65798817/how-to-generate-a-hash-of-an-rdf-graph-using-sparql
It works but probably doesn't scale that well.
10 matches
Mail list logo