From 28bcb280341b52e70524fb87dc6b5b22c3439ab37685917840fdce34c946cdbb Mon Sep 17 00:00:00 2001 From: Alex Wied <543423+centromere@users.noreply.github.com> Date: Tue, 30 Jun 2026 19:35:47 -0400 Subject: [PATCH] . --- publish/src/rdf/materialize.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish/src/rdf/materialize.rs b/publish/src/rdf/materialize.rs index 14b2256..c859cf8 100644 --- a/publish/src/rdf/materialize.rs +++ b/publish/src/rdf/materialize.rs @@ -100,8 +100,8 @@ pub fn super_classes(store: &mut Store) -> error::Result<()> { ?item a ?parent . } } WHERE { - GRAPH ?g1 { ?item a ?class } - GRAPH ?g2 { ?class rdfs:subClassOf+ ?parent } + GRAPH ?g1 { ?class rdfs:subClassOf+ ?parent } + OPTIONAL { GRAPH ?g2 { ?item a ?class } } }"#)?; let old_size = store.len()?;