Giter Site home page Giter Site logo

alanruttenberg / lsw2 Goto Github PK

View Code? Open in Web Editor NEW
25.0 7.0 1.0 183.28 MB

OWL and Semantic Web toolkit for Common Lisp, used for construction and reasoning over ontologies and ontology-structured data

Perl 0.02% Shell 0.33% Common Lisp 35.13% Java 1.45% Batchfile 0.13% CSS 0.79% HTML 1.32% NewLisp 0.10% JavaScript 60.73%
common-lisp semantic-web ontology reasoning owl owl-api sparql first-order-logic

lsw2's People

Contributors

alanruttenberg avatar jonathanbona avatar wdduncan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sircanist

lsw2's Issues

SBCL instead ABCL

Is it possible to run LSW over SBLC or CCL instead of depending upon Java?

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

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 [email protected] on 27 Mar 2012 at 7:35

API documentation?

Sorry if I have missed this, but do you have API documentation somewhere so that a potential user could identify what forms of OWL reasoning are supported by LSW2?
Thanks!

Use of "-Xbootclasspath" argument to Java interferes with use of abcl-contrib JSS

What steps will reproduce the problem?
1. Check out revision 138 of branches/bona: 
https://lsw2.googlecode.com/svn/branches/bona
2. In bin/abcl, comment out the line @args  = 
($ram,$stack,$bits,@profileargs,"-cp", $libjar, @dock);
and uncomment the line
#@args  = ($ram,$stack,$bits,@profileargs,"-Xbootclasspath/a:$libjar",@dock);
3. Load LSW

What is the expected output? What do you see instead?
Rather than loading normally, loading fails with the message "Don't know how to 
REQUIRE JSS"


In revision 108, /trunk/bin/abcl was changed from using the "-cp" switch to 
using "-Xbootclasspath":

#@args  = ($ram,$stack,$bits,@profileargs,"-cp", $libjar, @dock);
@args  = ($ram,$stack,$bits,@profileargs,"-Xbootclasspath/a:$libjar",@dock);

However, this does not currently work in combination with the new JSS, which is 
loaded from lib/abcl-contrib.jar (see revision 138 of 
https://lsw2.googlecode.com/svn/branches/bona ). In particular, 
scripts/system-registry.lisp fails to load when it reaches (require :jss):


Armed Bear Common Lisp 1.0.1-svn-13750-13751
Java 1.6.0_31 Apple Inc.
Java HotSpot(TM) Server VM
Low-level initialization completed in 0.549 seconds.
Startup completed in 1.364 seconds.
;  Loading /Users/jonathanbona/quicklisp/setup.lisp ...
;   Loading 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/loop.abcl
 ...
;   Loaded 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/loop.abcl
 (0.134 seconds)
;  Loaded /Users/jonathanbona/quicklisp/setup.lisp (4.252 seconds)
Loading /Users/jonathanbona/.abclrc completed in 6.047 seconds.
;  Loading 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/abcl-cont
rib.abcl ...
;  Loaded 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/abcl-cont
rib.abcl (0.0050 seconds)
Error loading /Users/jonathanbona/lsw/lsw2/scripts/system-registry.lisp at line 
42 (offset 1216)
#<THREAD "interpreter" {55EDA6}>: Debugger invoked on condition of type 
SIMPLE-ERROR
  Don't know how to REQUIRE JSS.

Original issue reported on code.google.com by [email protected] on 23 Apr 2012 at 7:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.