OntoURL: A Benchmark for Evaluating Large Language Models on Symbolic Ontological Understanding, Reasoning and Learning
Xiao Zhang, Huiyuan Lai, Qianru Meng, Johan Bos
TL;DR
OntoURL addresses the gap in evaluating large language models on structured symbolic knowledge by introducing a taxonomy of ontological capabilities (understanding, reasoning, learning) and a comprehensive benchmark built from 40 ontologies across 8 domains. It comprises 57,303 questions over 15 tasks to quantify LLM performance on three capabilities, with zero-shot and few-shot prompts and human evaluation. The study finds that current open-source LLMs excel at ontological understanding but struggle with reasoning over implicit relations and with autonomous ontological learning, though larger models and certain prompting strategies can mitigate some weaknesses. OntoURL serves as a critical resource for benchmarking and guiding the integration of LLMs with formal knowledge representations, while acknowledging domain coverage and language scope limitations as avenues for future work.
Abstract
Large language models have demonstrated remarkable capabilities across a wide range of tasks, yet their ability to process structured symbolic knowledge remains underexplored. To address this gap, we propose a taxonomy of ontological capabilities and introduce OntoURL, the first comprehensive benchmark designed to systematically evaluate LLMs' capabilities in handling ontologies -- formal and symbolic representations of domain knowledge. Based on the proposed taxonomy, OntoURL systematically assesses three dimensions: understanding, reasoning, and learning through 15 distinct tasks comprising 57,303 questions derived from 40 ontologies across 8 domains. Experiments with 20 open-source LLMs reveal significant performance differences across models, tasks, and domains, with current LLMs showing capabilities in understanding ontological knowledge but weaknesses in reasoning and learning tasks. Further experiments with few-shot and chain-of-thought prompting illustrate how different prompting strategies affect model performance. Additionally, a human evaluation reveals that LLMs outperform humans in understanding and reasoning tasks but fall short in most learning tasks. These findings highlight both the potential and limitations of LLMs in processing symbolic knowledge and establish OntoURL as a critical benchmark for advancing the integration of LLMs with formal knowledge representations.
