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

Working with the zipped file itself #1

Open
brihijoshi opened this issue May 10, 2018 · 1 comment
Open

Working with the zipped file itself #1

brihijoshi opened this issue May 10, 2018 · 1 comment

Comments

@brihijoshi
Copy link

Hey!
Thanks for such a great README.md, there is literally no good documentation for Freebase.

A lot of us who want to work with freebase but cannot extract the KB due to its huge size have to resort to working with the compressed file. Could you extend the scope of the script to also do ETL operations from the zipfile instead?

Also, if this feature also exists, could you kindly guide me as to how I can run the scripts?

@nchah
Copy link
Owner

nchah commented May 10, 2018

Hi Brihi,

Thank you for the kind comments!

Creating versions of these scripts that can work with the compressed file is actually something I would like to implement in an updated version of this repository.
In the meantime, it's possible to use the z* commands (zless, zmore, zgrep) to work with the zipped Freebase data dump file. The output could then be piped to another file (e.g. using zgrep to get the triples for say /people/person/place_of_birth and loading it into a triplestore or other database).

All the best!

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