Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于python包rdflib解析RDF文件性能的问题 #13

Open
jamestch opened this issue Aug 26, 2019 · 0 comments
Open

关于python包rdflib解析RDF文件性能的问题 #13

jamestch opened this issue Aug 26, 2019 · 0 comments

Comments

@jamestch
Copy link
Collaborator

大家好,我想用rdflib解析dbpedia的数据包mappingbased_objects_en.ttl,格式是NTriples,数据包大小大概2.4G。
g=rdflib.Graph()
g.parse(bz2.open(r"../data/mappingbased_objects_en.ttl.bz2"),format="nt")
加载及其慢,而且消耗内存和计算资源。
请教下大家有什么好的解决方案?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant