EDG ontology "on property: [Missing]"

10 views
Skip to first unread message

Stefan Verweij

unread,
Jan 31, 2020, 11:09:02 AM1/31/20
to TopBraid Suite Users
Hi,


I have a class in my ontology and one of the property shape constraints is missing (I adjusted the path by accident by deleting a character in the sh:path - and after that I deleted the property). However, after deletion the path to the property still showed up in both the UI and the source code

issue_property_missing.png


Therefore, I tried to delete the property in the source code as well, but the UI still shows the "on property: [Missing]" shape after removal of the  sh:property test:class1-property1 ; line. If I click on that shape in the UI I get redirected to the Example domain. I tried to find the property in the search box "Find class or property by text", but there it does not show up either. How can I remove this missing property shape?


Kind regards,
Stefan

Irene Polikoff

unread,
Jan 31, 2020, 11:50:44 AM1/31/20
to topbrai...@googlegroups.com
I can’t quite figure out what you did and what is your current state.

  • You had a property shape test:class1-property
  • And you removed a value from its sh:path
  • As a result, you have an illformed property shape that does not have a path.
  • You then tried to update the class to remove this shape from the class

Is this correct?

What exactly did you change in the source code?

Deleting a triple {test:class sh:property test:class1-property}  does not delete a property shape. It removes a connection between test:class and a property shape. The qname of the property shape resource is test:class1-property. It seems that this is the resource you need to delete. 

If you delete it using the Delete button on its form, then, EDG will make sure that any references to it are deleted.

Where are you seeing the “missing shape” message? If it is on the classes’s form, then the connection is still there.

It would help if you send the source code for the class and may be for the entire ontology.


On Jan 31, 2020, at 11:09 AM, Stefan Verweij <stefan....@dupont.com> wrote:

Hi,


I have a class in my ontology and one of the property shape constraints is missing (I adjusted the path by accident by deleting a character in the sh:path - and after that I deleted the property). However, after deletion the path to the property still showed up in both the UI and the source code

<issue_property_missing.png>


Therefore, I tried to delete the property in the source code as well, but the UI still shows the "on property: [Missing]" shape after removal of the  sh:property test:class1-property1 ; line. If I click on that shape in the UI I get redirected to the Example domain. I tried to find the property in the search box "Find class or property by text", but there it does not show up either. How can I remove this missing property shape?


Kind regards,
Stefan


--
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/219d5c26-b661-4488-961c-41aaeef73488%40googlegroups.com.
<issue_property_missing.png>

Holger Knublauch

unread,
Jan 31, 2020, 6:32:19 PM1/31/20
to topbrai...@googlegroups.com

To delete completely detached objects such as property shapes that you can no longer navigate to, you could fall back to SPARQL UPDATEs.

Holger

--
Reply all
Reply to author
Forward
0 new messages