Releases: stefanavesand/rdf-studio
Releases · stefanavesand/rdf-studio
Release list
v1.2.0
What's new
- Source-scoped actions — search, SPARQL, and refresh buttons are now on each source node instead of the global title bar
- Remote SPARQL routing — SPARQL panel queries the correct endpoint based on which source you opened it from. Panel title shows the source name.
- Refresh fixes cache — refresh now clears remote class/graph/instance caches so new classes appear immediately without disconnect/reconnect
- UI cleanup — disconnect button removed from tree (stays in detail view), canned queries removed from SPARQL panel
- Auto auth — x-user-email header sent automatically on all HTTP requests
v1.0.0
RDF Studio 1.0.0
The first stable release of RDF Studio — a VS Code extension for browsing, editing, and visualizing RDF knowledge graphs.
Highlights
- Inherited properties — when a local class extends a remote class via
rdfs:subClassOf, remote properties are auto-fetched and shown read-only with source attribution - Full superclass chain — breadcrumb shows the complete class hierarchy as clickable pills (e.g. Fine Squad > Squad > Organization)
- Add/edit parameter dialogs — add datatype properties from the class + superclass chain, edit existing values with type-aware input
- Graph visualization — force-directed neighborhood graph with type-consistent colors, centered on the focus entity
- SPARQL injection protection —
safeIri()applied across all query sites - 17 unit tests covering superclass chain walking, file-safe compacting, triple-quoted string handling, and more
What's included
- Knowledge graph browser with namespace-grouped tree
- Detail view with parameters, relationships, and inherited properties
- Full CRUD for ontologies, classes, properties, and instances
- Remote SPARQL endpoint support with auto-discovery and caching
- SPARQL query panel with preset queries
- Turtle language support (hover, go-to-definition, autocomplete, diagnostics)
- Example Solar System knowledge graph for demos
- Light and dark theme support
Roadmap
- SHACL validation (schema service exists but not yet wired to UI)
- Rename refactoring across files
- RDF/XML and JSON-LD format support
Install
code --install-extension rdf-studio-1.0.0.vsixv0.5.1
New features
- Add parameter — new button on instance detail view, shows form with datatype properties from class + superclass chain
- Edit parameter — pencil icon on value boxes (hover to reveal), inline form with type-aware input (boolean gets dropdown)
- Remote instance caching — 5-minute TTL cache, foaf:name support, increased limit to 15,000
- Edit relationship — now merges local + remote options in one dropdown, includes subclass instances
- Add relationship — remote entity loading with search fallback for ranges without local instances
Bug fixes
- Fix webview JS scope collision (
const→varin client-side script) that caused PendingScript parse errors in VS Code webview, breaking all dialog forms
v0.5.0
What's New
Edit Relationship Form
- In-panel form replaces broken native VS Code QuickPick
- Adapts to context: pre-populated dropdown for local data, username search for remote
- Remote search uses exact username match (Codex BigTable compatible)
- Search results with status feedback ("Searching...", "No matches found")
Inherited Properties
- "Add Relationship" now shows properties from the full superclass chain
- Schema view shows inherited properties from all ancestors (not just direct parent)
- Entity type display uses property range as fallback (shows "PERSON" not "RESOURCE")
File-Safe Writing
- Only uses prefixes declared in the target TTL file when writing triples
- Prevents undeclared prefixes (e.g.,
bm:) from breaking Turtle parsing - Falls back to full
<IRI>when no matching prefix exists in the file
Bug Fixes
- Fix
getTypesto filter generic types (Resource, Thing, Class) - Fix template literal escaping in generated code
- Fix search results disappearing due to re-triggering
v0.4.0
What's New
Source-Grouped Tree
- Ontology view now groups by source: "Local Files" and named remote endpoints
- Each source has its own independent class hierarchy — no mixing of local and remote data
- + button offers "New Ontology" or "Connect SPARQL Endpoint"
- Inline ↻ (refresh) and 🔌 (disconnect) buttons on each source node
On-Demand Remote Instances
- Expanding a class under a remote source lazily queries the SPARQL endpoint
- Only fetches when you expand — no upfront bulk download
- Results limited to 200 with clear "showing first 200" indicator
- FROM clauses cached per endpoint for fast subsequent queries
Persistent Endpoints
- Connected endpoints saved to workspace state, auto-reconnect on restart
- Smart graph discovery for Codex/Atlas and other named-graph endpoints
- Ontology endpoint fallback (
/ontologyTurtle) for Codex prod
v0.3.1
What's New
Persistent Endpoints
- Connected SPARQL endpoints are saved to workspace state and auto-reconnect on VS Code restart
- Disconnect via the 🔌 icon in the Ontology view header (quick pick from connected endpoints)
Smart Graph Discovery
- Auto-discovers named graphs when default graph is empty
- Detects Codex/Atlas snapshot pointer pattern (
urn:x-codex:meta:pointer) - Tries
/ontologyTurtle endpoint before SPARQL CONSTRUCT (works with Codex prod) - Falls back to listing named graphs, then standard CONSTRUCT
- Startup message shows "X local + Y remote triples"
Settings
"rdfStudio.sparqlEndpoints": [
{
"name": "Codex",
"url": "http://codex.services.gew1.spotify.net:3330/spotify_v2",
"graphs": ["urn:x-codex:graph:reference", "urn:x-codex:graph:contributed"]
}
]v0.3.0
What's New
Remote SPARQL Endpoints
- Connect to any SPARQL 1.1 endpoint via the globe icon in the Ontology view
- Auto-detects Fuseki-style URLs (appends
/queryif needed) - Fetches schema (classes, properties, ontology declarations) — not full instance data
- Handles both N-Triples and Turtle responses, normalizes Fuseki's padded PREFIX format
- Persistent endpoints: configure in settings for auto-connect on startup
- Disconnect via right-click context menu
Edit Object Relationships
- Edit icon (pencil) on object relationship boxes, visible on hover
- Opens quick pick to replace the target entity
- Correctly uses
rdfs:domainfor incoming relationships,rdfs:rangefor outgoing
Bug Fixes
- Fix RDFS-reasoned data hiding classes: filter
rdfs:subClassOfself-loops from reasoned triples - Fix namespace grouping: collect ALL classes (including nested subclasses), not just roots
- Bypass VS Code proxy for direct SPARQL endpoint access
Settings
"rdfStudio.sparqlEndpoints": [
{ "name": "My Graph", "url": "http://host:3330", "dataset": "mydata" }
]v0.2.1
v0.2.0
What's New
Entity Management
- Delete ontologies, classes, and instances via context menu with confirmation dialog
- New Instance button in class detail view (moved from context menu)
- Fix instance creation writing invalid bare names when namespace prefix not found
UI Improvements
- Rename Relationships panel → Details
- Property kind selector — separate Object Property / Datatype Property with filtered range dropdowns
- Entity dropdown in Add Relationship form replaces "Pick entity" button when range has known instances
- Scoped range picker — object property ranges only show classes from local + imported namespaces
- Schema view boxes no longer clip text content (removed max-height constraint, stretch to match row height)
- Namespace prefix shown in class dropdowns to disambiguate (e.g., "Billing (fp:)")
Bug Fixes
- Fix
vsce package --no-dependenciesexcluding Oxigraph WASM — extension now bundles all dependencies - Fix
safeCompact()fallback to<full-IRI>when no prefix matches, preventing invalid Turtle output - Fix new class/instance not selecting in ontology tree (race condition)
RDF Studio v0.1.0 — Initial Release
RDF Studio v0.1.0 — Initial Release
A VS Code extension for building and exploring RDF knowledge graphs. Load Turtle (.ttl) files and get a visual editor for OWL ontologies, entities, and SHACL constraints — no external triplestore needed.
Highlights
Visual Knowledge Graph Editor
- Ontology tree with namespace grouping, type-colored icons, and instance counts
- Triple table showing entity relationships as Source · Relation · Target with fan-in grouping
- Schema view for OWL classes with declared properties, domain/range, and SHACL severity pills (Required / Recommended / Optional)
Full CRUD
- Create and edit ontologies, classes, properties, and instances via modal dialog forms
- Add/remove relationships with schema-guided predicate and range-locked target pickers
- Inline cell editing — click a value to edit, Enter to save, Esc to cancel
- Import management — add/remove
owl:importsbetween ontologies - Auto-prefix injection for cross-ontology references
SPARQL & Visualization
- SPARQL query panel with 5 preset queries and clickable result tables
- Neighborhood graph — force-directed canvas showing direct connections
Turtle Language Support
- Hover tooltips, Go to Definition (F12), autocomplete, document outline
- Diagnostics for undefined prefixes and dangling references
Built for VS Code
- Full light/dark theme support via
--vscode-*variables - Content Security Policy with nonce
- Codicon icons throughout
- All edits via WorkspaceEdit — supports Undo/Redo and source control
Powered by
What's next
- Async SHACL validation with ghost rows for missing required properties
- Constraint editor for creating/editing SHACL shapes
- Rename with workspace-wide refactoring
- Delete class/entity with impact analysis