w3c / cogai

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

Chunks syntax: equivalence of links definitions #12

Open tidoust opened 4 years ago

tidoust commented 4 years ago

There are three main ways to describe a link between chunks:

  1. A chunk property references another chunk identifier as in:

    person John { likes Mary }
    person Mary {}
  2. The compact form is used:

    person John {}
    person Mary {}
    John likes Mary
  3. An explicit link gets created:

    person John {}
    person Mary {}
    likes {
    @subject John
    @object Mary
    }

The intro to chunks suggests that these syntaxes are equivalent, but I'm not sure what that means in practice:

If not, what does "equivalent" mean?