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

How to generate a smaller DB_pedia than DB_pedia2016_small #49

Open
15684175631 opened this issue Aug 29, 2020 · 1 comment
Open

How to generate a smaller DB_pedia than DB_pedia2016_small #49

15684175631 opened this issue Aug 29, 2020 · 1 comment

Comments

@15684175631
Copy link

Because of my computer RAM is 8G that cann't to load the DB pedia2016_small, could you tell me how to generate a smaller DB_pedia than DB_pedia2016_small, thanks.

@nicklin96
Copy link
Collaborator

Sorry, we think there is not an easy way to do so. You may have to:

  1. check the id mapping files to decide which of the entities, predicates or types you don't need any more.
  2. the fragment files are consist of these ids. Supposed there is a group of ids that you don't want:
    If it appears as the first integer of a line, just delete the whole line.
    if it doesn't, just delete the id itself and the separator behind it (usually a comma )
    If you have any further problems please contact me via [email protected] so that I can reply in time.

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