Giter VIP home page Giter VIP logo

c-sprite's Introduction

Build Status

C-Sprite

C-Sprite is an RDF stream processing engine to perform efficient hierarchical reasoning. All the technical details can be found here.

How to use C-Sprite with SPARQL queries:

USAGE: <Ontology location> <input type (file|socket)> <triples file|socket url> <rdf type (ntriples|json-ld)> <query file>  <windowSize> <windowSlide> <sleep (file)>

With

  • Ontology location: the location of the ontology TBox.
  • input type (file|socket): either file or socket. Depending if you read from file or a websocket.
  • triples file|socket url: the location of the triples that need to be streamed if you read from file. Or the websocket url when you want to connect to a websocket.
  • rdf type (ntriples|json-ld): the RDF serialization, either json-ld or N-triples are currently supported.
  • query file: a file containing SPARQL queries on each line. Make to remove the newlines in your query such that each query is on a separate line.
  • windowSize: the size of the window
  • windowSlide: the slide of window
  • sleep: the sleep time between each line that needs to be read when reading from file. Use 0 when using the socket.

How to run C-Sprite with the DBPedia live stream experiment:

  1. mvn clean install
  2. unzip the triples.zip file in experiments/debs
  3. go to the target folder
  4. java -cp CSprite-0.0.2-SNAPSHOT-jar-with-dependencies.jar be.ugent.idlab.csprite.CSpriteSPARQLTest ../experiments/debs/dbpedia_stripped3.owl file ntriples ../experiments/debs/dbpedia_nolonglines.nt ../experiments/debs/queries.q 2 1 0

How to use C-Sprite with Type queries:

USAGE: <Ontology location> <triples file> <query concept>

With

  • the location of the ontology TBox.
  • the location of the triples that need to be streamed.
  • the query that needs to be executed over the data stream. This should be a concept from the used ontology TBox.

How to run C-Sprite with the DBPedia live stream experiment:

  1. mvn clean install
  2. unzip the triples.zip file in experiments/debs
  3. go to the target folder
  4. java -cp CSprite-0.0.2-SNAPSHOT-jar-with-dependencies.jar be.ugent.idlab.csprite.CSpriteTest ../experiments/debs/dbpedia_stripped3.owl ../experiments/debs/dbpedia_nolonglines.nt "http://dbpedia.org/ontology/Work"

How to cite:

@inproceedings{bonte2019c,
  title={C-Sprite: Efficient Hierarchical Reasoning for Rapid RDF Stream Processing},
  author={Bonte, Pieter and Tommasini, Riccardo and De Turck, Filip and Ongenae, Femke and Valle, Emanuele Della},
  booktitle={Proceedings of the 13th ACM International Conference on Distributed and Event-based Systems},
  pages={103--114},
  year={2019},
  organization={ACM}
}

c-sprite's People

Contributors

argahsuknesib avatar pbonte avatar

Stargazers

 avatar

Watchers

 avatar

c-sprite's Issues

Installation Failed

Hi,

I have a problem during installation of C-Sprite, I tried to follow the readme instruction but I got this error massage:

C:\Users\MyName\C-Sprite\target>java -cp CSprite-0.0.1-SNAPSHOT-jar-with-dependencies.jar be.ugent.idlab.csprite.CSpriteTest ../experiments/debs/dbpedia_stripped3.owl ../experiments/debs/dbpedia_nolonglines.nt "http://dbpedia.org/ontology/Work"

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.NullPointerException
at be.ugent.idlab.csprite.parser.ConceptHandler.getSubsTypes(ConceptHandler.java:36)
at be.ugent.idlab.csprite.parser.HierarchyGenerator.getSupTypes(HierarchyGenerator.java:83)
at be.ugent.idlab.csprite.CSpriteEngine.addQuery(CSpriteEngine.java:65)
at be.ugent.idlab.csprite.CSpriteTest.main(CSpriteTest.java:63)

any idea?

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.