Re: Proposal for closure of rdfs-xml-schema-datatypes

On 2002-06-28 16:22, "ext Jos De_Roo" <jos.deroo.jd@belgium.agfa.com> wrote:

> [...]
> 
> how do those 3 cases look in RDF/XML?
>
>>    a) global/implicit
>> 
>>       Jenny ex:age _:x"10" .
>>       ex:age rdfs:range xsd:integer .


   <rdf:Description rdf:about="#Jenny">
      <ex:age>10</ex:age>
   </rdf:Description>

   <rdf:Description rdf:about="&ex;age">
      <rdfs:range rdf:resource="&xsd;integer"/>
   </rdf:Description>

>>    b) local/explicit
>> 
>>       Bob ex:age _:y .
>>       _:y xsd:integer _:z"10" .

   <rdf:Description rdf:about="#Bob">
      <ex:age xsd:integer="10"/>
   </rdf:Description>

or

   <rdf:Description rdf:about="#Bob">
      <ex:age>
         <rdf:Description>
           <xsd:integer>10</xsd:integer>
         </rdf:Description>
      </ex:age>
   </rdf:Description>

>>      [If literals are permitted to be subjects, then idiom 4(b)
>>       is replaced with normal RDF typing:
>> 
>>         b') local/explicit
>> 
>>             Bob ex:age _:y"10" .
>>             _:y rdf:type xsd:integer .

RDF/XML does not presently support literals as subjects in the
serialization. I could suggest options, but will refrain.

Cheers,

Patrick 

--
               
Patrick Stickler              Phone: +358 50 483 9453
Senior Research Scientist     Fax:   +358 7180 35409
Nokia Research Center         Email: patrick.stickler@nokia.com

Received on Friday, 28 June 2002 10:04:39 UTC