Skip to content
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

CSV export from SPARQL CONSTRUCT #212

Open
jmvanel opened this issue Feb 16, 2021 · 0 comments
Open

CSV export from SPARQL CONSTRUCT #212

jmvanel opened this issue Feb 16, 2021 · 0 comments

Comments

@jmvanel
Copy link
Owner

jmvanel commented Feb 16, 2021

Currently we have an HTML table view from SPARQL CONSTRUCT, e.g.
http://semantic-forms.cc:9112/table?query=CONSTRUCT+%7B+%3FS+%3FP+%3FO+.+%7D+WHERE+%7B+GRAPH+%3FG+%7B+%3FS+%3FP+%3FO+.%0D%0A%3FS+a+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FOrganization%3E+.%0D%0A+%7D+%7D+LIMIT+100%0D%0A&layout=on&orderby=&details=&label=

If we add HTTP GET parameter format=csv or format=text/csv ,
the output will be CSV, similar to what can be imported by /display ( cf commit c53c89b )

Cherry on the cake : the service /table could also do content negotiation for MIME type text/csv .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant