Comments (4)
Not sure yet, will look into it next week.
from comunica.
Thanks for reporting!
from comunica.
@rubensworks Is this an easy fix on your side? If not, I will implement a workaround on ours.
from comunica.
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)
- Comunica SPARQL endpoint configuration with CLI argument HOT 1
- `IN` operator does not work with literals HOT 10
- Link to other builds from https://query.linkeddatafragments.org/
- Slow query over 2 SPARQL endpoints produces no results or errors HOT 4
- Prefixes are lost when piping data HOT 2
- Blank nodes in `CONSTRUCT` output HOT 9
- `stringSource` RDF syntax errors uncaught HOT 3
- Migrate from cross-fetch to @inrupt/universal-fetch HOT 2
- Dynamic inner joins can create excessive number of requests HOT 3
- Investigate if `MediatedLinkedRdfSourcesAsyncRdfIterator` is leaving iterators open HOT 1
- `initialQuads` in `RdfSourceQPF` not consumed or closed HOT 2
- Investigate if the `bindingsStream` in `ActorQueryOperationLeftJoin` should be closed on the error event HOT 1
- Strange (?) behavior with `VALUES`, returning no data HOT 5
- Consider adding a context to bindings? HOT 5
- Too many results when rebinding results from sub select statement. HOT 3
- Agregates with xsd:date objects do not work HOT 6
- ZeroOrOne path expressions with 2 variables not supported yet HOT 1
- Restore Solid integration tests HOT 3
- SELECT queries over SPARQL endpoints even if COUNT was zero. HOT 1
- `HttpServiceSparqlEndpoint` does not support void queries HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comunica.