Giter Site home page Giter Site logo

istefanov / couchbaserdfloader Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 120 KB

This is part of the paper "NoSQL Databases for RDF: An Empirical Evaluation". It takes care of the conversion of RDF triples into JSON format and loads the data into Couchbase.

Java 100.00%

couchbaserdfloader's Introduction

CouchbaseRDFLoader

This is part of the paper "NoSQL Databases for RDF: An Empirical Evaluation". It takes care of the conversion of RDF triples into JSON format and loads the data into Couchbase.

###Data sets

For the paper we have used 3 data sets:

  • BSBM 10M
  • BSBM 100M
  • DBpedia 100M

You can generate the Berlin Benchmark datasets as described here. The DBpedia datasets can be downloaded from here. The datasets are also available on the public Amazon Machine Image (AMI) with name: NoSQL-RDF-Couchbase, which is loaded with data sets and runnable jars, so our experiemtns can be easily rerun.

###Couchbase To use the application you need to setup and run a Couchbase database server: http://www.couchbase.com/

###Running

This application reads an N-triples data set and converts it into JSON documents. Each document has as an ID the subject of all triples bearing the same subject (a molecule). Each document with such an ID consists of two JSON arrays, first one with the predicates, second one with the objects from the triples.

When the triples are loaded into Couchbase we need to generate 3 indices (views). The javascript code for the views is located in the views.txt document. When creating the views in Couchbase, locate each in a separate design document bearing the same name as the view indicated in the views.txt file. The views creation will take some time up to some hours depending on the cluster configuration and available resources.

After finishing loading and generating the views, you can proceed to qurying the data with the help of CouchbaseRDF.

couchbaserdfloader's People

Contributors

istefanov avatar

Stargazers

jon โš avatar

Watchers

 avatar

Forkers

ayudhien

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.