knowledge-graph-sparql

knowledge-graph-sparql is a skill for Claude Code, Codex from xjtulyc/awesome-rosetta-skills. It costs 31 tokens per session (6,249 once invoked), scanned A, original, no licence file.

A knowledge-graph tool for connecting research and library entities as RDF data and querying them with SPARQL. It also links mentions of the same entity across data sources using Wikidata.

In plain words
What is it for?
Use it to build knowledge graphs, query linked research data, connect entities, and manage library or research metadata.
Why use it?
It helps organise related people, works, organisations, and other entities so connections can be queried instead of manually tracked. Entity linking reduces duplicate or mismatched records.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to build knowledge graphs, query linked research data, connect entities, and manage library or research metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xjtulyc/awesome-rosetta-skills --skill knowledge-graph-sparql
Clone the repo
git clone --depth 1 https://github.com/xjtulyc/awesome-rosetta-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge-graph-sparql

README.md
[![agentmods](https://agentmods.dev/badge/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql/github.svg)](https://agentmods.dev/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql)
Your own site
<a href="https://agentmods.dev/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql"><img src="https://agentmods.dev/badge/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-graph-sparql

Your own site · 80×15
<a href="https://agentmods.dev/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql"><img src="https://agentmods.dev/badge/skills/xjtulyc/awesome-rosetta-skills/knowledge-graph-sparql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.06249
Opus 5 $0.00015 $0.03125
Sonnet 5 $0.00006 $0.01250
Haiku 4.5 $0.00003 $0.00625

Measured 8d ago against content hash 93cae0d3693e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

knowledge-graph-sparql scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(
skills/21-library-science/knowledge-graph-sparql/SKILL.md · 693 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 693 lines · 31 tokens per session scan A 93cae0d3693e

Subscribe to this mod's changes

knowledge-graph-sparql is a skill published in the GitHub repository xjtulyc/awesome-rosetta-skills (34 stars, last pushed 5mo ago), with no licence file. It adds 31 tokens to every session and 6,249 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

open-ontologies

AI-native ontology engineering using 50+ MCP tools backed by an in-memory Oxigraph triple store. Build, validate, query, and govern RDF/OWL ontologies with a generate-validate-iterate loop. Use when building ontologies, knowledge graphs, RDF data, SPARQL queries, BORO/4D modeling, SHACL validation, clinical…

fabio-rovai/open-ontologies · 110 tokens

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

ontology-engineering

Build, validate, and govern RDF/OWL ontologies using the Open Ontologies MCP server. Use when the user asks to create, modify, query, or manage ontologies, knowledge graphs, or RDF data.

fabio-rovai/open-ontologies · 47 tokens

hybrid-memory

Hybrid memory strategy combining OpenClaw's built-in QMD vector memory with Graphiti temporal knowledge graph. Use for all memory recall requests.

clawdbrunner/openclaw-graphiti-memory · 32 tokens

kg-modality-sparql

Query and update the engine's RDF/OWL store over the W3C SPARQL 1.1 Protocol — the engine IS the triplestore (epistemic-graph owns the /sparql wire). Use when you need SELECT/ASK/ CONSTRUCT/DESCRIBE/UPDATE over triples/quads, named graphs, property paths, or when an existing rdflib/Jena/Stardog client should point at…

Knuckles-Team/epistemic-graph · 114 tokens

ontology-constraint-and-knowledge-injection

A method for deciding how an ontology’s knowledge should reach an AI model: directly in its instructions, through RAG, or through fine-tuning. RAG retrieves relevant information at answer time; fine-tuning changes the model using training examples.

SuperChason/ontology-driven-ai-data-management-skills · 100 tokens