Giter Site home page Giter Site logo

ftsrg / ire Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 452 KB

This repository is only kept for historical reasons, the projects was merged to the ingraph repository

Home Page: http://docs.inf.mit.bme.hu/ingraph/

License: Eclipse Public License 1.0

Scala 99.66% Shell 0.34%
research

ire's People

Contributors

makaijozsef avatar szarnyasg avatar wafle avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ire's Issues

Use Vectors instead of Maps

We should get rid of maps as they 1) consume a lot of memory 2) provide much worse performance than vectors. For now, we should restrict the Rete network to fixed with tuples, with vertex/edge ids and simple properties (used for selection). This will work fine for queries that return the IDs:

MATCH (n)
RETURN ID(n)

However, it will not not suffice even for simple queries, e.g.

MATCH (n)
RETURN n

This query returns all the properties of the n variable.

To get the properties of n, we will have to join n to it's properties in the production node. For this, we have to implement a node similar to the properties() method in Neo4j. E.g. the get-properties nullary operator should return 2-tuples of <ID, properties>, e.g. <1, {name: "John", age: 34}>, etc.

Remove remoting components

ire should focus on query processing, and not remote messaging - we should remove the akka-remote components and the related source code files.

Incremental evaluation of standard Cypher constructions

(Related ticket: ftsrg/ingraph#35)

Use this issue to keep track of supported Cypher constructs.

Clauses

  • Query constructs
    • MATCH
      • Transitive closure #12
    • RETURN (Production node)
    • UNWIND
    • OPTIONAL MATCH (left outer join)
    • WITH this is translated to joins in the query plan
    • UNION #13
  • Data manipulation
    • CREATE
    • MERGE
    • SET
    • DELETE
    • DETACH DELETE
    • REMOVE
  • Procedure calls
    • CALL ... YIELD (as this call may run an arbitrary Java code, there is no way we can handle these incrementally)

Sub-clauses

  • Conditions
  • Ordering
    • ORDER BY #3
    • SKIP #4
    • LIMIT #4
  • Data manipulation
    • ON CREATE
    • ON MATCH

Operators

Expressions

Functions

Types

  • primitives
  • list
  • map
  • node
  • relationship
  • path

Add operator for union

The union operator is a simple binary node, which produces โ€“ you guessed it โ€“ the union of its input relations.

Cleanup unused code

  • RDFReader and RdfReaderTest classes.
  • container_performance
  • DistributedQueries, RemoteOnlyQuerie, Slave

Selection node expectedTerminatorCount

Why do we override the value of expectedTerminatorCount to 2.

If we keep it with a value of 2, the following test case becomes: nondeterministic

  "Unary nodes" must {
    "propagate terminator messages" in {

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.