[rdfweb-dev] knows, vs rel vs xxx

Julian Bond julian_bond at voidstar.com
Fri Sep 19 10:51:55 UTC 2003


Ian Davis <iand at internetalchemy.org> wrote:
>But this is the whole point of using RDF in the first place! It's a key 
>advantage over an XML format. You don't need special tool support to 
>make use of subproperty relations, you just need to implement the RDFS 
>closure rules given in the RDF Model Theory doc. If just want to hack 
>the subproperty relation without all the others then you could 
>implement the following algorithm:
>
>Add the triples from the relationship schema to your document triples
>For every triple of the form  AProp rdfs:subPropertyOf BProp
>  Find all triples of the form X AProp Y and add a triple X BProp Y
>Repeat until no more triples are added.
>Proceed with the rest of your code as though nothing had happened.

There are words in here that I don't understand ;-) But I think I 
understand what you're getting at. And I think the approach will break 
if:-
1) The relationship schema doesn't exist in rdf form or
2) Someone starts adding relationships that don't exist in the schema
I believe there are multiple examples of both problems in the wild.

-- 
Julian Bond Email&MSM: julian.bond at voidstar.com
Webmaster:              http://www.ecademy.com/
Personal WebLog:       http://www.voidstar.com/
M: +44 (0)77 5907 2173   T: +44 (0)192 0412 433



More information about the foaf-dev mailing list