A number of questions about the process of enabling EDG functions that rely
on shapes
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?
To the point - trying to experiment keeps running into dead-ends.
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.
I'm guessing this is not the preferred way of doing this any more..
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> ;
this doenst seem terribly useful behaviour.
If I import the owl2shacl.ttl and the ontology into a new graph in TBC and
run inferencing I get a different set of largely irrelevanty shapes derived
from the owl2shacl.ttl itself.
So thats three different approaches - none of which generate shapes for
just the ontology, and my EDG environment is still waiting for a solution
before i can even see if it will play nice if it gets the shapes...
in the past I've manually created shapes I need - but I'm over that.
--
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/517f92bc-d361-4a88-abf1-72c5de61eeb3%40googlegroups.com.