semanticarts / gist

Semantic Arts gist upper enterprise ontology
Creative Commons Attribution 4.0 International
155 stars 18 forks source link

Issue with migration scripts and local files #1142

Open dylan-sa opened 1 month ago

dylan-sa commented 1 month ago

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.

rjyounes commented 1 month ago

Implement as documentation updates along with #1140.