GithubHelp home page GithubHelp logo

00mjk / bsbmtools-json Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lszeremeta/bsbmtools-json

0.0 0.0 0.0 2.37 MB

BSBM Tools with RDF/JSON serialization

License: Other

Shell 0.27% Java 99.73%

bsbmtools-json's Introduction

BSBM Tools with RDF/JSON serialization

This is BSBM Tools with added RDF/JSON serialization.

The Berlin SPARQL Benchmark (BSBM) defines a suite of benchmarks for comparing the performance of these systems across architectures. The benchmark is built around an e-commerce use case in which a set of products is offered by different vendors and consumers have posted reviews about products. The benchmark query mix illustrates the search and navigation pattern of a consumer looking for a product.

Input data files

Note that the input data files (dictionaries, queries, etc.) have been moved into data directory, which is used by default. However, you can use your own files by specifying appropriate arguments for the utilities:

$ bin/generate -d1 dictionary1.txt -d2 dictionary2.txt -d3 dictionary3.txt

Building

The project is built using Apache Ant and project dependencies are handled by Apache Ivy. You need to install these tools in order to build the project.

Build the project:

$ ant

Make sure that ivy is properly configured and accessible by ant. For instance, you may want to set up a link to ivy.jar from ~/.ant/lib/.

The dependencies are configured using ivy.xml. Note that some old dependencies reside in a not very popular maven repository, configured in ivysettings.xml.

Executables

The scripts that you can use for testing are copied into bin directory during the build process:

  • bin/generate
  • bin/testdriver
  • bin/qualification

Example usage

$ bin/generate -fc -pc 10 -fn example -s json

Generated RDF/JSON samples are available in the bsbmtools-json-samples repository.

You can see a list of all available options by running:

$ bin/generate -help

Additional examples are also available in the original documentation.

HTTP Basic Authentication

If the SPARQL endpoint requires authentication, you can provide credentials in the URL:

$ bin/testdriver http://admin:admin@localhost/sparql

Contribution

Would you like to improve this project? Great! We are waiting for your help and suggestions. If you are new in open source contributions, read How to Contribute to Open Source.

License

Distributed under Apache License 2.0.

bsbmtools-json's People

Contributors

lszeremeta 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.