Re: [ISSUE-2] Re: Strawman microdata proposal

On 20.3.2012 17:19, Maxime Lefrançois wrote:

> Example of model 1:
>  its:translate is a a literal of datatype  xsd:boolean  and what is
> described is an instance of the  its:Term  class / is of type its:Term
> 
> RDFa 1.1 syntax:
> <body prefix="xsd: http://www.w3.org/2001/XMLSchema# its:
> http://www.w3.org/20XX/XX/its#">
> <span typeof="its:Term" property="its:value">
> <meta property="its:translate" content="false" datatype="xsd:boolean"  />
> <meta property="its:locNote" content="foo" >bar</span>
> </body>
> 
> --> This will produce the following triples, expressed in Turtle syntax:
> @prefix its: <http://www.w3.org/20XX/XX/its#> .
> @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
> <> rdf:type its:Term ;
> its:translate "false"^^xsd:boolean ;
> its:locNote "foo" ;
> its:value "bar" .

Which is of no use for ITS usage scenarios. ITS data categories are
providing metadata about particular elements in XML and this relation is
very important. In your example triplets are completely disconnected
from the original HTML document. It's not possible to track back on
which element respective its:* properties should be applied.

You will have to assign unique URI to each element with ITS data
categories applied and then use about="URI" to replace blank node in
your RDF graph with subject representing. Of course resulting syntax and
complexity of processing will be by magnitude more complex then just
using normal attributes.

    Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Received on Tuesday, 20 March 2012 19:57:44 UTC