Re: How to do twice reasoning
Posted by
carlos on
URL: http://owlready.306.s1.nabble.com/How-to-do-twice-reasoning-tp1741p1742.html
Hi, I have a similar problem and I do not know how to solve it. For example, I have the next code:
onto = get_ontology("ontology_1.nt").load()
sync_reasoner_pellet()
onto_inferred = get_ontology("
http://inferrences/")
onto_inferred.save("./output/infered_triples_1.nt", format="ntriples")
onto2 = get_ontology("ontology_2.nt").load()
sync_reasoner_pellet()
onto_inferred = get_ontology("
http://inferrences/")
onto_inferred.save("./output/infered_2.nt", format="ntriples")
I do not understand why, the second time that I use the reasoner, it use again the first ontology, so the two output are the same. I would like to know how can I use two times the reasoning with 2 different ontologies.