w3c / cogai

for work by the Cognitive AI community group
Other
53 stars 24 forks source link

How can one update chunk properties prefixed with an @? #32

Open tidoust opened 3 years ago

tidoust commented 3 years ago

Added as an editor's note in PR #29: how can one update a chunk property prefixed with an @? Current @do update rules exclude @ properties from the list of properties updated in the module buffer.

However, it seems useful to update properties such as @subject, @object or @context. How can one do that?

draggett commented 3 years ago

Perhaps we can simply allow updates to specific @ properties such as @subject, @object and @context.

See also the use of @ with map, see:

   https://www.w3.org/Data/demos/chunks/chunks.html#compilation 

That involves a means to map @ names in rule to other names, so that rules can be manipulated as a collection of facts.