Skip to content

Commit 5def260

Browse files
committed
Removed references to non existing example.
1 parent a03713e commit 5def260

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/index.adoc

+9-10
Original file line numberDiff line numberDiff line change
@@ -77,24 +77,18 @@ uses a native tree structure while RDF is graph-based. For compound
7777
objects OpenMath-XML can rely on the tree structure to represent syntax
7878
trees of OpenMath expressions.
7979

80-
As an example Figure #fig:openmath-xml-baum[[fig:openmath-xml-baum]]
81-
shows on the left side the abstract syntax tree of the expression
82-
latexmath:[$sin(x + y)$] and on the right side the respective
83-
OpenMath-XML encoding. For the representation of application objects
84-
(`OMA`) in RDF the additional property `:arguments` is required. It
80+
For the representation of application objects (OMA) in RDF the additional property `:arguments` is required. It
8581
references a list of arguments while the property `:operator` determines
8682
the function that is applied to to the arguments. A similar
8783
representation is also used for the other compound objects _binding_
8884
(OMBIND), _attribution_ (OMATTR) and _error_ (OME). This is in line with
8985
the OpenMath JSON encoding that also uses additional properties to
9086
represent parent-child relationships.
9187

92-
The resulting RDF representation of the expression is shown in
93-
Listing #lst:openmath-rdf[[lst:openmath-rdf]]. Caused by the additional
94-
properties the syntax is less compact as with the XML format but offers
95-
stronger semantics. For example, the meaning of the child elements is
96-
directly expressed through the properties `:operator` and `:arguments`.
88+
The resulting RDF representation of the expression `sin(x + y)` is shown in following example.
9789

90+
[#lst-openmath-rdf-example]
91+
.Example: RDF encoding of `sin(x + y)`
9892
[source,turtle]
9993
....
10094
@prefix : <http://numerateweb.org/vocab/math#> .
@@ -111,6 +105,11 @@ directly expressed through the properties `:operator` and `:arguments`.
111105
) .
112106
....
113107

108+
Caused by the additional
109+
properties the syntax is less compact as with the XML format but offers
110+
stronger semantics. For example, the meaning of the child elements is
111+
directly expressed through the properties `:operator` and `:arguments`.
112+
114113
=== References
115114

116115
References are used within the XML and binary encodings to share

0 commit comments

Comments
 (0)