Yep, that did the trick. owl:import the ontology/shapes file solved 
everything. Thank you for helping!

Op dinsdag 21 juni 2022 om 10:42:42 UTC+2 schreef Rik - CROW:

> Aha, that's definitely worth investigating! Thanks! 
>
> Op maandag 20 juni 2022 om 01:30:59 UTC+2 schreef Holger Knublauch:
>
>>
>> On 2022-06-17 5:33 pm, Rik - CROW wrote:
>>
>> 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 <[email protected]> wrote:
>>>
>>> Hi Holger, 
>>>
>>> Thanks for you reaction. And  I will try to be more clear. 
>>>
>>> In this repo 
>>> <https://github.com/Stichting-CROW/imbor/tree/master/docs/uitwisseling_rdf/files/temp>are
>>>  
>>> three Turtle files (couldn't attach them due to their size):
>>>
>>>    1. Ontology(includingShapes).ttl 
>>>    2. Dataset.ttl (my instances)
>>>    3. 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 [email protected].
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/d58cdea3-531f-4faa-bb48-c583b4e2656fn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/d58cdea3-531f-4faa-bb48-c583b4e2656fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> <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 [email protected].
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/2757deb4-b8c1-4d45-b77b-1de68b887792n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/2757deb4-b8c1-4d45-b77b-1de68b887792n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/40ce0df5-989a-4d2c-9d37-58358a7bf997n%40googlegroups.com.

Reply via email to