MCP
DH

Daniel Hernández

60 papers in the library

Papers

30
SPARQLcirc: Probabilistic Query Evaluation with Provenance Circuits
Jingcheng WuRatan Bahadur ThapaDaniel HernándezSteffen Staab
SPARQLcirc performs exact probabilistic query evaluation (PQE) for SPARQL over tuple-independent knowledge graphs. It rewrites a SPARQL query into CONSTRUCT queries that name each gate by its content, so that results of independent queries collectively form one Boolean provenance circuit for all answers. The rewriting covers joins, unions, projection, filters, OPTIONAL, difference, and transitive closures, and compiles the circuit to compute exact answer probabilities via weighted model counting. Evaluations on WatDiv, gMark, and Wikidata show that the end-to-end time of SPARQLcirc relative to compiling NPCS provenance expressions decreases with the number of derivations.
arXivarXiv · · October 29, 2026
0
MERIT: Scaling KG Foundation Models with Relation Transformers
Cosimo GregucciDaniel HernandezAntonio VergariSteffen Staab
MERIT is the first knowledge graph foundation model with a transformer relation encoder: every relation name attends to every other, with motifs as a soft prior instead of graph edges. Over 56 benchmarks, it matches the zero-shot MRR of state-of-the-art KGFMs while being 6x faster than TRIX and over 100x faster than FLOCK at inference. Fine-tuned for complex query answering, MERITQuery outperforms UltraQuery at matched cost.
arXivarXiv · · October 11, 2026
0
Logic Meets Language: Hybrid Query Answering over Incomplete Text-Labeled Graphs
Yunjie HeBo XiongDaniel HernándezYuqicheng ZhuYi WangEvgeny KharlamovSteffen Staab
This paper introduces hybrid query answering (hybrid QA) over incomplete text-labeled graph databases, a task requiring joint reasoning over symbolic graph structure and free-form textual descriptions under incompleteness. To enable the study, the authors formalize a query language combining logical constraints with textual descriptions, create two benchmarks (biological and e-commerce), and propose HybridQE, which embeds and combines both constraint types in a unified space. Experiments show existing methods struggle, while HybridQE consistently improves across hybrid query types.
ACL AnthologyACL Anthology · October 2026
0
0
Half a Link can Be Enough to Predict a Whole Link: Understanding Generalization in Knowledge Graph Foundation Models
Cosimo GregucciObaidah TheebDaniel HernándezAntonio VergariSteffen Staab
Knowledge graph (KG) foundation models (KGFMs) are zero-shot generalizers: trained once, they can predict links on unseen graphs without retraining. However, understanding when and how they can robustly generalize across KGs is still an open question. In this paper, we shed some light on their generalization mechanisms highlighting how their performance on unseen KGs is not uniform when it comes to partially seen links, which we call *half-links*. In fact, we show that to predict a test triple (h,r,t) it might suffice in practice to have observed the half-link (h,r) or (r,t) in the inference graph. This yields a taxonomy of four scenarios when combinations of these half-links are observed or not. In a rigorous stratified analysis over these scenarios, we reveal that SoTA KGFMs use seen half-links for predictions, while unseen half-links pose different challenges. As such, our finer-grained taxonomy can be a diagnostic protocol for robust KGFM generalization and highlights where novel KGFMs can improve.
ACL AnthologyACL Anthology · October 2026
0
AI Emulation of Stochastic Sudden Stratospheric Warming with Interpretable Latent Structure
C. Daniel BoscuDaniel HernandezFabio Alvarez VenturaJustin FinkelAshesh ChattopadhyayPedram HassanzadehDorian S. Abbot
For rare regime transitions like sudden stratospheric warmings, class imbalance hinders data-driven modeling. This study develops a probabilistic deep-learning emulator, a ResNet-inspired conditional variational autoencoder with current-state conditioning, for the stochastic Holton–Mass model. The emulator accurately reproduces short-term dynamics, steady-state distributions, regime persistence, transition rates, the committor, and expected lead time. Principal component analysis of its 32-dimensional latent space reveals unsupervised separation into four physically interpretable clusters (strong/weak vortex, stable/transition-prone), showing that such emulators can uncover physically meaningful manifolds governing extreme-event dynamics for improved early warning systems.
arXivarXiv · · October 1, 2026
0
0
FITTER: Vocabulary-Agnostic Cross-Domain Inference on Temporal Knowledge Graphs
Jiaxin PanMojtaba NayyeriOsama MohammedDaniel HernandezRongchuan ZhangCheng ChengSteffen Staab
FITTER is the first fully-inductive temporal knowledge graph link prediction model that supports cross-domain transfer. It represents predicates using their interaction patterns with others and time, encoding relative rather than absolute temporal ordering to produce vocabulary-agnostic embeddings, and uses message-passing to fuse local and global temporal context. The temporal encoding is proven to be time-shift invariant. Evaluated on six benchmarks, FITTER outperforms inductive baselines without retraining, showing that vocabulary-agnostic structural learning can generalize across heterogeneous knowledge graphs.
arXivarXiv · · August 11, 2026
0
0
Coachable Agents for Interactive Gameplay
Roberto CapobiancoHarm van SeijenNolan BardNeil BurchFatima Daniela DavelouisJosh DavidsonAlisa DevlicYunshu DuIshan DurugkarSiddhant GangapurwalaDaniel HernandezG. Zacharias Holland  +28
The paper introduces a framework for training reinforcement-learning agents that can be coached in real time to perform a core task in a user-chosen style. The approach combines universal value function approximators with selected training scenarios, learning algorithms, and data augmentation. Validated in Horizon Forbidden West, Gran Turismo, and an open-source humanoid domain, the trained agents strongly follow style requests while still solving their main tasks, and end users can select the final behavior at run time for flexible control over performance.
OpenReviewOpenReview · · August 7, 2026
0
GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attention
Jiaxin PanOsama MohammedDaniel HernándezSteffen Staab
GRATE (Gated Rotary Attention for Temporal Encoding) is an entity-side message function that adds no learnable parameters, encoding time via relative time differences: it rotates each edge message by its time gap to the query and applies a query-conditioned gate to select temporally relevant signals. Integrated into NBFNet-style KG foundation models, it preserves structural transferability. Because existing temporal benchmarks share train/test vocabularies, the authors construct GDELTIndT and WIKIIndT, inductive transfer suites with disjoint entities, relations, and timestamps. A single jointly pretrained GRATE checkpoint improves over the static base model in most settings.
arXivarXiv · · July 11, 2026
0
1
Emergence of beating in a magnetic flagellum consisting of active bots
Francisca Guzmán-LastraDaniel HernándezNicolás QuintriqueoEnkeleida LushiErick Burgos
We show that a chain of centimeter-scale magnetic self-propelled bots anchored at one end develops sustained flagellar beating through a buckling instability. Longitudinal stress from active propulsion overcomes the magnetic bending stiffness (set by dipole-dipole interactions), leading to a supercritical Hopf bifurcation from a straight chain to stable beating. Three regimes—straight, beating, and fission—are governed by active force, chain length, and stiffness, providing a macroscopic platform tunable via dipole strength and chain length.
arXivarXiv · · June 28, 2026
0
0
Half a Link can Be Enough to Predict a Whole Link: Understanding Generalization in Knowledge Graph Foundation Models
Cosimo GregucciObaidah TheebDaniel HernandezAntonio VergariSteffen Staab
Knowledge graph foundation models (KGFMs) generalize zero-shot to unseen graphs, but their performance on test triples $(h,r,t)$ varies. This paper reveals that a key factor is whether the half-links $(h,r)$ or $(r,t)$ were observed in the inference graph. Through a stratified analysis over four scenarios defined by combinations of observed half-links, it shows that state-of-the-art KGFMs rely on seen half-links for prediction, while unseen half-links pose distinct challenges. This taxonomy serves as a diagnostic protocol for assessing robust generalization and identifying where future KGFMs can improve.
arXivarXiv · · June 16, 2026
0
0
Transforming Shape Schemas with Composable Property-Graph Queries (Extended Version)
Philipp SeiferDaniel HernándezRalf LämmelSteffen Staab
This paper addresses schema inference for property-graph transformations. It proposes a reasoning procedure that, given an input schema in ProGS and a query in G-CORE, infers an output schema without inspecting graph instances, so the result holds for all graphs complying with the input schema. The approach works by mapping property graphs to RDF (via reification), ProGS to SHACL, and G-CORE to SPARQL CONSTRUCT, thereby reducing the problem to Description Logic reasoning and reusing existing DL reasoners. The authors develop metatheory on the soundness of inferred constraints and semantic equivalence of mapped schemas and queries.
arXivarXiv · · June 12, 2026
0
0
Faithful Box Embeddings for Linear Temporal EL+
Daniel HernándezJiaxin PanOsama MohammedRatan Bahadur ThapaSteffen Staab
We introduce LTEL+, a linear-temporal extension of the description logic EL+ over discrete time with operators next, until, box, and diamond, and present the first faithful box embedding for it. The construction is a generic lifting that equips any faithful static box method with time while preserving faithfulness. We prove that the embedding characterizes temporal entailment exactly: a temporal subsumption holds in every zero-loss embedding if and only if it is entailed by the ontology, and we characterize which temporal axioms admit a faithful representation. We also delineate the fragment preserving tractable reasoning, and evaluate on synthetic benchmarks.
OpenReviewOpenReview · June 10, 2026
0
0
ProbSPARQL: Querying Knowledge Graphs with Multi-dimensional, Uncertain Numeric Data
Jingcheng WuRatan Bahadur ThapaDaniel HernandezHongkuan ZhouSteffen Staab
ProbSPARQL extends SPARQL with native support for multi-dimensional uncertain numeric data, modeling such values as random variables with distributions encoded via probabilistic RDF literal datatypes. It provides distribution-aware expressions, probabilistic filters, and divergence-based joins. Implemented on Apache Jena ARQ with a Fuseki-compatible layer, it demonstrates feasible in-engine execution, filter-pushdown speedups over application-layer post-processing, and latency-accuracy trade-offs in divergence-join strategies on benchmarks up to 1.5M triples.
arXivarXiv · · July 2026
0
0
GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attention
Jiaxin PanOsama MohammedDaniel HernándezSteffen Staab
GRATE extends inductive KG foundation models to temporal knowledge graphs without adding learnable parameters. It encodes time via relative differences by rotating edge messages by their time gap to the query, plus a query-conditioned gate for temporal relevance. Integrated into NBFNet-style backbones, it preserves structural transferability. Since existing TKG benchmarks share train/test vocabularies, the authors build fully inductive suites GDELTINDT and WIKIINDT with disjoint entities, relations, and timestamps. A single jointly pretrained GRATE checkpoint outperforms the static backbone in most settings and nearly matches transductive models, especially when recurrence is weak.
OpenReviewOpenReview · · May 9, 2026
0
Mapping Subnational Vulnerability to Inadequate Micronutrient Intake using a Bayesian Small Area Estimation Framework
Sahoko IshidaMohammed OsmanZiyao CuiUchenna AguEmily BecherGabriel BattcockDaniel HernandezDuccio PiovaniFrances KnightSeth FlaxmanKevin Tang
This paper applies Bayesian Small Area Estimation (SAE) to household consumption and expenditure surveys to estimate the prevalence of inadequate micronutrient intake at the second administrative level. Evaluating three models on Rwanda data, the cluster-level Beta-binomial model performed best, while the area-level joint smoothing model was the most reliable alternative accounting for survey design. Applied to Senegal and Nigeria, the approach produced estimates with reduced uncertainty and meaningful subnational variation, supporting targeted nutrition interventions.
arXivarXiv · · April 16, 2026
0
0
Universal Latent Homeomorphic Manifolds: A Framework for Cross-Domain Representation Unification
Tong WuTayab Uddin WaraDaniel HernandezSidong Lei
The Universal Latent Homeomorphic Manifold (ULHM) framework unifies semantic and observation-driven representations into a single latent structure, using homeomorphism—a continuous bijection preserving topology—as the criterion for valid unification. When met, this enables semantic-guided sparse recovery, cross-domain transfer, and transductive zero-shot compositional learning. ULHM learns manifold-to-manifold transformations via conditional variational inference, enforcing bi-Lipschitz properties, and provides verification metrics. Experiments show strong gains over SOTA, including 86.73% MNIST-to-Fashion-MNIST transfer without retraining and 78.76% zero-shot accuracy on CIFAR-10.
OpenReviewOpenReview · · February 4, 2026
0
Universal Latent Homeomorphic Manifolds: A Framework for Cross-Domain Representation Unification
Tong WuTayab Uddin WaraDaniel HernandezSidong Lei
The Universal Latent Homeomorphic Manifold (ULHM) framework unifies semantic representations and observation-driven machine representations into a single latent structure by establishing homeomorphism—a continuous bijection preserving topological structure—as the criterion for when different semantic-observation pairs can be rigorously unified. This enables semantic-guided sparse recovery from incomplete observations, cross-domain transfer learning (e.g., 86.73% accuracy from MNIST to Fashion-MNIST), and zero-shot compositional learning (78.76% on CIFAR-10). Practical verification algorithms empirically validate homeomorphic structure from finite samples.
arXivarXiv · · January 13, 2026
0
2
ArgRAG: Explainable Retrieval Augmented Generation using Quantitative Bipolar Argumentation
Yuqicheng ZhuNico PotykaDaniel HernándezYuan HeZifeng DingBo XiongDongzhuoran ZhouEvgeny KharlamovSteffen Staab
ArgRAG replaces the black-box reasoning in Retrieval-Augmented Generation with a structured, explainable inference using a Quantitative Bipolar Argumentation Framework. It constructs a QBAF from retrieved documents and applies deterministic gradual semantics, enabling faithful explanations and contestation of decisions. On PubHealth and RAGuard benchmarks, ArgRAG achieves strong accuracy while significantly improving transparency.
arXivarXiv · · August 26, 2025
0
22
AccessGuru: Leveraging LLMs to Detect and Correct Web Accessibility Violations in HTML Code
Nadeen FathallahDaniel HernándezSteffen Staab
AccessGuru is a method that combines existing accessibility testing tools with Large Language Models (LLMs) to detect and correct Web accessibility violations in HTML code. It introduces a taxonomy classifying violations into Syntactic, Semantic, and Layout categories, and applies taxonomy-driven prompting strategies for correction. On a benchmark of real-world violations, AccessGuru achieves up to an 84% average violation score decrease, significantly outperforming prior methods which achieve at most 50%.
arXivarXiv · · July 24, 2025
0
25
Predicate-Conditional Conformalized Answer Sets for Knowledge Graph Embeddings
Yuqicheng ZhuDaniel HernándezYuan HeZifeng DingBo XiongEvgeny KharlamovSteffen Staab
Uncertainty quantification in Knowledge Graph Embedding (KGE) methods is crucial for ensuring the reliability of downstream applications. A recent work applies conformal prediction to KGE methods, providing uncertainty estimates by generating a set of answers that is guaranteed to include the true answer with a predefined confidence level. However, existing methods provide probabilistic guarantees averaged over a reference set of queries and answers (marginal coverage guarantee). In high-stakes applications such as medical diagnosis, a stronger guarantee is often required: the predicted sets must provide consistent coverage per query (conditional coverage guarantee). We propose CondKGCP, a novel method that approximates predicate-conditional coverage guarantees while maintaining compact prediction sets. CondKGCP merges predicates with similar vector representations and augments calibration with rank information. We prove the theoretical guarantees and demonstrate empirical effectiveness of CondKGCP by comprehensive evaluations.
ACL AnthologyACL Anthology · July 2025
0
DAGE: DAG Query Answering via Relational Combinator with Logical Constraints
Yunjie HeBo XiongDaniel HernándezYuqicheng ZhuEvgeny KharlamovSteffen Staab
DAGE is a query embedding method for answering DAG queries on knowledge graphs, which extend decomposable tree-form queries to the more general ALCOIR description logic. Given a DAG query's computational graph, DAGE merges multiple paths between two nodes into one using a trainable intersection operator and learns DAG-DL concepts from tautologies. Implemented on existing query embedding methods, DAGE outperforms vanilla methods on a new benchmark of DAG queries when evaluated via approximating tree-form queries.
OpenReviewOpenReview · · June 7, 2025
0
Towards Foundation Model on Temporal Knowledge Graph Reasoning
Jiaxin PanMojtaba NayyeriOsama MohammedDaniel HernandezRongchuan ZhangCheng ChengSteffen Staab
Temporal Knowledge Graph (TKG) link prediction has been limited to transductive or semi-inductive settings, requiring test entities, relations, or timestamps to be seen during training. This paper presents POSTRA, the first fully-inductive model for TKG link prediction. POSTRA uses sinusoidal positional encodings to capture fine-grained temporal patterns and generates adaptive entity and relation representations via message passing conditioned on local and global temporal contexts. As a pretrained, scalable model, it achieves strong zero-shot performance on unseen TKGs, effectively generalizing to novel entities, relations, and timestamps. This work represents a step toward a foundation model for temporal KGs.
arXivarXiv · · June 4, 2025
1
8
Predicate-Conditional Conformalized Answer Sets for Knowledge Graph Embeddings
Yuqicheng ZhuDaniel HernándezYuan HeZifeng DingBo XiongEvgeny KharlamovSteffen Staab
CondKGCP, a method for knowledge graph embeddings, provides predicate-conditional coverage guarantees for prediction sets, ensuring that for each query the set of answers contains the true answer with a predefined probability. It groups predicates with similar embedding vectors and augments the calibration data with rank information, achieving compact sets while satisfying the stronger conditional guarantee. Theoretical proofs and empirical evaluations demonstrate its effectiveness.
arXivarXiv · · May 22, 2025
0
11
Uncertainty Quantification of Knowledge Graph Embedding with Statistical Guarantees
Yuqicheng ZhuNico PotykaDaniel HernándezJiarong PanBo XiongYunjie HeYuan HeZifeng DingEvgeny KharlamovSteffen Staab
This abstract presents principled methods for uncertainty quantification in Knowledge Graph Embedding (KGE), which link prediction and question answering rely on but which lack reliable uncertainty estimates, a risk for high-stakes applications like medical decision support. The methods, based on conformal prediction, construct answer sets that contain the true answer with a user-specified confidence level, thereby providing statistical coverage guarantees. Intuitively, uncertainty is quantified by the number of candidate answers needed to ensure the true answer is covered at the desired confidence.
OpenReviewOpenReview · May 21, 2025
0
1
ArgRAG: Explainable Retrieval Augmented Generation using Quantitative Bipolar Argumentation
Yuqicheng ZhuNico PotykaDaniel HernándezYuan HeZifeng DingBo XiongDongzhuoran ZhouEvgeny KharlamovSteffen Staab
ArgRAG replaces the black-box reasoning of Retrieval-Augmented Generation with structured inference using a Quantitative Bipolar Argumentation Framework. It builds a QBAF from retrieved documents and performs deterministic reasoning under gradual semantics, enabling faithful explanation of and contestation over decisions. Evaluated on the PubHealth and RAGuard fact verification benchmarks, it achieves strong accuracy while significantly improving transparency.
OpenReviewOpenReview · · May 21, 2025
0
Is Complex Query Answering Really Complex?
Cosimo GregucciBo XiongDaniel HernándezLorenzo LocontePasquale MinerviniSteffen StaabAntonio Vergari
This paper argues that current knowledge graph complex query answering (CQA) benchmarks overestimate progress because most queries (up to 98% for some types) reduce to simpler tasks like link prediction. State-of-the-art models perform significantly worse on queries that cannot be so reduced. The authors propose more challenging benchmarks composed of queries that require multi-hop reasoning and reflect real-world KG construction, showing empirically that current methods leave much to be desired.
OpenReviewOpenReview · · January 23, 2025
0
DAGE: DAG Query Answering via Relational Combinator with Logical Constraints
Yunjie HeBo XiongDaniel HernándezYuqicheng ZhuEvgeny KharlamovSteffen Staab
DAGE extends query embedding to DAG queries, which are more general than the tree-form queries handled by existing methods. DAGE combines multiple paths between two nodes in a DAG query's computational graph into a single path using a trainable intersection operator, and learns DAG description logic from tautologies. It can be implemented on top of existing query embedding methods, and experiments show it improves over vanilla methods on tree-form approximations of DAG queries.
arXivarXiv · · October 29, 2024
0
9
Is Complex Query Answering Really Complex?
Cosimo GregucciBo XiongDaniel HernandezLorenzo LocontePasquale MinerviniSteffen StaabAntonio Vergari
This paper argues that current knowledge graph complex query answering (CQA) benchmarks overstate progress, because most queries (up to 98% for some types) reduce to simpler tasks like link prediction. State-of-the-art models perform significantly worse on non-reducible queries. The authors propose new benchmarks with multi-hop queries better reflecting real-world KGs; systematic evaluation shows current methods leave much to be desired.
arXivarXiv · · October 16, 2024
0
10
DAGE: DAG Query Answering via Relational Combinator with Logical Constraints
Yunjie HeBo XiongDaniel HernándezYuqicheng ZhuEvgeny KharlamovSteffen Staab
This paper generalizes knowledge-graph query embedding from tree-form queries, which require a single free variable and decomposability, to a broader class called DAG queries, with a matching description logic DAG-DL. The proposed method DAGE combines possibly multiple paths between two nodes of a DAG query's computational graph into one path using a trainable operator representing relation intersection and learning DAG-DL tautologies. DAGE can be implemented atop existing query embedding methods. The authors also introduce a benchmark for DAG queries, reporting empirical improvements over vanilla methods evaluated on relaxed tree-form queries.
OpenReviewOpenReview · · October 7, 2024
0
Is Complex Query Answering Really Complex?
Cosimo GregucciBo XiongDaniel HernándezLorenzo LocontePasquale MinerviniSteffen StaabAntonio Vergari
The paper argues that current knowledge graph complex query answering benchmarks are not truly complex, as most queries—up to 98% for some types—can be reduced to simpler problems like link prediction. State-of-the-art models perform significantly worse on queries irreducible to easier types. To address this, the authors propose new benchmarks featuring multi-hop queries that better reflect real-world knowledge graphs. Systematic experiments show current methods still have substantial room for improvement on these benchmarks.
OpenReviewOpenReview · · September 26, 2024
0
Authors with the same name
Daniel Hernandez · 4 papers
Daniel Hernández #0002 · 17 papers
Daniel Hernández #0008 · 4 papers
Daniel Hernández #0010 · 1 papers
Frequent collaborators
Steffen Staab (29)
Bo Xiong (13)
Yuqicheng Zhu (10)
Evgeny Kharlamov (10)
Cosimo Gregucci (7)
Antonio Vergari (6)
Yunjie He (6)
Jiaxin Pan (5)
Osama Mohammed (5)
Yuan He (5)
Zifeng Ding (5)
Mojtaba Nayyeri (4)