Re: owlready2.rply.LexingError: (None, 0) while setting a rule

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/owlready2-rply-LexingError-None-0-while-setting-a-rule-tp1263p1270.html

Hi,

You can put the inferred triples in a separate ontology (using the with ontology:... syntax), and then save this ontology as NTriples to obtain the RDF triple (or use ontology.graph.dump() to display them in terminal).

Jiba