W3C home > Mailing lists > Public > public-swd-wg@w3.org > November 2007

Re: ISSUE-65: XMLLiteralNotes

From: Antoine Isaac <aisaac@few.vu.nl>
Date: Tue, 20 Nov 2007 18:18:08 +0100
Message-ID: <474316D0.5040209@few.vu.nl>
To: SWD WG <public-swd-wg@w3.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:51 UTC