... | @@ -105,6 +105,7 @@ Enriched MathML: |
... | @@ -105,6 +105,7 @@ Enriched MathML: |
|
|
|
|
|
## Multiple Operations
|
|
## Multiple Operations
|
|
|
|
|
|
|
|
Original MathML:
|
|
```html
|
|
```html
|
|
<math>
|
|
<math>
|
|
<mi>a</mi>
|
|
<mi>a</mi>
|
... | @@ -118,6 +119,7 @@ Enriched MathML: |
... | @@ -118,6 +119,7 @@ Enriched MathML: |
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Semantically enriched MathML:
|
|
```html
|
|
```html
|
|
<math>
|
|
<math>
|
|
<mrow semantic-type="infixop" semantic-role="addition" id="9" semantic-content="5" semantic-children="8,6">
|
|
<mrow semantic-type="infixop" semantic-role="addition" id="9" semantic-content="5" semantic-children="8,6">
|
... | @@ -137,3 +139,47 @@ Enriched MathML: |
... | @@ -137,3 +139,47 @@ Enriched MathML: |
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Original MathML:
|
|
|
|
```html
|
|
|
|
<math>
|
|
|
|
<mi>a</mi>
|
|
|
|
<mo>+</mo>
|
|
|
|
<mi>b</mi>
|
|
|
|
<mo>∘</mo>
|
|
|
|
<mi>c</mi>
|
|
|
|
<mi>d</mi>
|
|
|
|
<mo>+</mo>
|
|
|
|
<mi>e</mi>
|
|
|
|
<mo>∘</mo>
|
|
|
|
<mi>f</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Semantically enriched MathML:
|
|
|
|
```html
|
|
|
|
<math>
|
|
|
|
<mrow semantic-type="infixop" semantic-role="addition" id="10" semantic-content="1,6" semantic-children="0,13,14">
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="0" semantic-parent="0">a</mi>
|
|
|
|
<mo semantic-type="operator" semantic-role="addition" id="1" semantic-operator="infixop,+" semantic-parent="1">+</mo>
|
|
|
|
<mrow semantic-type="infixop" semantic-role="multiplication" id="13" semantic-content="3" semantic-children="2,12" semantic-parent="13">
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="2" semantic-parent="2">b</mi>
|
|
|
|
<mo semantic-type="operator" semantic-role="multiplication" id="3" semantic-operator="infixop,∘" semantic-parent="3">∘</mo>
|
|
|
|
<mrow semantic-type="infixop" semantic-role="implicit" id="12" semantic-content="11" semantic-children="4,5" semantic-parent="12">
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="4" semantic-parent="4">c</mi>
|
|
|
|
<mrow semantic-type="operator" semantic-role="multiplication" id="11" semantic-children="" semantic-operator="infixop," semantic-parent="11"/>
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="5" semantic-parent="5">d</mi>
|
|
|
|
</mrow>
|
|
|
|
</mrow>
|
|
|
|
<mo semantic-type="operator" semantic-role="addition" id="6" semantic-operator="infixop,+" semantic-parent="6">+</mo>
|
|
|
|
<mrow semantic-type="infixop" semantic-role="multiplication" id="14" semantic-content="8" semantic-children="7,9" semantic-parent="14">
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="7" semantic-parent="7">e</mi>
|
|
|
|
<mo semantic-type="operator" semantic-role="multiplication" id="8" semantic-operator="infixop,∘" semantic-parent="8">∘</mo>
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" id="9" semantic-parent="9">f</mi>
|
|
|
|
</mrow>
|
|
|
|
</mrow>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
``` |