Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
fix: Studio now shows rdfs:Class and rdf:Property, not just owl:Class
FABIOTESSe66c576e1ff9
diff --git a/studio/src/components/GraphCanvas.tsx b/studio/src/components/GraphCanvas.tsxindex d46144f2..6f65fc61 100644--- a/studio/src/components/GraphCanvas.tsx+++ b/studio/src/components/GraphCanvas.tsx@@ -73,7 +73,7 @@ const ONTO_NS = 'http://example.org/ontology#';const CLASSES_QUERY = `PREFIX owl: <http://www.w3.org/2002/07/owl#>PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>SELECT ?c ?label WHERE {- ?c a owl:Class .+ { ?c a owl:Class } UNION { ?c a rdfs:Class }OPTIONAL { ?c rdfs:label ?label }FILTER(!isBlank(?c))}`;@@ -82,14 +82,15 @@ const EDGES_QUERY = `PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>PREFIX owl: <http://www.w3.org/2002/07/owl#>SELECT ?sub ?parent WHERE {?sub rdfs:subClassOf ?parent .- ?sub a owl:Class .+ { ?sub a owl:Class } UNION { ?sub a rdfs:Class }FILTER(!isBlank(?sub) && !isBlank(?parent))}`;const PROPERTY_EDGES_QUERY = `PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>PREFIX owl: <http://www.w3.org/2002/07/owl#>+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>SELECT ?prop ?propLabel ?domain ?range WHERE {- ?prop a owl:ObjectProperty .+ { ?prop a owl:ObjectProperty } UNION { ?prop a rdf:Property }?prop rdfs:domain ?domain .?prop rdfs:range ?range .OPTIONAL { ?prop rdfs:label ?propLabel }diff --git a/studio/src/components/TreeView.tsx b/studio/src/components/TreeView.tsxindex 57a6c083..f12653cd 100644--- a/studio/src/components/TreeView.tsx+++ b/studio/src/components/TreeView.tsx@@ -48,7 +48,7 @@ function shortUri(uri: string): string {const CLASSES_QUERY = `PREFIX owl: <http://www.w3.org/2002/07/owl#>PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>SELECT ?c ?label WHERE {- ?c a owl:Class .+ { ?c a owl:Class } UNION { ?c a rdfs:Class }OPTIONAL { ?c rdfs:label ?label }FILTER(!isBlank(?c))}`;@@ -57,7 +57,7 @@ const EDGES_QUERY = `PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>PREFIX owl: <http://www.w3.org/2002/07/owl#>SELECT ?sub ?parent WHERE {?sub rdfs:subClassOf ?parent .- ?sub a owl:Class .+ { ?sub a owl:Class } UNION { ?sub a rdfs:Class }FILTER(!isBlank(?sub) && !isBlank(?parent))}`;