Arrow Research search
Back to NeSy

NeSy 2021

Extending Real Logic with Aggregate Functions

Conference Paper Accepted Paper Artificial Intelligence · Logic in Computer Science · Neurosymbolic Artificial Intelligence

Abstract

Real Logic is a recently introduced first-order language where formulas have fuzzy truth values in the interval [0, 1] and semantics are defined concretely with real domains. The Logic Tensor Networks (LTN) framework has applied Real Logic to many important AI tasks through querying, learning, and reasoning. Motivated by real-life relational database applications, we study adding aggregate functions, such as averaging elements of a relation table, to Real Logic. The key contribution of this paper is the formalization of such functions within Real Logic. This extension is straightforward and fits coherently in the end-to-end differentiable language that Real Logic is. We illustrate it on FooDB, a food chemistry database, and query foods and their nutrients. The resulting framework combines strengths of descriptive statistics modeled by fuzzy predicates, FOL to write complex queries and formulas, and SQL-like expressiveness to aggregate insights from data tables.

Authors

Keywords

  • Many-Valued Logic
  • Relational Database
  • Querying
  • Aggregation
  • Neurosymbolic AI

Context

Venue
International Conference on Neurosymbolic Learning and Reasoning
Archive span
2007-2025
Indexed papers
258
Paper id
857275677053588291
v2026.09.13