Skip to content

Virtuoso optimization mode fails when default graph is non-empty, even with --graphs specified #36

Description

@Indeewarib

Description

When using void-generator (v0.19) with --optimize-for=Virtuoso and specifying a named graph via --graphs,
the tool fails if the Virtuoso default graph is not empty.

Even though a named graph is explicitly provided, the generator appears to attempt counting
IRIs in the default graph, which causes the run to abort.


Command Used

java -jar target/void-generator-0.19-uber.jar \
  --user dba \
  --password ***** \
  --virtuoso-jdbc "jdbc:virtuoso://localhost:1111/charset=UTF-8" \
  --optimize-for=Virtuoso \
  --graphs="http://smallorg.org/" \
  -r "http://localhost:8890/sparql/" \
  -s void.ttl \
  -i "http://localhost:8890/.well-known/void"

### Error Observed
 java.lang.IllegalStateException: Virtuoso has a default graph, should not use this
    at VirtuosoCounters.countDistinctIriSubjectsAndObjectsInDefaultGraph(...)

Activity

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

Metadata

Metadata

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