invalid xsd:XMLLiteral warning
Opened this issue · 1 comments
fkleedorfer commented
When loading the om2 ontology with apache jena, you get a warning about one of the literals:
18:54:47 WARN riot :: [line: 12768, col: 74] Lexical form 'The magnitude scale was originally created by Hipparchos of Nicea (160-127 BCE) and was measured by comparing the brightness between stars. Initially this was done inaccurately by eye but is currently done by using photoelectric photometers or even more recently by CCDs. Hipparchos divided the stars into six magnitude (brightness classes), the brightest stars being assigned to the first class and the faintest to the sixth class. By about the middle 1800s it became apparent that the traditional magnitude scale is close to a logarithmic scale with base 2.5. This is due to the fact that the response of the eye is nearly logarithmic. N.R. Pogson formalised the magnitude scale to closely match the traditional (visual) scale. It is now defined as:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">m</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">1</mn></msub> <mo xmlns="http://www.w3.org/1998/Math/MathML">-</mo> <msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">m</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">2</mn> </msub><mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mn xmlns="http://www.w3.org/1998/Math/MathML">-2.5</mn><mi xmlns="http://www.w3.org/1998/Math/MathML">log</mi>
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" linethickness="1">
<mrow xmlns="http://www.w3.org/1998/Math/MathML">
<msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">f</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">1</mn></msub>
</mrow>
<mrow xmlns="http://www.w3.org/1998/Math/MathML"><msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">f</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">2</mn></msub>
</mrow>
</mfrac>
</math>
where <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">m</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">1</mn></msub> <mo xmlns="http://www.w3.org/1998/Math/MathML">-</mo> <msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">m</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">2</mn> </msub></math>
is the magnitude difference between two objects, and <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">f</mi><mn xmlns="http://www.w3.org/1998/Math/MathML">1</mn></msub></math> and <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><msub xmlns="http://www.w3.org/1998/Math/MathML"><mi xmlns="http://www.w3.org/1998/Math/MathML">f</mi><mn
xmlns="http://www.w3.org/1998/Math/MathML">2</mn></msub></math> are the luminous fluxes of the two objects. The magnitude of Vega (╬▒ Lyrae, HD 172167) is
defined to be 0 in all wavelengths and passbands, although in practice this can only be an approximation. The zero point is now defined using multiple standard stars from the north polar sequence (non-variable stars within 2 degrees of the north celestial pole) or secondary standard stars from other parts of
the sky. Please note that the scale is inverted, objects of magnitude 1 have a higher luminous flux than objects of magnitude 5. Stars of magnitude 6 are just visible to the naked eye under good observing conditions.
The units of magnitude, also called magnitude, are usually not indicated except when indicating small magnitude differences when milli- or micromagnitudes are used.' not valid for datatype XSD XMLLiteral
- ontology obtained from http://www.ontology-of-units-of-measure.org/data/om-2 [May 15, 2020]
- jena version: 3.14.0
HajoRijgersberg commented
Hi Florian,
Thank you so much! I have forwarded your issue to Don, who knows a lot about astronomy. Hope to get back to your issue soon!
Best, Hajo