AtesComp / rdf-transform

RDF Transform is an extension for OpenRefine to transform data into RDF formats.
Other
27 stars 7 forks source link

Change Expression on RDF Node type change #4

Closed AtesComp closed 2 years ago

AtesComp commented 2 years ago

When the user selects any of the RDF Node types (index, column, constant) from another types, change the expression to the default expression of that type unless it's changing back to the original type. If changing back to the original, restore the original expression.

Also, consider column expressions may be compatible between columns, so preserve a column expression if just changing columns.

For index types, a change between record and row mode already does this:

AtesComp commented 2 years ago

Fixed by commit ec0564d.