|
|
Some simple examples of embedded semantic tree. Note that for readability the attributes have been abbreviated
|
|
|
|
|
|
Original MathML:
|
|
|
<math>
|
|
|
<mi>5</mi>
|
|
|
<mo>=</mo>
|
|
|
<mi>3</mi>
|
|
|
<mo>+</mo>
|
|
|
<mi>2</mi>
|
|
|
</math>
|
|
|
```html
|
|
|
<math>
|
|
|
<mi>5</mi>
|
|
|
<mo>=</mo>
|
|
|
<mi>3</mi>
|
|
|
<mo>+</mo>
|
|
|
<mi>2</mi>
|
|
|
</math>
|
|
|
```
|
|
|
|
|
|
Enriched MathML:
|
|
|
```html
|
|
|
<math>
|
|
|
<mrow semantic-type="relseq" semantic-role="equality" id="6" semantic-content="1" semantic-children="0,5">
|
|
|
<mi semantic-type="number" semantic-role="integer" id="0" semantic-parent="0">5</mi>
|
... | ... | @@ -20,4 +23,5 @@ Enriched MathML: |
|
|
<mi semantic-type="number" semantic-role="integer" id="4" semantic-parent="4">2</mi>
|
|
|
</mrow>
|
|
|
</mrow>
|
|
|
</math> |
|
|
\ No newline at end of file |
|
|
</math>
|
|
|
``` |
|
|
\ No newline at end of file |