w3c/banana-rdf — pull request #29 by bblfish (2012-08-15 11:38:22+00:00)
Title: Remove RDFGraphQuery 

1. Both Sesame and Jena use repository objects for SPARQL, converting graphs to repos
2. By removing the `RDFGraphQuery` we simplify the code without incurring any cost

In this first patch I have created two implicit functions to translate from Graph to Store:
- `JenaStore.toStore` method
- `SesameStore.toMemoryStore`

We discussed on IRC adding a trait that could just implement those two methods.

```
trait GraphAsStore[Rdf <: RDF] {
def graphAsStore(graph: Rdf#Graph): RDFStore[Rdf]
}
```

I am not sure where to put that trait, and what to attach it to. I have a feeling I'll make the wrong choice there, so I leave that to Alex.