We present an ontology of computational complexity that allows for a representation of research findings on the subject and supports query answering and reasoning tasks to help students and researchers in finding known facts and deriving new ones. The facts about decision problems and complexity classes are organised as a knowledge graph. The relationships between them are axiomatised using the FOWL framework that allows one to combine OWL 2 and first-order logic to balance between reasoning efficiency and expressive power. While the axioms were created through ontological analysis based on received ‘textbook knowledge’, the facts were extracted from the textual corpus of the ‘Complexity Zoo’ website, a human-curated ‘encyclopedia’ of complexity classes, in a human-supervised process employing large language models. We discuss, on the one hand, the modelling choices in relation to the previous work on knowledge representation in mathematics and, on the other hand, the peculiarities of using language models for the mining of complex symbolic facts. Finally, we illustrate some of the features of the hybrid reasoning system by providing a usage example.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Modelling and Mining Knowledge About Computational Complexity

  • Anton Gnatenko,
  • Oliver Kutz,
  • Nicolas Troquard

摘要

We present an ontology of computational complexity that allows for a representation of research findings on the subject and supports query answering and reasoning tasks to help students and researchers in finding known facts and deriving new ones. The facts about decision problems and complexity classes are organised as a knowledge graph. The relationships between them are axiomatised using the FOWL framework that allows one to combine OWL 2 and first-order logic to balance between reasoning efficiency and expressive power. While the axioms were created through ontological analysis based on received ‘textbook knowledge’, the facts were extracted from the textual corpus of the ‘Complexity Zoo’ website, a human-curated ‘encyclopedia’ of complexity classes, in a human-supervised process employing large language models. We discuss, on the one hand, the modelling choices in relation to the previous work on knowledge representation in mathematics and, on the other hand, the peculiarities of using language models for the mining of complex symbolic facts. Finally, we illustrate some of the features of the hybrid reasoning system by providing a usage example.