Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-477 SPARQLEndpoint overhaul
  3. RYA-478

SPARQLEndpoint => content-negotiation

Add voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.12
    • 3.2.12
    • clients
    • None

    Description

      currently it's only possible to get SPARQL results in application/rdf+xml (with content-type header: text/xml) for graph query results and application/sparql-results+json (with content-type header: application/json) for tuple query results. this should be improved to expose all available official mimetypes with proper content-negotiation (accept headers). it should be possible to override accept headers by URL params, so that all mimetypes are also available within a browser for testing. the implementation should make use of sesame's (later rdf4j's) writer registries (rdfwriter + tuplequeryresultwriter) so that additional writers (mimetypes) are available without touching the endpoint's code: for example: there's a json-ld writer for sesame (rdf4j) which just needs to be dropped into the server's lib folder to be available..

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            turnguard Jakobitsch Jürgen
            turnguard Jakobitsch Jürgen

            Dates

              Created:
              Updated:

              Slack

                Issue deployment