W3C home > Mailing lists > Public > public-xg-mmsem@w3.org > April 2007

Re: [Re: Re: [MMSEM] RDF and syntactic interoperability]]

From: Jeff Z. Pan <jpan@csd.abdn.ac.uk>
Date: Mon, 2 Apr 2007 22:02:50 +0100 (BST)
Message-ID: <4464.87.113.84.177.1175547770.squirrel@www.csd.abdn.ac.uk>
To: "Hausenblas, Michael" <michael.hausenblas@joanneum.at>, "Danny Ayers" <danny.ayers@gmail.com>
Cc: GaŽtan Martens <Gaetan.Martens@ugent.be>, public-xg-mmsem@w3.org

Michael wrote:

> My naÔve approach would be to apply the RDFS entailment rules from [1].
> There, the entailment rule rdfs3 states that if an RDF graph contains
>
> aaa rdfs:range xxx .
> uuu aaa vvv .
>
> one has to add
>
> vvv rdf:type xxx .
>
> to the graph.
>
> In your example, where
>
> aaa := http://example.org/dprop
> xxx := someXMLns:anXMLType
> uuu := http://example.org/aninstance
> vvv := 'XXXX'
>
> according to rdfs3,
>
> 'XXXX' rdf:type someXMLns:anXMLType .
>
> should be added to the graph.
>
> But I guess this is not the end of the story, when looking at [2] ;)

Note that 'XXXX' is a plain literal, which is a string. Therefore,
anXMLType is xsd:string or one of its "proper" sub/super-datatypes, this
is fine. Otherwise, there is a datatype clash.

In general, it is recommented to use typed literals, i.e. "XXXX"^^anXMLType.

Greetings,
Jeff
Received on Monday, 2 April 2007 21:15:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:21 GMT