metanorma / tex2mn

Write Metanorma documents in LaTeX
https://www.metanorma.com
MIT License
2 stars 0 forks source link

Properly use RDF's about #67

Open paolobrasolin opened 4 years ago

paolobrasolin commented 4 years ago

Currently we're trusting this structure:

  <subsection inlist="toc" labels="LABEL:paddy" xml:id="S0.SS1">
    <!-- ... -->
    <rdf about="" content="paddy rice" property="alt"/>
    <rdf about="" content="rough rice" property="alt"/>
    <rdf about="" content="cargo rice" property="deprecated"/>
    <rdf about="" content="rice" property="domain"/>
    <!-- ... -->
  </subsection>

Having about="#S0.SS1" would make more sense.

An alternative would be to leverage the tree structure and identify the subject attaching an RDF attribute directly on subsection keeping the properties as children.