I hope you will forgive a question from a naive user. I've been
experimenting with rdflib and have succeeded in building a ConjuctiveGraph
thus:

for x in dlol:
     for (s, p, o) in x:
         if p == "Date": continue
         store.add((ENTRY + s, JO + p.replace(' ', '_'), Literal(o)))
print store.serialize(format="pretty-xml")

This successfully prints an rdf/xml serialization of my test graph but if 
I replace pretty-xml with n3, I get this error:

AttributeError: 'unicode' object has no attribute 'n3'

Perhaps there is something obvious I'm missing?
_______________________________________________
Dev mailing list
Dev@rdflib.net
http://rdflib.net/mailman/listinfo/dev

Reply via email to