Skip to main content

derive_shapes

Function derive_shapes 

Source
pub fn derive_shapes(
    query: Query<'_, '_, (Entity, &Label, &Triples, Option<&ShaclShapes>), (Changed<Triples>, Without<Dirty>)>,
    commands: Commands<'_, '_>,
    res: Res<'_, ServerConfig>,
    revisions: ResMut<'_, Revisions>,
)
Expand description

Compile the SHACL shapes of every document whose triples changed. Bumps Revisions::shapes when a document gains, changes or loses shapes.