Thanks, Hogler. I am a little surprised that it requires me to customize 
the form template. I am just curious about the design choice. Is it because 
annotation property is for OWL only and not for SHACL? Should I use regular 
data property instead?

On Sunday, July 28, 2019 at 6:47:53 PM UTC-4, Holger Knublauch wrote:
>
> On 29/07/2019 04:20, Irene Polikoff wrote:
>
> Sorry, I now see that your question was about EDG and I gave you the TBC 
> answer. 
>
> In EDG, forms for classes and properties are pre-defined using SWP. I’ll 
> get someone from the development team to respond.
>
>
> This answer applies to 6.2. One choice, if you are familiar with Turtle 
> syntax, is to enter the values in the Source Code tab, which can be reached 
> using the Open in new browser tab button above the form of the class or 
> property. Any additional property that you enter would then show up under 
> Additional Characteristics.
>
> If you do want to streamline this process, you need to tell the EDG form 
> mechanism about the properties that you want to add. There is no 
> distinction between (OWL) annotation properties or other properties from 
> that perspective. Given that this is about Ontologies (and not instance 
> data), in 6.2 and earlier you need to override the SWP-based form 
> definition. Basically, create a new SWP file in TBC, and add an import to 
> teamwork.ui.ttlx. Navigate to teamwork:SimpleClassFormBody and in the 
> context menu behind ui:overrides click on Create ui:override which produces 
> something like teamwork:SimpleClassFormBody_1. There you can change the 
> ui:prototype to add something like 
>
> <swa:Objects arg:predicate="owl:versionInfo"/>
>
> under the Labels and Description section. After you have refreshed the 
> system registries or restarted, it would then show up like
>
> If you want to put this into an EDG installation, upload the SWP file 
> using Project Upload.
>
> HTH
> Holger
>
>
>
> Sent from my iPhone
>
> On Jul 28, 2019, at 1:47 PM, Irene Polikoff <[email protected] 
> <javascript:>> wrote:
>
> There are two options: 
>
> 1. Position your cursor in the annotations section on the form and right 
> click, you will get a choice of the available annotation properties to add 
> to the form.
>
> 2. Find the property you want to appear on the form in the Properties 
> View. Drag and drop it into the form. This will work for any property and 
> for any resource, not just classes.
>
> Sent from my iPhone
>
> On Jul 27, 2019, at 4:55 PM, Fan Li <[email protected] <javascript:>> 
> wrote:
>
> I think this should be a simple question but I just can't find an answer. 
> How to add annotation properties to ontology classes within EDG?
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/b5dd29e2-a15c-4cb5-aad1-714e129649fe%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/b5dd29e2-a15c-4cb5-aad1-714e129649fe%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/05EDADC2-3F17-4746-B4D4-64C19097F8E0%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/05EDADC2-3F17-4746-B4D4-64C19097F8E0%40topquadrant.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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/0c6d6209-6f83-4165-81d4-c231dcbbe1ef%40googlegroups.com.

Reply via email to