rudof_lib 0.3.27

RDF and Knowledge Graphs processing tool
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{Result, Rudof, api::data::implementations::remove_triples, formats::IriNormalizationMode};

/// Removes a triple from the current RDF data.
pub fn remove_triple(
    rudof: &mut Rudof,
    subject: &str,
    predicate: &str,
    object: &str,
    iri_mode: IriNormalizationMode,
) -> Result<()> {
    remove_triples(rudof, &[(subject, predicate, object)], iri_mode)
}