I would serialize this XML as RDF triples, and load them in a RDF store. Envoyé de mon iPad
Le 11 déc. 2011 à 16:55, "[email protected]" <[email protected]> a écrit : > Hello, I have to implement the Data Graph in Java from an XML document. For > example, having the following document: > > <movie> > <title> Hello </ title> > <actors> > <actor> Brad Pitt </ actor> > <actor> George Clooney </ actor> > </actors> > </movie> > > we must build an internal representation of the document in the form of a > graph, where elements are represented as nodes and links between elements > such as arches. Then I have to navigate through the graph to process the > data. I wanted to understand what are the most efficient structures for the > representation of a graph, ie Hashtable, matrices, etc. ... > In addition, you have to give me some suggestions on how I can use the sax > parser to construct the structure graph? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
