Search code examples
python-2.7rdfrdflib

use of FOPLRelationalModel.MySQLMassLoader


I am trying to use FOPLRelationalModel.MySQLMassLoader from rdflib but when I use,it shows

       /usr/bin/python: No module named rdflib.store.FOPLRelationalModel.MySQLMassLoader

I have tried installing rdfextras also but that is also not helping.The rdflib version is 4.2.0 Can anyone please tell me what should be done here


Solution

  • you probably want to have a look at RDFLib SQLAlchemy.

    It allows you to connect to various databases like mysql, postgres, sqlite... and use them as a Store backend of rdflib.