Hello, I have to implement the Data Graph in Java from an XML document. For
example, having the following document:
Hello
Brad Pitt
George Clooney
we must build an internal representation of the document in the form of a
graph, where elements are represented as nodes and links betwee
Since tree is a special case for a graph, I think you may use a DOM
tree for example to represent your graph in-memory.
XML data is inherently hierarchical, and mapping it to any custom
structure (for e.g a non tree like graph or something else) I think
would require a custom design. A SAX stream
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, "alessandra.brind...@virgilio.it"
a écrit :
> Hello, I have to implement the Data Graph in Java from an XML document. For
> example, having the following document:
>
>
> He