Re: ISSUE-65: XMLLiteralNotes

Hi,

My two cents about this: wouldn't the use of as in [1] be OK?
Considering the case that someone want to annotate a concept with a 
definition is intended to be read by an XHTML reader
The solution I would propose is:
- to create a specific property xhtmlDefinition
- introduce it as a subproperty of skos:definition
- create the definition triple with the XML node, using 
rdf:parseType="Literal"
<rdf:Description rdf:about="Equation">
    <ex:xhtmlDefinition rdf:parseType="Literal">An equation is something 
that looks like E=MC<sup>2</sup>
    </ex:xhtmlDefinition>
  </rdf:Description>

This way specific application could access the content and trigger XHTML 
processing on it, while a standard SKOS application could still read 
something.

Antoine

[1] http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-XML-literals
> ISSUE-65: XMLLiteralNotes
>
> http://www.w3.org/2006/07/SWD/track/issues/65
>
> Raised by: Alistair Miles
> On product: SKOS
>
> How do you annotate concepts with different types of XML content? 
>
> Some use cases might be...
>
> (1) "E=MC<sup>2</sup>" -- Text using XHTML for basic styling (superscript,
> subscript etc.)
>
> (2) MathML for complex mathematical formulas.
>
> (3) Text or XHTML content marked up with Ruby annotations.
>
> (4) Speech Synthesis Markup (SSML)
>
>
>
>
>
>
>   

Received on Tuesday, 20 November 2007 17:18:17 UTC