- From: Patrick Stickler <patrick.stickler@nokia.com>
- Date: Fri, 28 Jun 2002 17:04:33 +0300
- To: ext Jos De_Roo <jos.deroo.jd@belgium.agfa.com>
- CC: ext Brian McBride <bwm@hplb.hpl.hp.com>, ext Sergey Melnik <melnik@db.stanford.edu>, Pat Hayes <phayes@ai.uwf.edu>, RDF Core <w3c-rdfcore-wg@w3.org>, <w3c-rdfcore-wg-request@w3.org>
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