W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2005

Storing RDF in a relational database

From: Hasan Diwan <hasan.diwan@gmail.com>
Date: Sun, 23 Jan 2005 09:19:15 -0800
Message-ID: <2cda2fc905012309196ade5a21@mail.gmail.com>
To: www-rdf-interest@w3.org

Brief summary: Hibernate mapping to store RDF feeds
Schema: 
<!-- Hibernate XML format -->
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC 
    "-//Hibernate/Hibernate Mapping DTD//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping.dtd">
<hibernate-mapping>
  <class name="nz.corp.orchidtech.GMailRSS.Article" table="Messages">
    <property name="author" column="From" type="string" />
    <property name="title" column="Subject" type="string" />
    <property name="date" column="Date" type="date" />
    <property name="description" column="Excerpt" type="string" />
    <property name="link" column="Link" type="string" />
  </class>
</hibernate-mapping>
-- 
Cheers,
Hasan Diwan <hasan.diwan@gmail.com>
Received on Monday, 24 January 2005 20:31:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:12 GMT