/** Test rdfs properties */ public void testClassRDFSProperties() { String[] props = classComment.listRDFSPropertyNames(); assertEquals(3, props.length); assertEquals( "This class represents the base ontology class for describing skis", classComment.getRDFSProperty("comment")); assertEquals("Ski Class", classComment.getRDFSProperty("label")); }
/** Test RDFS properties */ public void testPropRDFSProperties() { String[] props = propComment.listRDFSPropertyNames(); assertEquals(2, props.length); assertEquals( "This property indicates the manufacturer of the ski", propComment.getRDFSProperty("comment")); assertEquals("Manufacturer", propComment.getRDFSProperty("label")); }