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

Properly initialize the KB #1

Open
chcorbato opened this issue Feb 2, 2021 · 0 comments
Open

Properly initialize the KB #1

chcorbato opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@chcorbato
Copy link
Owner

This line using tripledb_forget/3 to clear the DB is commented because it causes issues in the next run (some facts are not in the DB)

# prolog.query('tripledb_forget(_,_,_).') # clean DB before starting

Rationale:

Setting to control the persistence of knowledge in the MongoDB in KnowRob:
https://github.com/knowrob/knowrob/blob/master/settings/default.pl#L10
But it seems no wildcard (*) is allowed yet in the settings.
By default, the "user" RDF graph should be deleted, which is the one used by default when you call tell/1.

Tip from DBessler:

In the current master loading OWL files takes quite long, so it might be beneficial to keep the OWL files in DB. Each OWL file is asserted into a separate RDF graph, so you could also just drop the RDF graphs of some specific ontology if you want to reload it. But KnowRob should auto-reload it when your local files have changes.

@chcorbato chcorbato added the bug Something isn't working label Feb 2, 2021
@chcorbato chcorbato self-assigned this Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant