Skip to content
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

void-generator fails on DEFAULT graph with graphDB #19

Open
mpagni12 opened this issue Oct 14, 2024 · 1 comment
Open

void-generator fails on DEFAULT graph with graphDB #19

mpagni12 opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@mpagni12
Copy link

In GraphDB, I have created two repositories and uploaded the same RDF data in them (a RDFS schema). The only difference is that the data were uploaded in the DEFAULT graph in one case, and in a named graph in the other case. The void generator (run with -r -i -s options) returns the expected result for the named-graph repository. But, it returns only the service description for the DEFAULT graph repository, i.e. void partitions are completely missing:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix : <http://www.w3.org/ns/sparql-service-description#> .
@prefix void_ext: <http://ldf.fi/void-ext#> .
@prefix formats: <http://www.w3.org/ns/formats/> .
@prefix pav: <http://purl.org/pav/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<http://localhost:7200/repositories/TEST_default> a :Service;
  :defaultDataset <http://localhost:7200/repositories/TEST_default#sparql-default-dataset>;
  :endpoint <http://localhost:7200/repositories/TEST_default>;
  :resultFormat formats:SPARQL_Results_CSV, formats:SPARQL_Results_JSON, formats:N-Triples,
    formats:RDF_XML, formats:SPARQL_Results_TSV, formats:Turtle, formats:SPARQL_Results_XML;
  :supportedLanguage :SPARQL11Query;
  :feature :UnionDefaultGraph, :BasicFederatedQuery .

<http://localhost:7200/repositories/TEST_default#sparql-default-dataset> a :Dataset;
  :defaultGraph <http://example.org/void#sparql-default-graph> .

<http://example.org/void#sparql-default-graph> a :Graph;
  void:distinctObjects "102"^^xsd:long;
  void_ext:distinctLiterals "66"^^xsd:long;
  void_ext:distinctIRIReferenceObjects "36"^^xsd:long;
  void:distinctSubjects "50"^^xsd:long;
  void_ext:distinctIRIReferenceSubjects "47"^^xsd:long;
  void_ext:distinctBlankNodeSubjects "3"^^xsd:long .

Marco

@mpagni12 mpagni12 changed the title void-generator fail on DEFAULT graph with graphDB void-generator fails on DEFAULT graph with graphDB Oct 14, 2024
@JervenBolleman JervenBolleman self-assigned this Oct 15, 2024
@JervenBolleman
Copy link
Owner

A practical case of #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants