Пример #1
0
 /** 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"));
 }
Пример #2
0
 /** 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"));
 }