opencaesar / oml

Ontological Modeling Language (OML)
https://opencaesar.github.io/oml/
Apache License 2.0
24 stars 4 forks source link

[BUG] - Spec doc has extra ticks in all code snippets #112

Closed mprather closed 11 months ago

mprather commented 11 months ago

Description

The spec documentation for oml 2 has lot of extra ticks in all code snippets. This looks like a bad parse resulting in confusing/incorrect examples.

`@`dc:title "Example1 Ontology"
`@`dc:date "2/15/2021"^^xsd:dateTime
`` `<`http://company.com/example1#`>` `as` example1 `{`
    `` `<`http://purl.org/dc/elements/1.1/`>` `as` dc
    `` `<`http://www.w3.org/2000/01/rdf-schema#`>` `as` rdfs
    `` `<`http://www.w3.org/2001/XMLSchema#`>` `as` rdfs
    `` `<`http://io.opencaesar/viewpoint#`>` `as` viewpoint
    `` `<`http://company.com/example2#`>` `as` example2
    `@`rdfs:comment "This is member1"$en
    `@`rdfs:comment "C’est member1"$fr
  `@`rdfs:seeAlso example2:Member2
    `` Member1
    `@`viewpoint:show  // a missing literal is interpreted as Boolean true literal
    `ref` `` example2:Member2
`}`

Expected Behavior

Fix docs to remove unnecessary ticks.

melaasar commented 11 months ago

Fixed this issue in the spec: https://www.opencaesar.io/oml