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

setList in ParameterizedSparqlString

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Jena 4.2.0
    • None
    • ARQ
    • None

    Description

      having a new function

      setList​(java.lang.String valueName, java.util.List<? extends RDFNode> listItems)

      would be very practical, it would transform

      select *

      { ?s ?p ?o . FILTER (?o IN ?ovalues)}

      into

      select *

      { ?s ?p ?o . FILTER (?o IN ("a", "b"))}

      when called with setList​("ovalues", ["a", "b"])

      Attachments

        Activity

          People

            Unassigned Unassigned
            eroux Elie Roux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: