Code Monkey home page Code Monkey logo

stream42's People

Contributors

joshsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stream42's Issues

solutions from independent patterns not joined

There's an issue with joining partial solutions from patterns that do not share any variables.
While partial solutions for the individual patterns are found, SolutionIndex.joinSolutions() does not join them, because, looking only for other solutions that have the same variables bound, they are not found.

As an example, the query

SELECT * WHERE {
  ?item ?pred true .
  ?item2 ?pred2 false .
}

with two statements

queryEngine.addStatements(DEFAULT_EVENT_TTL, new StatementImpl(
  new URIImpl("urn:test:created:uri:1"), new URIImpl("urn:test:created:pred:1"),
  new LiteralImpl("true", XMLSchema.BOOLEAN)));
queryEngine.addStatements(DEFAULT_EVENT_TTL, new StatementImpl(
  new URIImpl("urn:test:created:uri:2"), new URIImpl("urn:test:created:pred:2"),
  new LiteralImpl("false", XMLSchema.BOOLEAN)));

should create one result
[item=urn:test:created:uri:1;pred=urn:test:created:pred:1;item2=urn:test:created:uri:2;pred2=urn:test:created:pred:2]
but doesn't.

As a fix, in Query.bind() I add the unbound query variables with a value of null (along with some minor changes to cope with them), which works and still runs your tests (albeit it creates more partial solutions, obviously).

Proposed fix: 3aabf1b

unit tests based on formal definitions

Use the formal definitions of a continuous query database from the thesis. Try to find any ways in which SesameStream deviates from those definitions.

SesameStream + LinkedDataSail evaluation

Depends on #2

Evaluate SS+LDS analogously to [Har11a] for the continuous query scenario from the motivating example in the thesis. Precisely state and back up the claim that in a facilitated environment where a sufficient number of individuals are interacting with the same objects of interest, the latency for retrieving metadata about objects of interest drops below the necessary thresholds with a certain probability over time.
Criteria for completion:
• formal description my solution, analogous to link traversal based query execution, as documented in [Har11b]
• demonstration of the successful execution of continuous SPARQL queries whose answers require both streaming data and dynamically-fetched Linked Data

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.