Uploaded image for project: 'Apache Commons RDF'
  1. Apache Commons RDF
  2. COMMONSRDF-48

Add RDF4JNativeStore factory?

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.3.0
    • Fix Version/s: None
    • Component/s: rdf4j
    • Labels:
      None

      Description

      Raised by [~p_ansell] in [pull request 25](https://github.com/apache/incubator-commonsrdf/pull/25#discussion_r85234768) about `NativeStore` implementation of `RDF`:

      Why is this defined as an inner class and not a reusable implementation?

      Stian:

      The functionality is also there in RDF4J using asGraph. Perhaps a richer NativeStore factory could be made that hides the ValueFactory plumbing and can be created with a folder Path?

      Unclear if such a factory would then reuse the same connection for each createGraph() and not support createDataset() (more than once), or if it would just always return the same populated Dataset. Or should each call would make a new connection in a new subfolder..?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stain Stian Soiland-Reyes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: