GithubHelp home page GithubHelp logo

sircanist / clipper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghxiao/clipper

0.0 0.0 0.0 70.38 MB

A Reasoner for Conjunctive Query Answering over Horn-SHIQ via Query Rewriting

License: Apache License 2.0

Java 1.06% Python 0.01% Shell 0.01% Prolog 0.01% GAP 0.03% Web Ontology Language 98.91%

clipper's Introduction

Clipper Reasoner

Build Status

Introduction

Clipper is a DL reasoner for conjunctive query answering over Horn-SHIQ ontology via query rewriting.

Build from source

We use maven build system and Git to manage the source code.

  $ git clone https://github.com/ghxiao/clipper.git clipper
  $ cd clipper
  $ ./build.sh

Usage from CLI

  1. Download DLV to your local machine (e.g., to ~/bin/dlv).

  2. Run clipper.sh from the generated package.

Usage: clipper.sh [options] [command] [command options]
  Options:
    -v, -verbose   Level of verbosity
                   Default: 1
  Commands:
    query      answerting conjunctive query
      Usage: query [options] <ontology.owl> -sparql <cq.sparql>    
        Options:
          -f, --output-format   output format, possible values: { table | csv |
                                atoms | html }
                                Default: table
          -dlv                  the location of dlv (e.g. /usr/local/bin/dlv)

    rewrite      rewrite the query w.r.t. the ontology, and generate a datalog program
      Usage: rewrite [options] <ontology.owl> [ -sparql <cq.sparql> ]       
        Options:
          --abox-only, -a             only rewrite ABox
                                      Default: false
          --ontology-and-query, -oq   rewrite ontology (= TBox + ABox) and query
                                      Default: false
          --ontology-only, -o         only rewrite ontology (= TBox + ABox)
                                      Default: false
          --remove-redundancy, -r     remove redundancy rules w.r.t the query
                                      Default: false
          --tbox-and-query, -tq       only rewrite TBox and query
                                      Default: false
          --tbox-only, -t             only rewrite TBox
                                      Default: false
          -output-datalog, -d         output datalog file 

    help      Print the usage
      Usage: help [options]

Development in Eclipse

  1. Download the source code via git.
  2. In eclipse, import the project by "File" -> "Import" -> "Maven" -> "Existing Maven Projects" and point to root directory of clipper.

References

[1] Thomas Eiter, Magdalena Ortiz, Mantas Šimkus, Trung-Kien Tran, and Guohui Xiao. Query Rewriting for Horn-SHIQ plus Rules. In Proceedings of the Twenty-Sixth AAAI Conference on Artificial Intelligence (AAAI 2012), July 22-26, 2012, Toronto, Ontario, Canada. AAAI, AAAI Press, 2012.. pdf

[2] Thomas Eiter, Magdalena Ortiz, Mantas Šimkus, Trung-Kien Tran, and Guohui Xiao. Towards Practical Query Answering for Horn SHIQ. T. In Y. Kazakov, D. Lembo, and F. Wolter, editors, Proceedings of the 2012 International Workshop on Description Logics, DL-2012, Rome, Italy, June 7-10, 2012, volume 846 of CEUR Workshop Proceedings. CEUR-WS.org, 2012. pdf

Links

Contact: xiao(a)inf.unibz.it

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.