inference-engine 0.1.0-alpha.14

Native Rust RDF inference engine with a shared command-line interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Public profile compilation and unsupported-selection regressions.
use inference_engine::compile_profile;

#[test]
fn compiles_checked_shared_rules_without_claiming_execution() {
    let profile = compile_profile("rdfs-core").unwrap();
    assert_eq!(profile.program.rules.len(), 14);
    profile.program.validate().unwrap();
    assert!(!profile.exclusions.is_empty());
}

#[test]
fn unsupported_full_profile_fails_instead_of_downgrading() {
    assert!(compile_profile("owl2-rl").is_err());
}