Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1044

Provide URL query parameter to set the Accept Content-Type

    Details

    • Type: New Feature
    • Status: Done
    • Resolution: Done
    • Affects Version/s: BIGDATA_RELEASE_1_3_1
    • Fix Version/s: None
    • Component/s: B+Tree

      Description

      Add a URL Query "format" parameter for generating SPARQL results using a specified MIME Type.

      See http://www.w3.org/2009/sparql/wiki/Feature:ReturnFormatKeyword

      TODO


      - Document on wiki (NanoSparqlServer page already has section on CONNEG).
      - Tests at the HTTP layer. See TestProtocolAll.

        Activity

        Hide
        bradbebee bradbebee added a comment -

        New feature is in branch new_feature_ticket_984 and is in CI.

        Show
        bradbebee bradbebee added a comment - New feature is in branch new_feature_ticket_984 and is in CI.
        Hide
        bryanthompson bryanthompson added a comment -

        This feature was part of 1.4.0. It is documented on the wiki at http://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#QUERY

        The feature is invoked using "format=value". Valid values are json, xml, application/sparql-results+json, and application/sparql-results+xml. json and xml are simple short cuts for the full mime type specification. Setting this parameter will override any Accept Header that is present.

        Show
        bryanthompson bryanthompson added a comment - This feature was part of 1.4.0. It is documented on the wiki at http://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#QUERY The feature is invoked using "format=value". Valid values are json, xml, application/sparql-results+json, and application/sparql-results+xml. json and xml are simple short cuts for the full mime type specification. Setting this parameter will override any Accept Header that is present.

          People

          • Assignee:
            beebs Brad Bebee
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: