- From: Jeffrey Yasskin <jyasskin@gmail.com>
- Date: Sat, 9 Oct 2004 11:32:48 -0500
- 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 UTC