Hi All,
I'm trying to walk through an RDF Graph following a certain order.
Like with graph algorithm i would to control the way i go through the
graph.
For instance, like in graph algorithm, i get the children of the top
most node, then treat this level and then using a First in first out
structure and i can go down level by level by repeating the same thing
on each node, that is ,putting there children in the first in first
out structure.
It seams that there is no way to do that with jena using the jena RDF
API, is that right ?
In fact, i'm trying to go too low level to parse an RDF file, that's
why i'm using jena. However even if i'm using the jena ARP, there is
no way to do that. When it comes to parsing, the only possiblity i see
is do go as down was having openTag event as well as endTag envent.
This way you can really control when you start a node and go to
another node. However I don't see that in the ARP.
The problem i have with the listing of statement, is that, i'm not
interested in each specific statement. I want to get a node and deal
with each statement of that node, as i have to make a java
representation of it in another representation format.
To be more precise, my RDF file contain some action and some time it
may be that there is two action, knowing that the class action is
defined in an RDFS, including the domain specific action used in my
RDF file.
The problem that i have with getting the resource, it seams it could
be ressource at any level.
I'm feeling like i'm not taking the problem the right way, can any
give me an advise on it.
- [walking through an RDF graph] Maatary Daniel OKOUYA
-