You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2020/10/01 14:26:42 UTC

[GitHub] [jena] afs commented on pull request #804: JENA-1974: G, a library of functions for working with Graph.

afs commented on pull request #804:
URL: https://github.com/apache/jena/pull/804#issuecomment-702173332


   @ajs6f 
   
   > Question: is this how you expect ideas for a new API to be presented?
   
   I don't have preference. This is a bit different as it is, mostly, moved from `jena-shacl`.  This library also "parked" in a not-API place for the moment so it can be morphed.
   
   `Graph` is a bit different because it is the base of all RDF access. I would have expected a new API to build on top of `Graph` in the same way that `Model` does.
   
   Actually changing `Graph` to add a whole bunch of operations and across different style of API does not seem like a good idea.
   
   Specifically for `G`, it really is adding words to more accurately describe what it going on so even where the operations are one liners, I think it clearer to give the pattern a descriptive name. Other operations wrap up a bit of checking so moving visiual clutter out of the caller app. YMMV.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org