com.hp.hpl.mesa.rdf.jena.sample
Class Sample5

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.sample.Sample5

public class Sample5
extends java.lang.Object

Another simple demonstration of reification.

Reification is the term used when one statement is the subject or object of another. It does seem to cause some difficulty in understanding.

This implementation takes a very simple view. A statement is a subclass of resource, and as such can be the subject or object of another statement. Further, it is possible for a statement s2 to be a member of a model m, to make a statement about another statement s1, without s1 being a member of m. This sample code demonstrates this feature.

Version:
Release='$Name: $' Revision='$Revision: 1.1 $' Date='$Date: 2001/01/05 14:17:42 $'
Author:
bwm

Constructor Summary
Sample5()
           
 
Method Summary
static void main(java.lang.String[] args)
          Another simple reification example, this time provided by Jos De Roo.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sample5

public Sample5()
Method Detail

main

public static void main(java.lang.String[] args)
Another simple reification example, this time provided by Jos De Roo.


Copyright © 2001 Hewlett-Packard. All Rights Reserved.