Changes between Version 1 and Version 2 of ApertureRDFMap
- Timestamp:
- 10/17/05 15:48:04 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApertureRDFMap
v1 v2 5 5 {{{ 6 6 7 public interface RDFMap { 7 /** 8 * a combination of a Java Map and a RDF graph. Which means, you can add complex data 9 * structures or simpler ones, as needed. 10 * All Map-centric methods assume that the data is about the key-value pairs of the so-called 11 * "TopResource", which is the resource whose metadata are defined in the map. 12 * The RDFMap can also contain information about <b>related</b> data of the TopResource, 13 * normally resources that are values in the top key-value pairs. These related resources 14 * can be accessed and manipulated using the getRDF() method and the methods defined there. 15 */ 16 public interface RDFMap extends java.util.Map { 8 17 9 18 /** … … 14 23 15 24 /** 16 * 25 * get the RDF model behind this RDFMap. Returns a model that contains the TopResource and other 26 * resources. 27 * TODO: we have no clue which model to use. The new sesame2 api has no convenience methods at all, and shifts everything into the Model-Transaction. which leaves us with RDF2GO by Max Völkel or Melniks RDF model. Both are cludgy, but RDF2Go might have a good trade-off. 17 28 */ 18 public Map asMap();29 public RDFModel asRDFModel(); 19 30 20 31 }