Skip to content

Issue with migration scripts and local files #1142

Open
@dylan-sa

Description

@dylan-sa

One use case for the migration scripts is to run them over local ontology/vocabulary files to capture updates. Our README points out limited support for named graphs when the scripts are run over local files using onto-tool. Since named graphs are used in queries/action/default, running these queries over local files generates the following error (as expected):

raise Exception(
Exception: You performed a query operation requiring a dataset (i.e. ConjunctiveGraph), but operating currently on a single graph.

Commenting out the minus {named graph pattern} portion of these queries gets them to work. I think the queries in this directory will still work well when run from a triplestore, but I wonder if we can find a way to better accommodate the local file use case. This might just be adding some additional notes to the README or queries.

See also #1140.

Metadata

Metadata

Assignees

Labels

impact: patchNo new functionality or changes in human-readable semantics (e.g,. fixing a typo in an annotation)

Type

No type

Projects

Status

In Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions