Giter Site home page Giter Site logo

fritexvz / autosparql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asknowqa/autosparql

0.0 1.0 0.0 280.37 MB

AutoSPARQL allows to create SPARQL queries over RDF knowledge bases from natural language with low effort.

Home Page: http://aksw.org/Projects/AutoSPARQL.html

License: GNU General Public License v3.0

Java 83.92% TeX 0.05% Lex 2.26% Web Ontology Language 10.89% JavaScript 1.53% CSS 0.24% HTML 0.14% Shell 0.01% Makefile 0.96% Batchfile 0.01%

autosparql's Introduction

Introduction

AutoSPARQL TBSL is a graphical user interface, which allows to answer natural language queries over RDF knowledge bases. It is based on algorithms implemented in the DL-Learner Semantic Web machine learning framework.

Requirements

  • Java 7 or higher
  • Maven 3 or higher
  • Git
  • an IPv6-capable internet connection (you can use a free IPv6 tunnel service like Miredo or Teredo if your connection does not support it natively)

Warning

AutoSPARQL TBSL is a research prototype that is not actively developed anymore. As such, getting it to work may need some effort and depends on the availability of several other online services. Feel free to create issues if you encounter problems and please share your fixes using pull requests.

Installation and Execution

  1. clone the git repository
  2. run ./compile and then ./run (Linux, Mac) or compile.bat and then run.bat (Windows)
  • Manually: Do mvn install -N in the folders in that order: autosparql, commons, algorithm-tbsl. Then go into autosparql-tbsl and run mvn jetty:run.

Then, go into your browser and access http://localhost:8080 and click on the link to the application.

Error Reporting

If you encounter errors, please look at the issues if the problem is already reported. If not, please create a single issue including the command line output. If the error occurs during compilation, please use ./createcompillelog instead of ./compile to create the compile log. Feel free to create issues if you encounter problems and please share your fixes using pull requests.

Adding your own Dataset

Using your own datasource instead of DBpedia or Oxford is nontrivial. It needs several days of work in addition to the time needed to familiarize yourself with the code base.

You need to:

  1. as a local model to algorithm-tbsl/src/main/resources/models/yourmodel (preferred for small knowledge bases as it is much faster and more reliable)
  2. as a SPARQL (version 1.0 is enough) endpoint along with a SOLR server instance
  • create a singleton for your knowledge base (see package org.aksw.autosparql.tbsl.algorithm.knowledgebase)
  • extend org.aksw.autosparql.tbsl.algorithm.learning.TBSL with TbslYourKnowledgeBase
  • finally, in case the dataset isn't a private model, please do a pull request so that it can be integrated in the main project

Modules and Packages

Maven Module Package Purpose
autosparql-parent - Parent Module
algorithm-tbsl org.aksw.autosparql.tbsl.algorithm Algorithm
commons org.aksw.autosparql.commons Utilities
autosparql-tbsl org.aksw.autosparql.tbsl.gui.vaadin Web Interface

autosparql's People

Contributors

konradhoeffner avatar lorenzbuehmann avatar maroe avatar cunger avatar gone-phishing avatar

Watchers

James Cloos avatar

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.