| 10 | | as a hack, I would suggest to use the current Sesame2 inmemmodel as it is. Ought to be way there to create triples somehow. I thought about using the old RIO package, but all those convenience mehtods have been deleted *sniff*., no more resource.addProperty(p, o) |
| 11 | | |
| 12 | | still have to see how this code here is possible in sesame2: |
| 13 | | |
| 14 | | {{{ |
| 15 | | #!java |
| 16 | | Model m = new ModelImpl(); |
| 17 | | Resource r = m.createResource(uri). |
| 18 | | r.addProperty(p, o); |
| 19 | | r.addProperty(p1, o1); |
| 20 | | return r; |
| 21 | | }}} |
| | 10 | as a hack, I would suggest to use the current Sesame 2 inmemmodel as it is. See wiki:ApertureRDF to see how this is done with Sesame 2. |