//(c): Matti J. Katila package org.fenfire.vocab; import com.hp.hpl.mesa.rdf.jena.model.*; import com.hp.hpl.mesa.rdf.jena.common.*; /** Family Portal scheme vocabulary * Spatial */ public class PP { public static final String rcsid = "$Id: PP.java,v 1.1 2003/03/26 12:46:50 mudyc Exp $"; protected static void pa(String s) { System.out.println("PP: "+s); } // Propertys static public Property contains; static public Property association; // XXX Wrong/better vocabulary? static public Property creationTime; static public Property depth; // Resources static public Resource paperType; static public Resource noteType; static { String ppVoc = "http://fenfire.org/vocabulary/pp.html"; String unDef = "http://fenfire.org/vocabulary/undef.html"; try { // Propertys contains = new PropertyImpl(ppVoc+"#contains"); association = new PropertyImpl(ppVoc + "#association"); creationTime = new PropertyImpl(unDef + "#creationTime"); depth = new PropertyImpl(unDef + "#depth"); // Resources paperType = new ResourceImpl(ppVoc + "#paperType"); noteType = new ResourceImpl(ppVoc + "#noteType"); } catch (RDFException e) { pa("Failed: "+e); } } }