本文整理了Java中com.hp.hpl.jena.rdf.model.Model.removeReification()
方法的一些代码示例,展示了Model.removeReification()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.removeReification()
方法的具体详情如下:
包路径:com.hp.hpl.jena.rdf.model.Model
类名称:Model
方法名:removeReification
[英]Remove a particular reificiation.
[中]删除一个特定的限制。
代码示例来源:origin: fr.inria.eventcloud/eventcloud-api
/**
* {@inheritDoc}
*/
@Override
public void removeReification(ReifiedStatement rs) {
super.object.removeReification(rs);
}
代码示例来源:origin: bio2rdf/bio2rdf-scripts
public void removeReification(ReifiedStatement rs) {
model.removeReification(rs);
}
代码示例来源:origin: org.ow2.weblab.core.helpers/rdf-helper-jena
/**
* @param rs
* The reified statement to look remove.
*/
protected void removeReification(final ReifiedStatement rs) {
this.removeStatement(rs, null, null);
this.model.removeReification(rs);
}
代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-relations-jena-plugin
@Override
public void clear() {
Model graph = null;
GraphConnection graphConnection = null;
try {
graphConnection = openGraph();
graph = graphConnection.getGraph();
graph.enterCriticalSection(Lock.READ);
graph.removeAll();
// XXX AT: remove reification quadlets explicitly
RSIterator it = graph.listReifiedStatements();
List<ReifiedStatement> rss = new ArrayList<ReifiedStatement>();
while (it.hasNext()) {
rss.add(it.nextRS());
}
for (ReifiedStatement rs : rss) {
graph.removeReification(rs);
}
} finally {
if (graph != null) {
graph.leaveCriticalSection();
}
if (graphConnection != null) {
graphConnection.close();
}
}
}
代码示例来源:origin: nkons/r2rml-parser
resultModel.removeReification(rstmt);
内容来源于网络,如有侵权,请联系作者删除!