sparql.anything icon indicating copy to clipboard operation
sparql.anything copied to clipboard

[Spreadsheet] Composite cell values

Open enridaga opened this issue 2 years ago • 5 comments

Currently, cell values are limited to simple datatypes such as number, string, boolean. However, sometimes cell include richer content, for example, links. We could apply the facade to such content and make those links accewssible.

enridaga avatar Sep 22 '22 10:09 enridaga

Could you post an example?

luigi-asprino avatar Sep 22 '22 10:09 luigi-asprino

I created a test and developed a basic transformation (which should be reviewed for consistency, some decisions I am not 100% sure)

enridaga avatar Sep 22 '22 12:09 enridaga

The general point is to support the case where cells require a complex description, I have added a property spreadsheet.composite-values that makes the cell be triplified as a container rather than a literal value.

enridaga avatar Sep 22 '22 12:09 enridaga

I also made the triplifier extract comments that might be attached to the cells

luigi-asprino avatar Sep 23 '22 11:09 luigi-asprino

I've also updated the documentation https://github.com/SPARQL-Anything/sparql.anything/blob/v0.9-DEV/formats/Spreadsheet.md#spreadsheetcomposite-values

luigi-asprino avatar Sep 23 '22 11:09 luigi-asprino

I think this seems ready to go, I will move it to v0.8.1

enridaga avatar Dec 15 '22 12:12 enridaga