Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Turtle-like alternative concise concrete syntax for OML #149

Open
NicolasRouquette opened this issue Nov 6, 2017 · 0 comments
Open

Turtle-like alternative concise concrete syntax for OML #149

NicolasRouquette opened this issue Nov 6, 2017 · 0 comments

Comments

@NicolasRouquette
Copy link
Member

Currently, the OML concrete syntax involves a lot of repetition.

For example:

open terminology <http://example.org/foo> {
  ...
  concept A
  A extendsConcept B
  A extendsConcept C
  A extendsConcept D
}

A Turtle-like syntax could help avoid repeating the concept like this:

open terminology <http://example.org/foo> {
  ...
  concept A [
    extendsConcept B
    extendsConcept C
    extendsConcept D
  ]
}

Note that it is important to retain the possibility of both syntaxes since OML statements can be asserted individually; for example:

open terminology <http://example.org/foo> {
  ...
  concept A [
    extendsConcept B
    extendsConcept C
  ]
}
open terminology <http://example.org/bar> {
  extends <http://example.org/foo>
  A extendsConcept D
}
@NicolasRouquette NicolasRouquette changed the title Turtle-like concise concrete syntax for OML Turtle-like alternative concise concrete syntax for OML Nov 6, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant