在 SPARQL UPDATE 'insert' 操作的帮助下,我在我的本体模型中存储了一些数据。以下是更新查询。
PREFIX test: <http://www.semanticweb.org/muhammad/ontologies/2017/2/untitled-ontology-14#>
insert {
[] test:Kpi_Variable ?s ;
test:hasValue_ROB4 ?p ;
test:hasTime ?now .
}
where {
values (?s ?p) {
(test:Actual_Production_Time 33)
}
bind (now() as ?now)
}
它以下列方式存储在 rdf 图中:
[ test:Kpi_Variable test:Actual_Production_Time ;
test:hasTime "2017-06-02T14:40:33.187+03:00"^^xsd:dateTime ;
test:hasValue_ROB4 33
] .
现在我想用“删除”操作删除这个空白节点。我尝试了很多方法,但没有奏效。有什么建议么?