|
If you ask for your RDF in NTriples format
http://www.w3.org/2001/sw/RDFCore/ntriples/
then you could parse it with something as simple as awk, or with the basic c string manipulation functions. You get one triple per line and just need to cut in up into three sections
<uri1> <uri2> <uri3>
Could not be simpler really.
|