Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-195

Allow users to specify query parameters when they use SERVICE <...?name=value> in their SPARQL queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • ARQ 2.9.1
    • ARQ
    • None

    Description

      SPARQL endpoints might require or allow additional query parameters, if we want to use those endpoints with SERVICE <...> in SPARQL queries we must support query parameters and allow users to use SERVICE <...?name=value> in their SPARQL queries.

      Service.java can look in the Context for additional parameters.
      Parameters need to be kept separate and grouped on a per SERVICE endpoint basis (in order to avoid exposing parameter values to wrong places).
      A Map<String, Map<String,List<String>>> can be uses to map SERVICE endpoint URLs to parameter-->values.
      OpService.java probably needs to change (to keep the parameters separate from the SERVICE endpoint URL).

      See also this thread on jena-users: http://markmail.org/thread/wc5hvr3b3uzy2mrk

      Attachments

        1. JENA-195.patch
          6 kB
          Paolo Castagna
        2. JENA-195.patch
          12 kB
          Paolo Castagna
        3. JENA-195.patch
          3 kB
          Paolo Castagna

        Issue Links

          Activity

            People

              castagna Paolo Castagna
              castagna Paolo Castagna
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified