PolyUQuest: Verifiable Structure-Aware Web RAG on Heterogeneous Graphs

PolyUQuest boosts web RAG by using HTML structure and heterogeneous graphs. Get verifiable, traceable answers with fewer tokens. Try the interactive demo.

miércoles, 29 de julio de 2026 • 4 min read • Q2BSTUDIO Team

Sistema de recuperación aumentada con verificación estructural

The evolution of retrieval-augmented generation (RAG) systems has been significant, but most still treat web pages as plain text, losing the semantic richness of their HTML structure. PolyUQuest emerges as an innovative solution that leverages heterogeneous graphs to unify hyperlink topology between pages, DOM hierarchy within pages, and entity-relation knowledge across the site. This approach enables structure-aware and fully verifiable retrieval, something conventional implementations fail to deliver. Instead of indexing complete pages, the system breaks content into semantic blocks and connects them via a graph that reflects both navigation and document logic. This transforms how language models access information, drastically reducing hallucinations and improving answer accuracy.

The system features a two-tier router that directs each query to the most suitable retrieval mode: direct block retrieval, cross-page graph traversal, or multi-hop entity reasoning. Each answer includes citations with the source page, heading path, and entity links, allowing users to trace every claim back to its structural evidence. This level of transparency is especially valuable in environments where information auditing is critical, such as legal, financial, or regulatory compliance sectors. Moreover, using a heterogeneous graph captures relationships that a flat index ignores, such as a paragraph belonging to a specific section or the semantic connection between two concepts through internal links.

In tests conducted on the official website of Hong Kong Polytechnic University, comprising over 4,200 pages, 31,000 DOM blocks, 29,000 entities, and 37,000 relations, PolyUQuest outperformed traditional RAG systems in accuracy, coverage, and faithfulness, while consuming significantly fewer LLM tokens per query. This makes it an efficient and scalable solution for enterprise environments handling large volumes of technical documentation, knowledge portals, or complex websites. The token consumption reduction not only lowers operational costs but also speeds up responses, enhancing the end-user experience.

This architecture is not only relevant for academic settings. Companies managing large volumes of technical documentation, knowledge bases, or internal web portals can benefit from structured RAG. In custom software development, Q2BSTUDIO integrates such systems to transform how organizations access and verify information. Our experience with cloud AWS and Azure enables deploying these systems with high availability, scalability, and security, ensuring critical data remains protected while fully leveraging artificial intelligence.

Answer verification is key in regulated sectors. PolyUQuest demonstrates that it is possible to combine the power of language models with the traceability required by regulations such as GDPR or ISO 27001. Cybersecurity also plays a fundamental role, as each evidence block is anchored to its original source, preventing hallucinations and guaranteeing data integrity. At Q2BSTUDIO, we offer cybersecurity services that complement these architectures, auditing both data origin and transmission channels to maintain confidentiality and integrity.

Furthermore, the ability to extract entity relationships opens the door to integrating these systems with Business Intelligence tools such as Power BI, allowing analysts not only to query data but also to obtain contextual and verifiable explanations of findings. Imagine a BI dashboard that not only displays KPIs but also offers a direct link to the source document of each metric, with the ability to traverse the evidence graph to validate the figure. This hybrid approach between structured RAG and BI is one of the areas where Q2BSTUDIO is innovating, helping companies make more informed and auditable decisions.

Autonomous AI agents navigating corporate web spaces with the same precision as PolyUQuest will be the next frontier. At Q2BSTUDIO, we are already working on prototypes that combine heterogeneous graphs with intelligent agents to automate technical support and customer service processes. These agents not only answer questions but also execute complex tasks such as updating records or generating reports, always maintaining traceability of their actions. The integration of artificial intelligence in these systems enables deep understanding of information, overcoming the limitations of traditional chatbots.

PolyUQuest represents a significant advancement toward transparent and reliable RAG. In a world where unstructured information is abundant, having systems that understand the semantics of web structure is a competitive advantage. Companies that adopt this approach will be better positioned to deliver accurate and verifiable user experiences, reducing the risk of costly errors and improving trust from customers and auditors. From a technical perspective, the combination of a heterogeneous graph with an adaptive router and citation verification lays the foundation for the next generation of intelligent assistants. Q2BSTUDIO is ready to help organizations implement these capabilities, whether through custom application development, cloud integration, or specialized AI agent creation.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.