From Conceptual EneMonIE to an Executable Backend: A Modular Architecture for Energy Information Extractionand Grounded Question Answering
Organizations: Département de mathématiques et d’informatique, Université du Québec à Trois-Rivières, Canada
Abstract
The original EneMonIE proposal describes a Web-based semantic system for continuously monitoring energy trends through targeted information extraction from heterogeneous online media. This article presents EneMonIE-Backend, an implementation-derived redesign that converts that conceptual pipeline into a modular, executable, and application-independent backend. The architecture separates five concerns: data sources, acquisition and normalization, semantic processing, knowledge organization, and persistent storage. It operationalizes configurable connectors for RSS feeds, URL collections, arXiv, social-media JSON files, and open-data CSV files; it also introduces question-driven Web search and scraping. Relevant documents pass through energy categorization, named entity recognition, temporal and event extraction, source sensitive sentiment analysis, and extractive summarization. The resulting semantic representations support entity co-occurrence graphs, cross-document interlinking, cluster-level information fusion, and relational persistence in SQLite. Three grounded question-answering paths are exposed at the backend level: live Web evidence, the stored corpus, and selected configured resources. Answer generation uses a language model when configured and otherwise falls back to deterministic extractive output. Unlike the original proposal, the presented architecture deliberately excludes the user-interface and server-side application layers, allowing the semantic core to be embedded in different applications. A deterministic smoke validation confirms relevance filtering, persistence, clustering, evidence retrieval, and document deletion. The work provides a reproducible architectural basis for future evaluation on larger multilingual energy corpora.
Figures & tables
| Table | Purpose |
|---|---|
| documents | Source content, metadata, category, sentiment, and summary. |
| entities | Surface forms, labels, canonical forms, and character spans. |
| temporals | Temporal mentions, normalized values, and spans. |
| events | Event types, triggers, sentences, times, and confidence. |
| entity_edges | Weighted co-occurrence relationships. |
| clusters | Fused titles, summaries, confidence, entities, and event types. |
| Concern | Original EneMonIE proposal | Implementation-derived architecture |
|---|---|---|
| Sources | News, videos, social media, scholarly articles, organizational sites, and open data. | Concrete adapters for RSS, URL lists, arXiv, JSONL, and CSV, plus question-driven Web search and scraping. |
| Filtering | Ontology-based text categorization. | Weighted keyword scoring with a configurable relevance threshold before downstream processing. |
| Information extraction | NER, temporal expressions, and energy-event extraction. | Explicit rule- and gazetteer-based modules returning typed objects with spans, canonical values, times, and confidence. |
| Sentiment | Opinion analysis for social-media text. | Source-sensitive English/French lexicon analysis applied only to social-media documents. |
| Interlinking and fusion | Align related media, fuse information, and summarize it. | Weighted Jaccard similarity, threshold graph, connected-component clusters, mean-similarity confidence, and extractive fusion. |
| Knowledge structure | Social-network construction and a central relational database. | Entity co-occurrence edges and a seven-table SQLite schema with foreign keys and cascade deletion. |
| Task | P | R | ||
|---|---|---|---|---|
| Entities | 10 | 0.588 | 1.000 | 0.741 |
| Events | 7 | 1.000 | 1.000 | 1.000 |
| Temporal spans | 5 | 1.000 | 1.000 | 1.000 |