W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2004

Re: Best way to assert that "s p o" was true at time t?

From: Jeffrey Yasskin <jyasskin@gmail.com>
Date: Sat, 9 Oct 2004 11:32:48 -0500
Message-ID: <5d44f72f041009093265160603@mail.gmail.com>
To: Paul Gearon <pag@tucanatech.com>
Cc: www-rdf-interest@w3.org

You probably mean:
<Person rdf:about="#JYasskin">
  <lived rdf:parseType="Resource">
    <notBefore rdf:datatype="xsd:date">yyyy-mm-dd</notBefore>
    <notAfter rdf:datatype="xsd:date">yyyy-mm-dd</notAfter>
    <rdf:value><Address rdf:about="AddressA"/></rdf:value>
  </lived>
</Person>
since your example doesn't validate. I like that better than the ways
I'd thought of, but I'd still like to stay within relatively accepted
practice. Can anyone point me to other examples of rdf:value being
used for this purpose?

Thanks.


On Sat, 9 Oct 2004 18:22:28 +1000, Paul Gearon <pag@tucanatech.com> wrote:
> I'd create two predicates:  notBefore and notAfter
> 
> So, you'd end up with something like:
> (this presumes the declaration of classes "Person" and "Address", and
> the predicates "lived", "notBefore", and "notAfter")
> 
> <Person rdf:about="#JYasskin">
>    <lived>
>      <rdf:Description rdf:nodeID="blankNode">
>        <notBefore rdf:datatype="xsd:date">mm-dd-yyyy</notBefore>
>        <notAfter rdf:datatype="xsd:date">mm-dd-yyyy</notAfter>
>        <Address rdf:about="AddressA"/>
>      </rdf:Description>
>    </lived>
> </Person>
> 
> Regards,
> Paul Gearon

-- 
Jeffrey Yasskin
http://jeffrey.yasskin.info/
Received on Saturday, 9 October 2004 16:32:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:10 GMT