A Matter of Context: XML, RDF and Latent Spaces

Tired of hallucinations from large language models? A solution may be to give them not just better data or more data, but prompts with better structured data. Reducing hallucination has heretofore been approached by supplying better contextual narratives in prompts. However, recognizing that knowledge is best represented by graphs leads to the suggestion that XML may be a better fit for input to LLMS than either RDF or JSON.

Authors

Publication Details

Journal
Balisage series on markup technologies
Published
2025-07-26
DOI
https://doi.org/10.4242/balisagevol30.cagle01
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Matter of Context: XML, RDF and Latent Spaces

Kurt Cagle
Balisage series on markup technologies
Semantic Web and Ontologies
article

A Matter of Context: XML, RDF and Latent Spaces

Kurt Cagle
article en

Abstract

Tired of hallucinations from large language models? A solution may be to give them not just better data or more data, but prompts with better structured data. Reducing hallucination has heretofore been approached by supplying better contextual narratives in prompts. However, recognizing that knowledge is best represented by graphs leads to the suggestion that XML may be a better fit for input to LLMS than either RDF or JSON.

Balisage series on markup technologiesVol. 30
Openalex Percentile: Top 64%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Matter of Context: XML, RDF and Latent Spaces — Kurt Cagle · Balisage series on markup technologies (2025) | TGRS Research Map | TGRS