What do you think? Maybe someone already tried them together? Please, share your experience.
Hi,
I want to try to integrate FaCT++ with rdflib. I have some
initial Python bindings to FaCT++.C library (C version
of FaCT++) using cffi
https://bitbucket.org/wrobell/factplusplus/src/master/factpp/
I looked at FuXi's N3RuleStore class and my understanding is that
the best way to integrate FaCT++ reasoner with rdflib is to create
appropriate rdflib store. It seems, that if persistence is required,
then two different rdflib stores have to be combined. Or is there
better solution?
Also, owl-cpp it is worth looking at, i.e.Adaptor_triple::axiom
method in ./lib/logic/factpp/adaptor_triple.cpp file. This is my
starting point at the moment.
Regards,
Artur
I don't know which solution is "right". It seems that we may not need owl-cpp library, since the IO can be handled with rdflib. Moreover there's a lack of support of different ontology formats (e.g. Turtle) in owl-cpp, so rdflib is more universal in this context. On the other hand, I'm not sure if the huge ontologies work well inside rdflib. At least from my experience they require explicit "sys.setrecursionlimit" call to be read properly. And since Fact++ is something about performance and capacity, I think, we need to be careful, not to turn rdflib in a bottleneck here. In this sense, I'd bet on owl-cpp and refuse of rdflib or may be follow your cffi idea.
I'll write you a personal email to discuss our aims.
Best,
Evgeny