I solved one problem. Stating the owl:ontology and owl:imports dash: solved the fact the validating file 2 against file 1 did conform (it now fails).
But there are more errors when taking into account inferencing. When I validate file 3 it does come up with the errors (after inferencing).
How does this work?
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/43e911b0-5264-4d58-a161-9fa09ae6e998n%40googlegroups.com.
Wrt qudt shack validation error:
Disappears as soon as I make the qudt ontologies (3x) available in workspace.
|
||||||||||||||||
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/29874212-E339-4481-B0D6-07FDE19C0FF2%40topquadrant.com.
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/d58cdea3-531f-4faa-bb48-c583b4e2656fn%40googlegroups.com.
<shaclvalidate 2 against 1.txt><shaclvalidate 3.txt>
Hi Holger,
Totally understandable. I will investigate further and come back with it.
That said, the general question that I still have is what could cause the fact that combining my data + ontology&shapes in one file delivers other results compared to keep them separated? Any wild ideas?
In general, some SHACL features such as sh:targetClass and sh:class will walk up the class hierarchy and the rdfs:subClassOf triples are expected to be in the data graph. So if your shapes graph contains the class definitions and the class hierarchy they wouldn't be visible at query time in the data graph.
Maybe that's the case here.
Holger
Thanks again for you time.
--Op vrijdag 17 juni 2022 om 01:20:35 UTC+2 schreef Holger Knublauch:
Hi Rik,
Sorry but this goes beyond what I can offer on this mailing list. It is quite hard to sift through MBs of Turtle and fully understand what’s going on here. On a quick look I also don’t see usages of sh:rule or sh:values so I am unclear what role you expect inferencing to have. If you can narrow down your problem into a couple of small files that illustrate what you are trying to validate and what inferences you expect, we may be able to have further input.
Holger
On 16 Jun 2022, at 7:46 pm, Rik - CROW <rik.op...@crow.nl> wrote:
Hi Holger,
Thanks for you reaction. And I will try to be more clear.
In this repo are three Turtle files (couldn't attach them due to their size):
- Ontology(includingShapes).ttl
- Dataset.ttl (my instances)
- Ontology+Dataset.ttl (combined by hand)
When I run: $ shaclvalidate -datafile "Dataset.ttl" -shapesfile "Ontology.ttl", I get as output whats in the file "shaclvalidate 2 against 1.txt" (attached). This correct output, but it does not take into account inferencing.
When I combined file 1 and 2 in file 3 and run $ shaclvalidate -datafile "Ontology+Dataset.ttl", I get as output whats in the file "shaclvalidate 3.txt" (attached). This is what I expect when running the first command.
Thanks again for looking at it.
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/d58cdea3-531f-4faa-bb48-c583b4e2656fn%40googlegroups.com.
<shaclvalidate 2 against 1.txt><shaclvalidate 3.txt>
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/2757deb4-b8c1-4d45-b77b-1de68b887792n%40googlegroups.com.