+1.
I have run conversions of different ontologies from different sources and never experienced any of these problems. We would need an example to figure this out.
> On May 20, 2020, at 2:35 AM, Richard Cyganiak <
ric...@topquadrant.com> wrote:
>
>
>
>> On 20 May 2020, at 06:50, Rob Atkinson <
robatki...@gmail.com> 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.
You need SHACL for all asset collection types except for ontologies themselves..
>
>> 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.
I have not seen it generate anything for the system ontologies such as <
http://topbraid.org/teamworkconstraints>.
On the Transform tab, you get to select which of the owl imported graphs should be processed as part of this transformation. If you do not select any of the imported graphs, the transformation will run only for the classes that are located directly in the ontology i.e., the local content.
>
> 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
topbraid-user...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/60C72962-5DD8-467B-8A49-AE08F6B8EFF6%40topquadrant.com.