incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <>
Subject [jira] [Commented] (CLEREZZA-510) DSL for writing RDF elegantly
Date Thu, 30 Jun 2011 15:13:28 GMT


Reto Bachmann-Gmür commented on CLEREZZA-510:

you write
"- RichGraphNode extends GraphNode which is a read only TripleCollection, to turn it into
a mutable graph would be a dramatic API change. I think there is a good reason for separating
reading and writing of graphs. Most RichGraphNodes are used in SSPs where no writing should
be done, so that offering that functionality could easily be misleading. Now to build immutable
but evolvable GraphNodes would be an interesting project, but perhaps not right for this issue.

RichGraphNode allows modification of the Triple Coolection (adding and removing properties),
you currently just need to use the inherited method from GraphNode (which is neither a TripleCollection
nor read-only). The idea behind RichGraphNode and GraphNode was to be a Resource-Wrapper usable
both on top of mutable as well as immutable triple collections (i.e. Graphs and MGraphs).
RichGraphNode had less DSL style methods for graph-anging operations, adding those would imho
be the scope of this issue.

> DSL for writing RDF elegantly
> -----------------------------
>                 Key: CLEREZZA-510
>                 URL:
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Henry Story
>            Assignee: Henry Story
>         Attachments: NiceLookingGraphInScala.png
> Writing RDF like 
> graph.add(new TripleImp(Subj,rel,obj))
> is tedious to read and to write and makes every thing seem really heavy. Make it look

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message