Repository navigation
Decision: name the project sparql-v12n #3
CharmingGroot
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Background
Agents and applications increasingly need to query operational databases through shared domain concepts instead of per-system table schemas. Copying the data into a separate graph store (materialization) trades freshness and storage for that convenience.
Virtualization keeps the data where it is: an ontology and an R2RML mapping define a virtual knowledge graph, and each SPARQL query is rewritten into SQL that the source database executes. Results are always current, nothing is copied, and the mapping also defines exactly which tables and columns can be queried.
The established implementation of this approach is Ontop, which runs on the JVM. This project builds the same capability in Rust: a small library and a single
v12nbinary (CLI, HTTP endpoint, later MCP) that can be embedded or deployed without a JVM.Decision
sparql-v12nv12nWhy this name
v12nalone is ambiguous. It reads as server virtualization, and it is already used on GitHub for VM tooling. Thesparql-prefix makes the scope clear.v12nkeeps commands brief:v12n explain,v12n query,v12n serve.배경
에이전트와 애플리케이션이 시스템마다 다른 테이블 구조 대신, 공통된 도메인 개념으로 운영 DB를 조회해야 하는 경우가 늘고 있다. 데이터를 별도 그래프 저장소로 복사하는 방식(materialization)은 편하지만, 최신성과 저장 공간을 대가로 치른다.
virtualization은 데이터를 원래 자리에 둔다. 온톨로지와 R2RML 매핑으로 가상의 지식 그래프를 정의하고, SPARQL 질의마다 SQL로 바꿔 원본 DB에서 실행한다. 결과는 항상 최신이고, 복사본이 없으며, 매핑이 조회할 수 있는 테이블과 컬럼의 범위를 정한다.
이 방식의 대표 구현은 JVM에서 동작하는 Ontop이다. 이 프로젝트는 같은 기능을 Rust로 만든다. JVM 없이 라이브러리로 넣거나,
v12n바이너리 하나(CLI, HTTP 엔드포인트, 나중에 MCP)로 배포할 수 있게 하는 것이 목표다.결정
sparql-v12nv12n이 이름을 고른 이유
v12n만 쓰면 서버 가상화로 읽히고, GitHub에서도 VM 도구 이름으로 이미 쓰인다. 앞에sparql-을 붙여 범위를 분명히 했다.v12n이 짧아 명령도 짧다:v12n explain,v12n query,v12n serve.All reactions