Skip to content

void-generator appears to silently fail for localhost SPARQL endpoints #35

Description

@mdrishti

I am using the following command for generating void description for a Qlever generated SPARQL endpoint on localhost.

java -jar target/void-generator-0.19-uber.jar -r "http://localhost:7036/" --void-file void-metrin-kg-v1.ttl -i "http://localhost:7036/.well_known/void#"  --optimize-for Qlever

The above does not throw any error:

[main] INFO swiss.sib.swissprot.servicedescription.Generate - Optimizing for backing store: Qlever
[main] INFO swiss.sib.swissprot.servicedescription.Generate - Queries 4 / 5 
[main] INFO swiss.sib.swissprot.servicedescription.Generate - Ran 5 queries

It produces a small void file (example below), which appears to be incomplete, given that the Qlever indexed KG also contains example file generated using sparql-editor.

@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:7036/> a :Service;
  :defaultDataset <http://localhost:7036/#sparql-default-dataset>;
  :endpoint <http://localhost:7036/>;
  :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;
  :availableGraphs <http://localhost:7036/.well_known/void##sparql-graph-collection> .

<http://localhost:7036/#sparql-default-dataset> a :Dataset;
  :defaultGraph <http://localhost:7036/.well_known/void##sparql-default-graph> .

<http://localhost:7036/.well_known/void##sparql-default-graph> a :Graph;
  void:distinctObjects "99723292"^^xsd:long;
  void_ext:distinctLiterals "19197485"^^xsd:long;
  void_ext:distinctIRIReferenceObjects "80525807"^^xsd:long;
  void:distinctSubjects "72839263"^^xsd:long;
  void_ext:distinctIRIReferenceSubjects "71581636"^^xsd:long;
  void_ext:distinctBlankNodeSubjects "1257627"^^xsd:long .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions