Re: Typing of literals

Ross Judson wrote:

> Has there been any further conclusions on this topic?  I need to type some
> literals, and I'd rather not just "roll my own" right now.  The actual
URIs
> for types are not important; what's important is the mechanism for
attaching
> that type to a literal.
>
> Any pointers for this topic?

The derived type is the value of a Property. You can subclass the type
Literal to your desired type (perhaps specified only by a URI of your
choosing)

<rdfs:Class rdf:ID="yourClass">
         <rdfs:subClassOf
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdfs:Class>

<rdf:Property rdf:ID="your-name">
    <rdfs:range rdf:resource="#yourClass"/>
</rdf:Property>

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org

Received on Thursday, 14 September 2000 10:25:49 UTC