« Return to Thread: Explicit RDF property for "literal has datatype D"?

Re: Explicit RDF property for "literal has datatype D"?

by Jeremy Carroll-2 :: Rate this Message:

Reply to Author | View in Thread

Pat Hayes wrote:
>>
>>> p a rdf:Property ;
>>>  rdfs:domain rdfs:Literal ;
>>>  rdfs:range rdfs:Datatype .
>>
>
>
> _:x p xsd:date .
> _:x :seenAsLiteral  "2008-01-01" .
I tend to write these examples as

_:x p xsd:date .
_:x owl:sameAs  "2008-01-01" .

Semantically that has a literal as the subject, and it works around the
legacy syntactic restriction

Unfortunately the reasoning required to make this work means that simple
RDF systems may well not get it.

Jeremy
 


 « Return to Thread: Explicit RDF property for "literal has datatype D"?