-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Number of results per named graph" is inaccurate #346
Comments
Right now, the Right now, there is no equivalent for a CBD describe strategy link in Stardog, that's why blank nodes are missing. This would be integrated in Oxigraph in the future. Regarding the default graph, right now the behavior is a bit strange, but it was done in order to be able to load the triples and to be able to query them. Also, would it be possible to get a very simple and basic repro (config file, command used to spawn the instance, …) in order to save some previous time and to investigate further? |
This will help: oxigraph/oxigraph#849 |
The new Trifid version (v5.0.4) includes some improvements for the included Oxigraph instance. If you want to give it a try, you can start the Docker image with the following environment variables: environment:
- TRIFID_CONFIG=instances/docker-fetch/config.yaml
- FETCH_HANDLER_FILE="https://raw.githubusercontent.com/zazuko/tbbt-ld/master/dist/tbbt.nt" # default value
- FETCH_HANDLER_FILE_TYPE="application/n-triples" # default value |
I converted the TTL file into this triples file (
And I created a Docker Compose stack: services:
trifid:
image: ghcr.io/zazuko/trifid:v5.0.4
ports:
- "8080:8080"
volumes:
- ./data.nt:/data/data.nt:ro
environment:
- TRIFID_CONFIG=instances/docker-fetch/config.yaml
- FETCH_HANDLER_FILE=/data/data.nt
- FETCH_HANDLER_TYPE=application/n-triples
- DATASET_BASE_URL=https://trippin.lndo.site/ Start it using: docker compose up And when I go to http://0.0.0.0:8080/shape/project, I get this: So the number of triples shown seems to be fixed. The current configuration of the fetch handler plugin is not able to support quads ; everything is done on the default graph. |
I spend some more time on investigating this. The handler-fetch plugin is doing a |
Running v5.0.2 and oxigraph I observed two surprising behaviors when opening the default entity page.
I start oxigraph with the
union-default-graph
.I have a single resource is one graph. 35 triples.
When I open
https://trippin.lndo.site/shape/project
, the "Number of results per named graph" table looks like thisI understand that this is the number of triples with that subject? I would also include the blank node subtree which is otherwise unreachable from other graphs, but alas.
The real question is, why is it saying "default graph"? Those triples are in a named graph.
If I remove
?union-default-graph
from the endpoint, dereferencing<https://trippin.lndo.site/shape/project>
returns 404. I suppose that too is expected. Is it possible to change the default resolver to return all triples from named graph same as requested URL?The text was updated successfully, but these errors were encountered: