quangis / quangis-workflow

Tools to describe GIS workflows semantically, and to generate them. Includes the core concept transformation algebra (CCT).
GNU General Public License v3.0
1 stars 0 forks source link

Improve logic for determining CCD/CCT type #7

Open nsbgn opened 1 year ago

nsbgn commented 1 year ago

For part of this project that deals with drawing abstractions/multitools from concrete workflows, there are two phases:

First, repository construction; then, workflow abstraction. The second phase is not very complicated, because nothing can be added to the repository: we only check if an abstraction exists with matching tool URI & CCT & CCD, and error out otherwise. The first phase is where the logic needs to be improved.

If everything matches, there's already a abstraction and you don't have to do anything. And sometimes the course of action is straightforward: just make a new abstraction. But there are 4 more cases when it's more complicated:

Furthermore, finding the abstraction should be done differently for a workflow than for a concrete tool, because we can work off different assumptions.