Structured Linked Data as a Memory Layer for Agent-Orchestrated Retrieval
Organizations: WordLift, Rome, Italy
Abstract
Retrieval-Augmented Generation (RAG) systems typically treat documents as flat text, ignoring the structured metadata and linked relationships that knowledge graphs provide. In this paper, we investigate whether structured linked data, specifically Schema.org markup and dereferenceable entity pages served by a Linked Data Platform, can improve retrieval accuracy and answer quality in both standard and agentic RAG systems. We conduct a controlled experiment across four domains (editorial, legal, travel, e-commerce) using Vertex AI Vector Search 2.0 for retrieval and the Google Agent Development Kit (ADK) for agentic reasoning. Our experimental design tests seven conditions: three document representations (plain HTML, HTML with JSON-LD, and an enhanced agentic-optimized entity page) crossed with two retrieval modes (standard RAG and agentic RAG with multi-hop link traversal), plus an Enhanced+ condition that adds rich navigational affordances and entity interlinking. Our results reveal that while JSON-LD markup alone provides only modest improvements, our enhanced entity page format, incorporating llms.txt-style agent instructions, breadcrumbs, and neural search capabilities, achieves substantial gains: +29.6% accuracy improvement for standard RAG and +29.8% for the full agentic pipeline. The Enhanced+ variant, with richer navigational affordances, achieves the highest absolute scores (accuracy: 4.85/5, completeness: 4.55/5), though the incremental gain over the base enhanced format is not statistically significant. We release our dataset, evaluation framework, and enhanced entity page templates to support reproducibility.
Figures & tables
| ID | Document Format | Retrieval Mode | Hypotheses |
|---|---|---|---|
| C1 | Plain HTML | Standard RAG | H1 baseline |
| C2 | HTML + JSON-LD | Standard RAG | H1 treatment |
| C3 | Enhanced entity | Standard RAG | H3 baseline |
| C4 | Plain HTML | Agentic RAG | H2 baseline |
| C5 | HTML + JSON-LD | Agentic RAG | H2 treatment |
| C6 | Enhanced entity | Agentic RAG | H2+H3 treatment |
| ID | Condition | Accuracy | Completeness |
|---|---|---|---|
| C1 | Plain HTML, Std. | 3.62 1.82 | 3.01 1.94 |
| C2 | HTML+JSON-LD, Std. | 3.89 1.70 | 3.33 1.85 |
| C3 | Enhanced, Std. | 4.69 0.95 | 4.45 1.25 |
| C4 | Plain HTML, Agent. | 4.36 1.33 | 3.98 1.60 |
| C5 | HTML+JSON-LD, Agent. | 4.40 1.21 | 4.00 1.54 |
| C6 | Enhanced, Agent. | 4.70 0.82 | 4.38 1.20 |
| Cond. | Answer Summary | Acc. |
| Factual — “What is Restaurant im Hotel Zauchenseehof? Describe its key features.” | ||
| C1 | Generic description without specifics. No cuisine type, location, or opening hours mentioned. | 1 |
| C2 | Identifies it as a FoodEstablishment with some Schema.org properties. | 3 |
| C4 | Agent searches but finds limited structured data to traverse. | 2 |
| C6 | Agent follows links to related entities (hotel, region); retrieves cuisine, address, coordinates, and related attractions. | 5 |
| C6+ | Enhanced+ agent instructions and richer linked-entity navigation surface the same information with lower variance; answer matches C6 quality. | 5 |
| Hyp. | Metric | Sig. | ||||
|---|---|---|---|---|---|---|
| Structured data (standard RAG) (C1 vs C2) | ||||||
| Accuracy | +0.17 | -3.12 | 2.4e-02 | 0.18 | ||
| Completeness | +0.18 | -2.86 | 5.5e-02 | 0.16 | n.s. | |
| Enhanced pages (standard RAG) (C1 vs C3) | ||||||
| Accuracy | +1.04 | -10.53 | 2.7e-21 | 0.60 | ||
| Completeness | +1.42 | -13.00 | 5.0e-30 | 0.74 | ||
| Query Type | C1 | C2 | C3 | C4 | C5 | C6 | C6+ |
|---|---|---|---|---|---|---|---|
| Factual | 2.74 | 3.14 | 4.57 | 4.06 | 4.13 | 4.56 | 4.81 |
| Relational | 4.48 | 4.55 | 4.67 | 4.56 | 4.75 | 4.79 | 4.85 |
| Comparative | 4.77 | 4.94 | 4.97 | 4.83 | 4.69 | 4.90 | 4.95 |
| Domain | C1 | C2 | C3 | C4 | C5 | C6 | C6+ | ||
|---|---|---|---|---|---|---|---|---|---|
| BlackBriar | 137 | 4.92 | 4.89 | 4.91 | 4.75 | 4.74 | 4.96 | 4.99 | +0.07 |
| Expr. Legal | 111 | 3.36 | 4.20 | 4.29 | 4.33 | 4.29 | 4.32 | 4.86 | +1.50 |
| SalzburgerLand | 79 | 2.19 | 2.33 | 4.92 | 4.06 | 4.25 | 4.82 | 4.66 | +2.47 |
| WordLift Blog | 22 | 1.91 | 1.73 | 4.55 | 3.14 | 3.38 | 4.45 | 4.64 | +2.73 |
| All domains | 349 | 3.62 | 3.89 | 4.69 | 4.36 | 4.40 | 4.70 | 4.85 | +1.10 |
| Metric | C4 | C5 | C6 | C6+ |
|---|---|---|---|---|
| Links followed | 1.0 | 0.5 | 0.5 | 0.4 |
| Links available | 41.7 | 41.9 | 77.4 | 102.2 |
Retrieval-Augmented Generation
Retrieval-augmented generation connects language models to external knowledge so answers can use current, domain-specific evidence.
See all 766 papers