cellfie-plugin icon indicating copy to clipboard operation
cellfie-plugin copied to clipboard

Specifying start/end row and column in a transformation rule should be optional

Open csnyulas opened this issue 10 years ago • 1 comments

Specifying start/end row and column in the transformation rule should be dependent on where the wildcard character * is used in the references. If * never appears in the references at the column position, requiring from the user to specify start column and end column is unnecessary and can be really confusing. The same holds for having to specify start/end row when there is no * at the row position.

For example the rule:    Class: @B* subclassOf: @A* should only require start row and end row to be specified, but no start column and end column, because the rule does not iterate over columns. On the other hand the rule:    Class: @A* subclassOf: @*1 or    Class: @A* Annotations: rdfs:seeAlso @** should require both start/end row and start/end column.

csnyulas avatar Oct 12 '15 21:10 csnyulas

A quick and dirty implementation of this would be the following: if both start and end column are missing they are both replaced with A; if both start and end row is missing they can be both replaced with 1. This way the current algorithm would still work. This is what users usually do when they don't iterate over rows and/or columns, anyways.

csnyulas avatar Oct 12 '15 21:10 csnyulas