shacl 0.3.1

A SHACL validator for RDF data, implemented in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(test)]
mod tests {
    use crate::common::TestSuiteError;
    use crate::test;
    use shacl::validator::ShaclValidationMode;

    const PATH: &str = "tests/data-shapes/data-shapes-test-suite/tests/core/validation-reports/";

    #[test]
    fn shared() -> Result<(), TestSuiteError> {
        let path = format!("{}/{}.ttl", PATH, "shared");
        test(path, ShaclValidationMode::Native)
    }
}