Bruno Marquié wrote: > Hi, > > I am trying to use Babel to convert one of my RDF graph to JSON (to feed > exhibit) > My graph is like that > > <rdf:RDF > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:dc="http://purl.org/dc/elements/1.1/" > > <rdf:Description rdf:nodeID="A0"> > <dc:title>book of magic spells</dc:title> > </rdf:Description> > </rdf:RDF> > > The conversion process doesn't seem to work : The JSON generated is empty. > This graph is automatically generated from my model by the framework I use > (Jena) > Can you indicate me where the problem is?
You'll need to give your resources an rdf:type. For instance, insert this line somewhere between the rdf:Descriptions: <rdf:type rdf:resource="http://example.org/#Book"/> then try again. -- Ryan Lee [EMAIL PROTECTED] MIT CSAIL Research Staff http://simile.mit.edu/ http://people.csail.mit.edu/ryanlee/ _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
