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

Factor out a library for knowledge base use cases for the general public #9

Open
simonsan opened this issue Oct 30, 2020 · 2 comments

Comments

@simonsan
Copy link
Contributor

Do you think there might be some algorithms, data structures etc. that can be useful for the general public that you could factor out and publish on crates.io?

I would like to implement a smaller knowledge base as FLOSS (AGPL) in the future and thought about reusing some of your work.

@Tpt
Copy link
Collaborator

Tpt commented Oct 30, 2020

Hi! Most of the algorithms here are very focused on knowledge base mapping and especially tailored to Wikidata. I'm not sure how much they could be reusable elsewhere.

For data structures, YAGO 4 builder only uses the usual std datastructures and RocksDB. So, most of the building blocks are already out there. The RDF formats parsers and serializers are also already on crates.io

@simonsan
Copy link
Contributor Author

simonsan commented Dec 23, 2020

2020-12-23 18_40_18-Window-Screenshot

src.: https://doc.rust-lang.org/book/ch12-03-improving-error-handling-and-modularity.html

Think it might make sense to do that nevertheless. So factoring out a lib.rs with a run() function and in main.rs you would just have everything regarding the executable config/setup. It would basically just mean to create a lib.rs that people can use and make a public API in it for using as a crate.

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

No branches or pull requests

2 participants