[rdfweb-dev] Question about bio schema

Leigh Dodds ldodds at ingenta.com
Fri Mar 19 16:21:31 UTC 2004


There's bio:event the property and bio:Event the class.

The bio:Event class is the base for other event classes.
A person is linked to a bio:Event (or sub class) through a 
bio:event property,

> However, since bio:Birth is a subclass of bio:event, why would you not
> use this more simple as the following?
> 
> 
> <bio:Birth>
>         <bio:date>1970-06-15</bio:date>
>         <bio:place>Brentwood, Essex, United Kingdom</bio:place>
> </bio:Birth>

Do you mean an in the following context:

<foaf:Person>
  <bio:Birth>
  ...
  </bio:Birth>
</foaf:Person>
 
This isn't legal RDF syntax: it needs to be Resource -Property-> Resource

bio:Birth is a sub class of bio:Event so it is legal to have:

<foaf:Person>
 <bio:event>
    <bio:Event/>
 </bio:event>
</foaf:Person>

...you just haven't stated what kind of event it is. And as there are 
no properties unique to a bio:Birth a schema-aware RDF processor 
couldn't infer it was a Birth either.

HtH,

L.



More information about the foaf-dev mailing list