I realise that this has been addressed a couple of times and that it's apparently not possible, but I'm posting this here in case I'm wrong.
Using the attached ontologytmp.owl, is it possible to programatically access the general axioms defined at the end using owlready2?
There is currently no "World.general_axioms()", but I can add one if you think it worth it. I just need to figure their types (owl:Restriction, but there are other types of axioms I believe) and whether we should limit it to axioms not used by a class, or to all axioms.
Thanks for your quick reply. It turns out that get_triples and _parse_bnode are sufficient for my needs. The only issue I have is that the leading underscore in _parse_bnode indicates that it is intended to be a private method and it feels wrong to use it explicitly. Otherwise, I was able to solve my problem.