stuckyb / ontopilot

15 stars 2 forks source link

redirect to local versions of import modules #63

Closed stuckyb closed 7 years ago

stuckyb commented 7 years ago

When a compiled ontology uses import modules with remote IRIs, OntoPilot will always attempt to load them from the remote location. This means that the local versions of the modules might be updated more recently than the remote versions, but OntoPilot will still use the remote versions. It would be more user-friendly if OntoPilot could somehow determine when to redirect IRI requests to the local version.

stuckyb commented 7 years ago

After giving this some more thought, I think the best strategy is to always use the local version of the modules, if they exist, because those should always be in sync with the local state of the source tables.

stuckyb commented 7 years ago

This should now be implemented and working as described.