In addition to what Irene said, values can also be set by writing Edit Rules. 
It requires a little coding but can read adds/deletes In real time and set 
values based on what it sees. These are seen as extensions of the EDG app, not 
part of the ontology, and must be deployed as code by a System Admin.

Cheers,
David

> On 1 Feb 2021, at 21:01, Irene Polikoff <ir...@topquadrant.com> wrote:
> 
> If you are already using the URI counter, then the simplest way is to create 
> a property value rule for skos:notation that would infer the value from the 
> URI by taking the local part of the URI. 
> 
> Property value rule values are inferred dynamically without being persisted. 
> They are available for query. You would not be able to update them using a 
> form as such fields are not editable. You could, however, add a value for a 
> property backed by a rule using the source code. In this case, if the 
> inferred value is different, you would get two values.
> 
> If you want such rule-based values to be physically stored, you can 
> periodically run the inferencing under Transform tab to persist these values.
> 
>> On Feb 1, 2021, at 3:53 PM, Dan Segal <dan.segal.w...@gmail.com> wrote:
>> 
>> Hello,
>> 
>> In EDG, is there a way to auto-populate the value of a datatype property?
>> 
>> For example, let's say we have an attribute such as skos:notation .
>> 
>> We want to auto-populate the attribute at the time that we create an 
>> Instance; for example, with a sequential number value  (similar to the 
>> counter method used when constructing URIs), so that the resulting graph 
>> would contain statements such as:
>> 
>> example:1000 skos:notation 1000.
>> example:1001 skos:notation 1001.
>> example:1002 skos:notation 1002.
>> 
>> (The predicate does not need to match the URI counter.  It just needs to be 
>> a unique, and preferably sequential, value).
>> 
>> Dan 
>> 
>> 
>> 
>> -- 
>> 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/3ee513ef-21cb-4eab-ba43-98970e845db1n%40googlegroups.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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/E34923BA-95A9-43E8-8C06-EC4BCB2817EB%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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/60FDF8C9-5A14-48ED-8B66-4B0A27AA0EFC%40topquadrant.com.

Reply via email to