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

sdbdump refuses to output a graph as Turtle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.1.0
    • None
    • SDB
    • None

    Description

      I upgraded SDB to the 3.1.0 release version after running a snapshot build from early February. This broke a script that I use to periodically back up a SDB database:

      sdbdump --sdb=$SDBROOT/sdb-yso.ttl \
        --graph=http://www.yso.fi/onto/yso/ \
        --out=TTL >$TTLFILE
      

      This now gives the error

      Not a 'quads' language (try 'N-Quads' or 'TriG')
      

      The culprit seems to be this commit made on 8 Feb:
      https://github.com/apache/jena/commit/cb449523c83832ceb9cf525b4b1e1f382c49c16f

      I can see the point of requiring a quad-capable output format when dumping all graphs (though I'm not sure it should be a fatal error even in that case), but in my case, I asked for a single graph only. I think the check is overly strict.

      Attachments

        Activity

          People

            Unassigned Unassigned
            osma Osma Suominen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: