github vaticle/typedb 1.5.6
Grakn Core 1.5.6

latest releases: 2.28.0, 2.28.0-rc0, 2.27.0...
4 years ago

Install & Run: http://dev.grakn.ai/docs/running-grakn/install-and-run

New Features

  • Number Comparison.
    Previously, if an attribute is defined to have a certain datatype, then only values of that datatype could be evaluated in a query traversal. For example, if score is an attribute with datatype double, you can only query for score by providing decimal point values, e.g. match $x 9.0 isa score; get;. Querying for match $x 9 isa score; get; would yield no results even though there are scores with the value 9.0. We have now improved the expressivity of Graql's predicate comparison to being able to compare Numerical values of arbitrary datatypes (at the moment just long and double). Numbers will now be evaluated to be equivalent if they have the same value regardless of their datatypes.

Bugs Fixed

  • Proper use of JanusTransaction.
    We now use different JanusTransactions which we get from a shared StandardJanusGraph.
    Before we were often reusing the same JanusTransaction for different Grakn Transactions.

    With this change, we now achieved a stable memory allocation and we don't see any more OutOfMemory exceptions when keeping the same Session open for a long time.

  • Fix creation and deletion of attributes bugs.
    Resolve 2 bugs concerning the creation and deletion of attributes in the same transaction.

  • Core Bugfixes.
    Fix and add tests for:

    • querying for non-reified implicit attribute ownership and the owner in the same query not returning any concepts fixed by moving an edge traversal step into IdFragment
    • return deleted concepts' IDs without re-querying deleted Janus element (was causing vertex already deleted bugs with reified relations)
  • Make 'grakn server clean' command to clean the correct data directory as specified in grakn.properties.
    Fix #5248
    Previously a hardcoded directory (server/db/) was used when running grakn server clean. This resulted in possible problems if a custom directory was used for data storage. Now, data-dir config value is used to determine the correct directory to clean.

Code Refactors

  • Deprioritise implicit labels.
    We reinstate the previous behaviour when we assigned smaller priority to label fragments which correspond to implicit relations. This is due to the fact that in general and by default they correspond to edges (are non-reified).

Don't miss a new typedb release

NewReleases is sending notifications on new releases.