diff options
| -rw-r--r-- | _markdown.qmd | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/_markdown.qmd b/_markdown.qmd index 32934ee..35e29f3 100644 --- a/_markdown.qmd +++ b/_markdown.qmd @@ -250,10 +250,53 @@ Syntax of `SemWord`, `Curie` and `SEMPREFIX`. ::: +Here is an elaborate example written in Semantic Markdown: + +```markdown +# {=<#artwork> .:Image} Semantics + +Simple ontological annotation: +[This][painting] is not a [pipe]. + +Nested, mixed-use and custom-namespaced annotations: +[[Ceci][painting] n'est pas une [pipe].]{lang=fr bibo:shortDescription} + +[painting]: {wd:Q1061035} + "A painting of a smoking pipe {:depiction}" + +[pipe]: {wd:Q104526} + "A smoking pipe {:depicts}" + +{@default}: foaf + +{bibo}: http://purl.org/ontology/bibo/ + +{wd}: http://www.wikidata.org/entity/ +``` + +...which with filter applied should become this: + +```markdown +--- +# Semantics + +Simple ontological annotation: +[This][painting] is not a [pipe]. + +Nested, mixed-use and custom-namespaced annotations: +[[Ceci][painting] n'est pas une [pipe].]{lang=fr} + +[painting]: https://www.wikidata.org/entity/Q1061035 + "A painting of a smoking pipe" + +[pipe]: https://www.wikidata.org/entity/Q104526 + "A smoking pipe" +``` + ## Suggestions for processors The purpose of these analyses is parsing, -as covered in the follwing chapters. +as covered in the following chapters. To conclude follows some general suggestions for parsing the Markdown extension Semantic Markdown. |
