[rdfweb-dev] knows, vs rel vs xxx

Leigh Dodds ldodds at ingenta.com
Fri Sep 19 09:50:58 UTC 2003


> This all makes trying to write apps to process this data rather hard.
> Tools to automatically recognise that rel: sub-classes foaf:knows are in
> their infancy so typically you have to hard code all the likely values.
> Which of course breaks the moment someone else extends it.

Well you don't have to hard code them -- you could just load the 
RDF Schema either at startup or dynamically and then add anything 
that is an rdfs:subPropertyOf foaf:knows to your internal table of 
sub-classes. This should be easy even without an RDF parser. 

Cheers,

L.



More information about the foaf-dev mailing list