You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2007/08/29 13:13:56 UTC

[Lucene-hadoop Wiki] Trivial Update of "Hbase/RDF" by InchulSong

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by InchulSong:
http://wiki.apache.org/lucene-hadoop/Hbase/RDF

The comment on the change is:
Concrete examples will be presented after careful thoughts.

------------------------------------------------------------------------------
  a column-based storage and adopts various compression techniques, 
  is very good at dealing with nulls in the table
  
- HDL reads a triple at a time and inserts the triple into a Hbase table as follows:
- 
- {{{#!python numbering=off
- value_count = 1
- for s, p, o in triples:
-   insert into rdf_table ('p:value_count') values ('o')
-     where row='s'
-   value_count = value_count + 1
- }}}
- 
  === HbaseRDF Query Processor ===
  HbaseRDF Query Processor (HQP) executes RDF queries on RDF data stored in a Hbase table. 
  It translates RDF queries into API calls to Hbase, or MapReduce jobs, gathers and returns the results