Giter Site home page Giter Site logo

Comments (2)

ericprud avatar ericprud commented on July 19, 2024
<P26948> up:annotation <P26948#SIPDB6A831D8E2E2D2A> .
<#_kb.P26948_up.annotation_A144DC8D56EA0928> rdf:type rdf:Statement ;
  rdf:subject <P26948> ;
  rdf:predicate up:annotation ;
  rdf:object <P26948#SIPDB6A831D8E2E2D2A> ;
  up:attribution <P26948#attribution-89AC1B682EEB440D50C4AEBB24FCA860> .

Is a lot of bytes to type., and even worse the five joins are very expensive to perform.

I assume those joins are on query, and would probably be resolved out in the pre-processor if they have constant predicates and objects. How can you avoid those joins if you have variables in place of e.g. <P26948> and up:annotation above? Would the idea be that an embTriple index would allow the SPARQL parser to recognize A. reified statements or B. an <<>> encoding thereof and turn the three self-joiins into a crawl through an SPO index over your embedded triples?

from rdf-star.

JervenBolleman avatar JervenBolleman commented on July 19, 2024

@ericprud the assumption is that instead of the current quad tables we would see a "quad+(virtual) triple id column" making the the five fold join of the reification quad just a single join (given a syntax such as << >>). This is possible with the PG constraints, harder for the SA mode to implement. Converting a reification quad into a << >> style query is possible by query rewriting but not needed for our usecase.

from rdf-star.

Related Issues (20)

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.