> On 20 May 2020, at 06:50, Rob Atkinson <[email protected]> wrote:
> 
> A general question is what EDG functions and editor components need shapes to 
> work properly  - GraphQL for sure, Search (?)  - Classes and instances dont 
> seem to need to to display, but editing needs property shapes?

Basically, “everything”.

Most importantly, the Form panel needs property shapes to display property 
values.

> I have a small ontology with nothing remotely fancy. It works well enough in 
> the Classes and Instances view in EDG (as long as data is present in graph, 
> not in a include).
> 
> If I use TBC to generate shapes it throws a Null  Pointer Error and creates a 
> shapes graph with no shapes in it. (this seems to happen to about 50% of 
> ontologies i try with this - most of them being externally source standard 
> ontologies)
> There is no further clue - there is a dialog but cant get any details beacuse 
> another dialog comes up with "conversion successful" and if you dismiss that 
> the error goes away too. No error is in the Error log, so cant access it that 
> way.

Okay. We test this feature with various examples and I have not seen this 
happen. Ontologies being what they are, our tests can cover only a selection of 
the possible cases. So sometimes there are bugs.

Can you share your ontology, or better yet, reduce it to a minimal example that 
triggers the problem, so that we can investigate, fix any bugs for the next 
release, and perhaps advice on what specifically triggers the bug in the 
current release?

> If i load the Ontology in EDG, importing via owk:imports into an empty 
> Ontology project - then run the Transform/ConvertOWL to SHACL it creates a 
> whole bunch of cruft like:
> 
>  sh:PrefixDeclaration  rdf:type  sh:NodeShape ;
>         sh:property  _:b38 ;
>         sh:property  _:b39 .
> 
> i.e. its applying the rules to stuff i guess comes from   owl:imports  
> <http://topbraid.org/teamworkconstraints> ;   

Which version of EDG is this? In 6.3.2, “Convert OWL Axioms to SHACL 
Constraints” creates URIs for property shapes and not blank nodes as shown in 
your snippet, so I'm confused as to what steps exactly you took.

Richard

-- 
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/60C72962-5DD8-467B-8A49-AE08F6B8EFF6%40topquadrant.com.

Reply via email to