commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Brandizi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COMMONSRDF-72) Pointers to containers (Graph/RDF)
Date Wed, 22 Nov 2017 18:51:01 GMT
Marco Brandizi created COMMONSRDF-72:
----------------------------------------

             Summary: Pointers to containers (Graph/RDF)
                 Key: COMMONSRDF-72
                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-72
             Project: Apache Commons RDF
          Issue Type: New Feature
          Components: api
            Reporter: Marco Brandizi


I'm writing a few utilities to ease the use of commons RDF, starting from a library I already
have for Jena ([here|https://github.com/marco-brandizi/rdfutils/blob/master/rdfutils-core/src/main/java/info/marcobrandizi/rdfutils/GraphUtils.java]
the interface).

It would be quite useful to have container links in interfaces like Graph (Graph.getRDF())
or RDFTerm (RDFTerm.getGraph()). Methods that need to go back to their container to do something
(e.g., add some property/value statement to a given IRI object, using the graph it comes from)
wouldn't need to receive too many parameters (new triples would be added to subject.getGraph()
and new IRI properties would be generated using subject.getGraph().getRDF() ).




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message