Skip to content

CSV export from SPARQL CONSTRUCT #212

Open
@jmvanel

Description

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 .

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions