From a3eb7e16a727849c58cbabe3b1b9ef64b6f740f6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 26 May 2025 13:02:00 +0200 Subject: restructure PEG for simpler adding SemWord --- _markdown.qmd | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to '_markdown.qmd') diff --git a/_markdown.qmd b/_markdown.qmd index 80edfc1..10572e1 100644 --- a/_markdown.qmd +++ b/_markdown.qmd @@ -220,35 +220,32 @@ as in @fig-def-extensions. Syntax newly introduced as part of Semantic Markdown is marked with a dotted frame. -*FIXME: mention and draw extended LinkedWordsX as well.* - ::: {#fig-def-extensions} -![](syntax/AnnotatedWordsX.svg) +![](syntax/KeyWordX.svg) + +![](syntax/PrefixDefinition.svg) -Syntax of `AnnotatedWords` and `LinkedWords`, extended with `SemWords`. +Syntax of derived `KeyWord` and new block `PrefixDefinition`. ::: -The new `SemWords` are components in the RDF language, -which is described further in @sec-rdf; -either an angle-bracketed `Uri` or a `Curie`. -Each component has an optional prefix -to denote whether it is an RDF subject, predicate or object. -(Again, these RDF terms are described further in @sec-rdf). -See @fig-def-additions for their syntax diagrams. +The above changes mainly introduces the new `SemWord` +which is either an angle-bracketed `Uri` or the new `Curie`, +optional prefixed with the new `SEMPREFIX`. +(These new terms relate to the metalanguage RDF +discussed briefly in @sec-rdf). +See @fig-def-additions for syntax diagrams of the new syntax. ::: {#fig-def-additions} -![](syntax/SemWords.svg) - ![](syntax/SemWord.svg) ![](syntax/Curie.svg) ![](syntax/SEMPREFIX.svg) -Syntax of `SemWords`, `SemWord`, `Curie` and `SEMPREFIX`. +Syntax of `SemWord`, `Curie` and `SEMPREFIX`. ::: -- cgit v1.2.3