-
Notifications
You must be signed in to change notification settings - Fork 169
Spreadsheet output type for sparql results #5290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Uses apache POI for xlsx support, very basic formatting. Signed-off-by: Jerven Bolleman <[email protected]>
I have a basic proof of concept that works, but not all datatypes are nicely formatted and I would like some help there. |
We should also support Open Document Format spreadsheets. |
Uses apache POI for xlsx support, very basic formatting. Signed-off-by: Jerven Bolleman <[email protected]>
Out of curiosity, are you considering using e.g. https://github.com/tdf/odftoolkit ? There's also https://www.jopendocument.org (but that one is AGPL ) |
@barthanssens for ooxml you can see I am using apache poi, for ODF I have not even thought about it yet. |
Finding a well-supported Java library for ODF, with a suitable license can be a problem (ODF Toolkit ODFDOM-API is the best bet IMHO) Luckily ODF is easier to produce than OOXML, and it is possible to have a single XML ODF (instead of a series XML files in a ZIP container), so if everything else fails, it should not be too complicated to develop a writer (Aspose.Cells is another library supporting ODF, but not free / open source) |
Rather basic reverse engineered via LiberOffice converting the XLSX.
@barthanssens I went for the more raw approach for ODS. Could you try it out for me? |
@hmottestad is this kind of feature ok for a minor release? |
Uh oh!
There was an error while loading. Please reload this page.
Problem description
While tsv, and csv are ok. We can create nicer results by directly generation a spreadsheet.
Preferred solution
Generate a styled XLSX with data and formatting done by the server.
This would include having links in cells for IRIs, which show localnames or prefixed IRIs instead of the full value.
Datatypes are converted to the right cell types.
Headers are setup, pivot tables might be created.
Are you interested in contributing a solution yourself?
Yes
Anything else?
Adding the metadata of which server evaluated the query, the query, when, runtime etc. would be nice to add to the File properties.
The text was updated successfully, but these errors were encountered: