GithubHelp home page GithubHelp logo

dacasals / qep-feature-extractor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 1021 KB

This project could be used to extract query exection plans features using jena components. This features could be used them to train learning models.

Shell 4.13% Java 95.70% Batchfile 0.17%

qep-feature-extractor's Introduction

Module to extract SPARQL query features from the Query execution Plan.

Este módulo está desarrollado para extraer características del plan de ejecución de una consulta SPARQL. Es un módulo del proyecto Jena pensado para ejecutarse de manera individual al projecto Jena. Sin embargo, fue necesario algunas modificaciones de otros módulos de Jena, por lo que la mejor forma de utilizar en este momento es usando el compactado siguiente:

Install and Compile

Use this to install dependencies and avoid Jena rules for snapshots:

mvn clean install -Denforcer.skip=true -Drat.skip=true

Use this to package the project and distribute:

mvn clean package -Denforcer.skip=true -Drat.skip=true

Usage

After package the project:

  • uncompress the tar.gz.
  • run the bin/tdb2.tdbqueryplan script to get the trees.

Example

./tdb2.tdbqueryplan --tdb_tree --explain --loc /path/to/tdb2_db --queriesFile /path/to/queries file.csv --idColumn 0 --queryColumn 1 --delimiter "ᶶ" --outFile /path/to/outputprefix_file_

  • The --loc path indicate the TDB2 database path.
  • The --queriesFile indicate a csv file which contain a query and id columns.
  • The --delimiter indicate the delimiter character to separate columns.
  • The --outFile indicate the path and prefix of output.

qep-feature-extractor's People

Contributors

dacasals avatar

Watchers

 avatar

Forkers

ccarmonar cbuil

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.