然后我为匿名class1(in0)创建了个体,并使用了addproperty(property2,in1),再次为类1(in)创建了个体,并使用了addproperty(property1,in0)。createIndividual(ns+"indi");这在运行时会产生以下异常
Exception in thread "main" com.hp.hpl.jena.ontology.ProfileExceptionconstruct DA
我用Protege生成了一个猫头鹰文件。现在,我希望从它访问类RailwayStation的所有实例的所有stationCode属性值。<?:53)at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:148)
at com.hp.hpl.jena<