可分发的python,用于将rdflib与ndb一起使用
rdflib-appengine的Python项目详细描述
这个项目的目的是允许rdflib(python rdf库)部署在google app engine(gae)上,并将数据持久化在ndb存储中。
一切使用风险自负。
要使用这个项目,您的应用程序应该使用Python2.7在GAE上运行。
假设您熟悉rdflib(https://rdflib.readthedocs.org/en/latest/),要开始这个项目,只需创建一个这样的图:
fromrdflibimportGraphfromrdflib_appengine.ndbstoreimportNDBStoreg=Graph(store=NDBStore(identifier='my_first_store'))
有关详细信息,请参见https://github.com/mr-niels-christensen/rdflib-appengine和https://semanticwebrecipes.wordpress.com/2015/01/09/triple-store-in-the-cloud/。