Fwd: Re: [redland-dev] Problems traversing arcs with the same URI
Brian Holdsworth
holdswob33 at yahoo.com
Mon Jan 17 08:46:06 PST 2005
Hi Simon.
I think that sums up the problem. If the arcs
returned by librdf_model_get_arcs_out(), and similar
functions, are only as unique as their contained
uri's, then I need another method to traverse my
model/graph.
Actually, I prefer to stay away from RDQL since
performace is already an issue with the way I am
trying to do it now. I definitely don't want a more
CPU-intensive solution. :(
Speaking of which, another question to the group:
It seems like using librdf_model_get_arcs_out() is
pretty expensive, given the long execution time I see
on a 2.8Ghz P-4 with 1GB RAM, and model size <2000
triples, all held in memory storage. Does anyone know
why it is kind of slow? Will I see better results if
I use librdf_model_find_statments() instead, setting
both
the predicate and object to NULL?
Thanks,
Brian
More information about the redland-dev
mailing list