Ok, this does make a difference - once a Data Graph is used, this particular script constraint fails to evaluate correctly.
I have understood what the problem is (in the code) and will provide a fix for 7.5.1 in the coming days. The problem had to do with the fact that the context graph provided to the ADS engine in this case did not include the owl:imports, and therefore the Ontology became invisible.
Meanwhile I thank you very much for your patience. In this case, small details mattered to be able to reproduce it.
Holger
PS: I am not aware of a work-around for now. If you need this fix urgently, please file a TSM ticket through our support system so we can check how quickly we could update your SaaS instance with the fix.
> On 2 Mar 2023, at 4:38 pm, Hamid Abdirad <
habdir...@gmail.com> wrote:
>
> I did not use File module. This is the SaaS version, and I imported the file into Ontology, included the ontology into a data graph, and then looked at the included asset instances.
> That is the general workflow we are aiming for, i.e. defining the ADS constraints in the ontology and validating instance data.
>
> Thank you,
> Hamid
>
>
>
> On Thursday, March 2, 2023 at 1:45:38 AM UTC-8 Holger Knublauch wrote:
> This is working for me. I went back to the official 7.5.0 EDG Studio release, added your file to the workspace and opened it as File.
>
> This is what I am getting, and it looks OK. Are you doing exactly the same things?
>
>
> To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/df3595ec-b682-4447-9f87-b1520b40bf30n%40googlegroups.com.