我想使用Jena API复制OWL本体,每次向该本体添加新语句。 但是一开始它应该得到原始的本体而没有新的陈述。 以下代码每次都会在前一个代码中添加一条新语句。 this runs in a for loop{
OntModel curOnto = onto1.getOntology();
curOnto.add(s,p,o);
/*printing th
我试着删除所有三元,我有这些funcions, 类变量 public static String defaultNameSpace = "http://www.semanticweb.org/admin/ontologies/2016/3/Inventory#";
public Model Inventario = null;
public Model schema = null;
publ
我正在使用jena对本体进行查询。我得到的结果,当我运行查询来获取有关分配数据属性的值对象,如下所示Student1 "Ashutosh"^^http://www.w3.org/2001/XMLSchema#string is not a URI node
,我应该怎么做,如果我想结果如下 "Ashutosh" or `Ashutosh`
这是我的Java码。如果我想要如上所述的答案,我该