The node table is same design but uses binary encoding of the nodes (RDF Thrift).

        Andy

On 17/01/17 16:48, A. Soroka wrote:
This is cool, Andy. Hey, if you got the bits, use 'em! :grin: Is the node table 
itself basically similar to TDB (obviously modulo the change to node IDs)?

---
A. Soroka
The University of Virginia Library

On Jan 17, 2017, at 11:44 AM, Andy Seaborne <[email protected]> wrote:

Additional feature:

TDB2 now supports xsd:doubles as inline values.

Like over inline values, it does this if and only if the value fits, otherwise 
it uses the node table.

In the case of xsd:doubles, there 62 bits to store them.  xsd:doubles (as of 
XSD 1.1) are very similar to IEEE-754-2008 binary64 and have a range upto 
10^308.

TDB2 inline double are limited to 10^76.

NaN, Inf, -Inf, 0 an -0 are inlined.

TDB2 inlines:

xsd:decimal
xsd:integer
 and all types derived from xsd:integer
 keeping the datatype (TDB1 does not).
xsd:double
xsd:float
xsd:dateTime
xsd:dateTimeStamp
xsd:date
xsd:boolean

   Andy

Reply via email to