This changes Model.compile so it returns a new CompiledModel class. This is not stored in the database; it is an ephemeral class which stores the compiled model and provides some convenience methods. In particular, it can generate DataFrames or SQL tables from SHACL shapes.
@TShapinsky @MatthewSteen what do you think of the abstraction? Once we figure out what this should look like then I can propagate the changes to the rest of the codebase and add tests
This changes
Model.compile
so it returns a newCompiledModel
class. This is not stored in the database; it is an ephemeral class which stores the compiled model and provides some convenience methods. In particular, it can generate DataFrames or SQL tables from SHACL shapes.See example here
@TShapinsky @MatthewSteen what do you think of the abstraction? Once we figure out what this should look like then I can propagate the changes to the rest of the codebase and add tests