Я храню некоторые данные в своей модели онтологии, созданной в протеже с помощью операции вставки SPARQL UPDATE. Ниже представлен запрос на обновление.
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
] .
Теперь я хочу удалить этот пустой узел с помощью операции «удалить». Я пробовал много способов, но это не сработало. Какие-либо предложения?