This commit is contained in:
Alex Wied
2026-07-02 14:09:54 -04:00
parent 038afc4645
commit b7b52e3c09
6 changed files with 54 additions and 49 deletions
+3 -3
View File
@@ -1,4 +1,3 @@
use std::borrow::Borrow;
use crate::error;
use crate::rdf::vocab::gl;
use oxigraph::model::vocab::{rdf, rdfs, xsd};
@@ -9,7 +8,8 @@ use std::fmt::Display;
use std::path::{Path, PathBuf};
use std::sync::LazyLock;
use oxigraph::store::Store;
use crate::rdf::conversion;
use tracing::debug_span;
use crate::rdf::{conversion, materialize};
use crate::rdf::language::LanguageCondition;
static PREFIXES: LazyLock<BTreeMap<String, String>> = LazyLock::new(|| {
@@ -60,7 +60,7 @@ impl OntologyBuilder {
pub fn build(self) -> error::Result<Ontology> {
let mut store = if let Some(path) = self.path {
Store::open(path)
Store::open_read_only(path)
} else {
Store::new()
}?;