Giter Site home page Giter Site logo

Comments (4)

rubensworks avatar rubensworks commented on June 12, 2024 1

Not sure yet, will look into it next week.

from comunica.

github-actions avatar github-actions commented on June 12, 2024

Thanks for reporting!

from comunica.

ddeboer avatar ddeboer commented on June 12, 2024

@rubensworks Is this an easy fix on your side? If not, I will implement a workaround on ours.

from comunica.

rubensworks avatar rubensworks commented on June 12, 2024

Support for paged collections (non-TPF/QPF) in Comunica is not well-tested at the moment, so issues like these are not surprising.
In any case, this is something we want to properly support, so this must be fixed.
But we won't be able to fix this in the very short term, so a workaround is preferred.

Some notes to self:

Simpler query that also fails to produce results:

SELECT *
WHERE {
  <https://opendata.picturae.com/dataset/dre_a2a_webservice> <http://purl.org/dc/terms/identifier> ?i.
  <https://opendata.picturae.com/dataset/dre_a2a_webservice> <http://purl.org/dc/terms/issued> ?issued.
}

The problem is that the linked hypermedia iterator is overwriting metadata per new page. In this case, each page is defaulting to the none-source-type, which provides exact cardinalities for matches in that page (while TPF falls uses Hydra cardinality). This causes the empty-join actor to be used, which returns an empty result stream.

One solution would be to merge (and test) the feature/adaptive-join branch. In that branch, we prefer dataset-level cardinalities, which will contain the Hydra cardinality, so that we don't use the page-specific cardinality.

Also, if comunica/comunica-feature-link-traversal#102 is the same problem, we will want to change the none-source-type to not emit exact cardinalities, but only lowerLimit cardinalities. Furthermore, the empty-join can then not be used for lowerLimit's.

from comunica.

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.