Building a diabetes drug knowledge graph with Stardog, Snowflake and MCP

adnan_hashmi · x · 2026-11-29

A demo architecture for a diabetes drug knowledge graph: US Medicare Part D claims (Connecticut, 2024) and Japan's NDB Open Data (FY2024 dispensed quantities) are modeled locally as RDF with an OWL ontology, multilingual SKOS vocabularies (en/ja/zh), and SHACL shapes as the data contract — checked locally, published once.

On the serving side, tables plus a semantic view land in Snowflake (queryable via Cortex Analyst), while Stardog hosts the knowledge graph with reasoning, connected as a virtual graph via R2RML mapping. Users reach both SQL and SPARQL paths through MCP servers.

Original post →

More from coding & agent

coding & agent channel →