Hi,
I've just fixed the problem in the development version of Owlready on BitBucket.
You can now use blank node with RDFlib, however, you need to create the blank node with the new BNode() method of the graph object, as in the following example:
import rdflib
graph = default_world.as_rdflib_graph()
bn = graph.BNode()
with onto:
graph.add((bn, rdflib.URIRef("
http://www.w3.org/1999/02/22-rdf-syntax-ns#type"), rdflib.URIRef("
http://www.w3.org/2002/07/owl#Class")))
This is needed, because Owlready use numeric identifiers and not alphanumeric ones.
Jiba