
Hi Steve,
the Data Graph collection type is designed for editing arbitrary instances, yet you first need to tell the system which instances you want to allow the users to create. To do that, go to your Ontology's "Home" resource and switch the form from Metadata to GraphQL Schema. There you can select the *public classes* - add all classes that you want to allow editing for. It's sufficient to declare the superclasses there if you have subclasses too.
FWIW this is mentioned in the page where you create new Data
Graphs. Obviously this wasn't clear enough so do you have
suggestions on how to make it clearer?

HTH
Holger
--
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/CAGUep85WKJ%2B5CrFT0dmEnQMSTxrMhVud9CebzGVAJRXApLjrHQ%40mail.gmail.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/ea2c3f33-1f26-16e1-ade4-f7f735b7952e%40topquadrant.com.
In the upper right corner of that form you see the Settings (cog) button. Probably you have Merged View on, which you could deactivate. In any case, there is also a * option "Also show properties that have no values" which should make these missing fields visible.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGUep87RKqw8i5vT_x6woduMs-JH_tzLSonrMxtSBmqx1tBo%3Dw%40mail.gmail.com.
On Sep 16, 2020, at 8:09 PM, Holger Knublauch <hol...@topquadrant.com> wrote:
Hi Steve,
the Data Graph collection type is designed for editing arbitrary instances, yet you first need to tell the system which instances you want to allow the users to create. To do that, go to your Ontology's "Home" resource and switch the form from Metadata to GraphQL Schema. There you can select the *public classes* - add all classes that you want to allow editing for. It's sufficient to declare the superclasses there if you have subclasses too.
FWIW this is mentioned in the page where you create new Data Graphs. Obviously this wasn't clear enough so do you have suggestions on how to make it clearer?
<pnhfgebmcbddadbj.png>
HTH
Holger
On 17/09/2020 09:57, Steve Ray wrote:
Hi,I'm ramping up on using SHACL for some new modeling I'm doing, and decided to try it using EDG (6.4.0). I defined a simple schema, and then went to create a data graph that includes that schema. Try as I might, I could not convince EDG to let me press the "New" button in the classes and instances Layout, to make some instances. It is constantly greyed out.
<image.png>
In the end, I bludgeoned it into having instances by defining them in Visual Studio Code, and importing the file, but obviously that is not a good way to proceed. What am I doing wrong?
One more piece of information: The "New" button is not greyed out when I am in the ontology graph, but then it warns me that if I create instances there, the properties will be read-only.
I'm attaching the two test files in case that helps. They are short.
Steve
--
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/CAGUep85WKJ%2B5CrFT0dmEnQMSTxrMhVud9CebzGVAJRXApLjrHQ%40mail.gmail.com.
--
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/ea2c3f33-1f26-16e1-ade4-f7f735b7952e%40topquadrant.com.
On Sep 16, 2020, at 8:28 PM, Holger Knublauch <hol...@topquadrant.com> wrote:
In the upper right corner of that form you see the Settings (cog) button. Probably you have Merged View on, which you could deactivate. In any case, there is also a * option "Also show properties that have no values" which should make these missing fields visible.
Holger
On 17/09/2020 10:19, Steve Ray wrote:
Thanks for the quick response, Holger. I tried going to the Ontology graph, clicked the little House icon (that's the Home button, right?), but the "Merged View" pull-down shows a No-Entry icon when I hover over it.
<image.png>
You did mean the Ontology graph and not the Data Graph, correct?
Steve
On Wed, Sep 16, 2020 at 5:09 PM Holger Knublauch <hol...@topquadrant.com> wrote:
Hi Steve,
the Data Graph collection type is designed for editing arbitrary instances, yet you first need to tell the system which instances you want to allow the users to create. To do that, go to your Ontology's "Home" resource and switch the form from Metadata to GraphQL Schema. There you can select the *public classes* - add all classes that you want to allow editing for. It's sufficient to declare the superclasses there if you have subclasses too.
FWIW this is mentioned in the page where you create new Data Graphs. Obviously this wasn't clear enough so do you have suggestions on how to make it clearer?
<pnhfgebmcbddadbj.png>
HTH
Holger
On 17/09/2020 09:57, Steve Ray wrote:
Hi,I'm ramping up on using SHACL for some new modeling I'm doing, and decided to try it using EDG (6.4.0). I defined a simple schema, and then went to create a data graph that includes that schema. Try as I might, I could not convince EDG to let me press the "New" button in the classes and instances Layout, to make some instances. It is constantly greyed out.
<image.png>
In the end, I bludgeoned it into having instances by defining them in Visual Studio Code, and importing the file, but obviously that is not a good way to proceed. What am I doing wrong?
One more piece of information: The "New" button is not greyed out when I am in the ontology graph, but then it warns me that if I create instances there, the properties will be read-only.
I'm attaching the two test files in case that helps. They are short.
Steve
--
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/CAGUep85WKJ%2B5CrFT0dmEnQMSTxrMhVud9CebzGVAJRXApLjrHQ%40mail.gmail.com.
--
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/ea2c3f33-1f26-16e1-ade4-f7f735b7952e%40topquadrant.com.
--
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/CAGUep87RKqw8i5vT_x6woduMs-JH_tzLSonrMxtSBmqx1tBo%3Dw%40mail.gmail.com.
--
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/7b662f45-3c98-5509-e81a-6b9488f4c1c4%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/7b662f45-3c98-5509-e81a-6b9488f4c1c4%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/9E7151C0-9C3A-426A-8238-7D8ED4C4A4CE%40topquadrant.com.