[rdfweb-dev] knows, vs rel vs xxx

Jim Ley jim at jibbering.com
Fri Sep 19 19:05:17 UTC 2003


"Leigh Dodds" <ldodds at ingenta.com>
> > 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.

Yep, even my really simple, and otherwise really poor javascript rdf-parser
manages to do that, it's really easy to code.
http://jibbering.com/rdf-parser/

Jim.




More information about the foaf-dev mailing list