Hi Holger, thanks for your reply. In this case, the two attributes may be linked by an existing triple (ex:USA ex:region ex:NorthAmerica). In other cases, they may be linked by some SHACL property value rule or custom SPARQL query.
My question is when a user enters value in one attribute, how can we automatically populate the other attribute in the user interface? Do I just need to set "sh:values" for the 2nd attribute? Could you please provide an example? On Thursday, July 28, 2022 at 8:54:37 AM UTC-4 [email protected] wrote: > Hi Fan Li, > > What would be the formula (in prose) to infer the region from a country? > If that info is already stored as a triple such as ex:USA ex:region > ex:NorthAmerica then you wouldn’t need an inference. But without such > triples, where would the sh:values rule look up that knowledge? > > Holger > > > On 28 Jul 2022, at 7:29 am, Fan Li <[email protected]> wrote: > > Sorry if this is a trivial question. I am picking up SHACL inference in > EDG again. We'd like users to select a country (e.g. United States) and > automatically infer the region it belongs to (e.g. North America). How to > accomplish this in EDG? Thanks! > > -- > 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/049f1b19-1fa5-4261-a21f-470b9aa4488dn%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/049f1b19-1fa5-4261-a21f-470b9aa4488dn%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]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/acd10941-e10d-41b5-bca3-1147bae6bf4en%40googlegroups.com.
