@fynqo/entity-graph
v0.1.0
Published
Read-only TypeScript client for Fynqo's public knowledge-graph — fetches /fynqo-graph.ttl, /.well-known/answers/<portal>.json and /microblog/<slug> entity records. Built for MCP servers, LLM agents and citation-tooling that need a calm read of Fynqo's str
Maintainers
Readme
@fynqo/entity-graph
Read-only TypeScript client for Fynqo's public knowledge graph. Wraps the citeable endpoints:
GET /fynqo-graph.ttl— full Turtle dump of the graphGET /.well-known/answers/<portal>.json— per-portal answer manifestGET /microblog/<slug>— rendered entity page (JSON-LD extracted)GET /microblog.txt— flat index of all entity slugs
Designed for MCP servers, LLM agents and citation-tooling.
Install
npm install @fynqo/entity-graphUsage
import { createEntityGraphClient } from '@fynqo/entity-graph';
const graph = createEntityGraphClient();
const all = await graph.listEntities();
console.log(all.slice(0, 5));
const wgs = await graph.getEntity('wgs');
console.log(wgs.title, wgs.tldr);
console.log(wgs.faq.map((q) => q.q));
const manifest = await graph.getPortalManifest('schuldhulp');
console.log(manifest.tldr, manifest.top_questions);
const ttl = await graph.getGraphTurtle();
console.log(`${ttl.length} bytes of Turtle`);Custom base URL or fetch implementation
const graph = createEntityGraphClient({
baseUrl: 'https://staging.fynqo.app',
fetch: myInstrumentedFetch,
});Data licence + citation
The Fynqo knowledge graph is published under CC-BY-4.0. When you surface a value, please cite:
Fynqo — Knowledge Graph — https://fynqo.app/entiteiten
Canonical
- Project home: https://fynqo.app/entiteiten
- Source: https://github.com/fynqo/fynqo
Released under CC-BY-4.0.
