Changes between Initial Version and Version 1 of ApertureRDF


Ignore:
Timestamp:
10/12/05 12:58:13 (19 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ApertureRDF

    v1 v1  
     1= The Use of RDF = 
     2 
     3We should discuss where and how RDF is used in this framework. In previous email discussions we already thought about using RDF as a way to let an Extractor output its extracted information, because of the flexibility it provides: 
     4 
     5- no assumption on what the metadata looks like, can be very simple or very complex - easy to store in RDF stores, no transformation necessary (provided that you have named graphs support) 
     6 
     7The same technique could also be used in the DataObjects?, which now use a Map with dedicated keys, defined per DataObject? type. I would be in favour of changing this to "something RDF", as it considerably eases development. 
     8 
     9Leo came up with an idea that allows delivering RDF while at the same time providing a simpler interface to programmers not knowledgeable in RDF. The idea is to create a class that implements both the org.openrdf.model.Graph interface as well as the java.util.Map interface. The effect of 
     10 
     11    result.put(authorURI, "chris"); with the authorURI being equal to the URI of the author predicate, would then be equal to 
     12 
     13    result.add(documentURI, authorURI, "chris"); 
     14 
     15I.e., you can use the Map methods to insert simple resource-predicate-literal statements (the majority), which is simple to document and understand, whereas people who know what they are doing can also add arbitrary RDF statements.