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

Erro using reasoner when lsw is started using the "--eval" option to load r21 system #2

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

This issue was caused when I loaded our r21 system that we are using for dental 
ontology work.

What steps will reproduce the problem?

1. Start lsw in a terminal window using the command line:
lsw -r4096 -b64 --eval "(asdf::oos 'asdf::load-op 'r21)"

2. Load the r21 system:
(asdf::oos 'asdf::load-op 'r21)

3.  Load the ontology:
(setq o (load-ontology 
"~/Repositories/ohd-ontology/src/ontology/pitt-ub-ohsu-r21/r21-top.owl"))

4. Instantiate the reasoner:
(instantiate-reasoner o  :pellet-sparql)

5.  Run sparql query:
(sparql '(:select (?s) (:count t) (?s :a !owl:Thing)) :use-reasoner :pellet :kb 
o)

This fails with error:
#<THREAD "interpreter" {2A384D34}>: Debugger invoked on condition of
type PACKAGE-ERROR
 Package "!OWL" not found.

To work around, simple start with lsw without the "--eval" option.
i.e.: lsw -r4096 -b64

Original issue reported on code.google.com by wddun...@gmail.com on 27 Mar 2012 at 7:35

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