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: <Patrick.Stickler@nokia.com>
Date: Sat, 9 Oct 2004 19:43:29 +0300
Message-ID: <1E4A0AC134884349A21955574A90A7A50ADD1E@trebe051.ntc.nokia.com>
To: <jyasskin@gmail.com>, <pag@tucanatech.com>
Cc: <www-rdf-interest@w3.org>


You could use reification to qualify the statement.

E.g.

<Person rdf:about="#JYasskin">
   <lived><Address rdf:about="#AddressA"/></lived>
</Person>

<rdf:Statement>
   <rdf:subject rdf:resource="#JYasskin"/>
   <rdf:predicate rdf:resource="#lived"/>
   <rdf:object rdf:resource="#AddressA"/>
   <notBefore rdf:datatype="xsd:date">yyyy-mm-dd</notBefore>
   <notAfter rdf:datatype="xsd:date">yyyy-mm-dd</notAfter>
</rdf:Statement>

Meaning that the assertion is valid between the specified
dates, and thus meaning that the person lived at that 
address between the specified dates.

Cheers,

Patrick


> -----Original Message-----
> From: www-rdf-interest-request@w3.org
> [mailto:www-rdf-interest-request@w3.org]On Behalf Of ext 
> Jeffrey Yasskin
> Sent: 09 October, 2004 19:33
> To: Paul Gearon
> Cc: www-rdf-interest@w3.org
> Subject: Re: Best way to assert that "s p o" was true at time t?
> 
> 
> 
> 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:44:45 GMT

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