Encapsulating Textual Contents into a MOC data Structure for Advanced Applications
Giuseppe Greco, Thomas Boch, Pierre Fernique, Manon Marchand, Mark Allen, Francois Xavier Pineau, Matthieu Baumann, Marco Molinaro, Roberto De Pietri, Marica Branchesi, Steven Schramm, Gergely Dalya, Elahe Khalouei, Barbara Patricelli, Giulia Stratta
TL;DR
This work investigates extending the IVOA MOC standard by encoding textual descriptions (Textual MOCs) and their semantic embeddings (Semantic MOCs) within sky-region maps. It outlines JSON-based serialization for Textual MOCs, introduces embedding-based Semantic MOCs via LangChain/OllamaEmbeddings, and demonstrates integration with MocServer and visualization tools like Aladin Lite and HiPS. The approach enables advanced retrieval via RAG, multimodal AI, and context-rich queries, linking spatial footprints with text, metadata, and image data. The results highlight enhanced data exploration, automated cross-matching, and potential for agent-based, multi-messenger astronomy workflows, while outlining future directions toward VOResource alignment and scalable, AI-assisted analysis.
Abstract
Context. The Multi-Order Coverage map (MOC) is a widely adopted standard promoted by the International Virtual Observatory Alliance (IVOA) to support data sharing and interoperability within the Virtual Observatory (VO) ecosystem. This hierarchical data structure efficiently encodes and visualizes irregularly shaped regions of the sky, enabling applications such as cross-matching large astronomical catalogs. Aims. This study aims to explore potential enhancements to the MOC data structure by encapsulating textual descriptions and semantic embeddings into sky regions. Specifically, we introduce "Textual MOCs", in which textual content is encapsulated, and "Semantic MOCs" that transform textual content into semantic embeddings. These enhancements are designed to enable advanced operations such as similarity searches and complex queries and to integrate with generative artificial intelligence (GenAI) tools. Method. We experimented with Textual MOCs by annotating detailed descriptions directly into the MOC sky regions, enriching the maps with contextual information suitable for interactive learning tools. For Semantic MOCs, we converted the textual content into semantic embeddings, numerical representations capturing textual meanings in multidimensional spaces, and stored them in high-dimensional vector databases optimized for efficient retrieval. Results. The implementation of Textual MOCs enhances user engagement by providing meaningful descriptions within sky regions. Semantic MOCs enable sophisticated query capabilities, such as similarity-based searches and context-aware data retrieval. Integration with multimodal generative AI systems allows for more accurate and contextually relevant interactions supporting both spatial, semantic and visual operations for advancing astronomical data analysis capabilities.
