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

Bigdata RDF parsers should be independent from connections

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: BLAZEGRAPH_RELEASE_1_5_2
    • Component/s: None
    • Labels:
      None

      Description

      When I initiate new BigdataTurtleParser() it has SesameFactoryImlp instead of BigdataFactoryImlp inside. The only way to get BigdataFactoryImpl (that has only private constructor) is to initiate everything from the database connection. But it is a wrong way of doing things, why should why open a connection to the database just to parse some turtle with RDR-s inside? I often do some inmemory operations on the parsed data (like filtering out what I do not need) before opening the connection and saving to bigdata.

        Issue Links

          Activity

          Hide
          antonkulaga2 Anton Kulaga added a comment -

          I do not see the button to edit the issue description=(

          I've found a workaround in my code by extending BigdataTurtleParser and then - setValueFactor(BigdataValueFactoryImplementtion.getInstance(base)) but I still do not indestand why by default there is ordinary SesameValueFactory implementation instead of Bigdata's one.

          Show
          antonkulaga2 Anton Kulaga added a comment - I do not see the button to edit the issue description=( I've found a workaround in my code by extending BigdataTurtleParser and then - setValueFactor(BigdataValueFactoryImplementtion.getInstance(base)) but I still do not indestand why by default there is ordinary SesameValueFactory implementation instead of Bigdata's one.
          Hide
          bryanthompson bryanthompson added a comment -

          One is for RDF data parsers. The other is for the SPARQL QUERY and UPDATE parsers.

          Show
          bryanthompson bryanthompson added a comment - One is for RDF data parsers. The other is for the SPARQL QUERY and UPDATE parsers.
          Hide
          beebs Brad Bebee added a comment -
          Show
          beebs Brad Bebee added a comment - CI is clean: https://ci.blazegraph.com/job/TICKET_1322/2/

            People

            • Assignee:
              igorkim igorkim
              Reporter:
              antonkulaga2 Anton Kulaga
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: