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

Serializing SPARQL Result Sets in JSON is not spec compliant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 2.11.2, Jena 3.0.0
    • Jena 3.1.0
    • ARQ
    • None

    Description

      A typed literal when serialized in JSON has currently the type "typed-literal".
      This is not correct if you have look at the SPARQL 1.1 Spec. It should only be "literal".

      I understand that supporting the legacy "typed-literal" during parsing makes sense, but the output should be "literal" or at least switchable by a flag.

      Related Code:

      JSONResultsKW.java
      JSONOutputResultSet.java

      Attachments

        Activity

          People

            andy Andy Seaborne
            leidensgurke Lukas Eipert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: