GithubHelp home page GithubHelp logo

ghxiao / drew Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 20.12 MB

DReW reasoner for DL-Programs over Datalog-rewritable Descritption Logics

License: Apache License 2.0

Web Ontology Language 98.90% Python 0.04% TeX 0.01% Shell 0.01% Java 1.04% HTML 0.01% Prolog 0.01%

drew's People

Contributors

bitdeli-chef avatar ghxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

drew's Issues

DLV Error

I have drew 3, dlv2 (binary) and i am trying to execute graph.owl and graph.dlp from sample_data folder.

drew -el -ontology graph.owl -dlp graph.dlp -dlv /home/haya/dlv-2.1.0-linux-x86

But I am getting DLV Error, exitValue=110

/usr/dlv-2.1.0-linux-x86: invalid option -- 'p', , Generic error: This option is not supported., DLV Error, exitValue=110]

No matter which example I execute I get this error. Why am I getting this error?

Thankyou!

handling arithmetic

In the currently implementation, drew encodes every constant to "o\d*" in the generated DLV output. This has problem with arithmetic operation.

e.g.

poss_dist(X, Y, 1) :- metro_next(Line, X, Y).
poss_dist(X, Y, N1) :- poss_dist(X, Z, N), metro_next(Line, Z, Y), N1 = N + 1, #int(N1), #int(N).
->
poss_dist(X, Y, "o26398") :- metro_next(Line, X, Y).
poss_dist(X, Y, N1) :- poss_dist(X, Z, N), metro_next(Line, Z, Y), N1 = N + 1, #int(N1), #int(N).

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.