数据集:
OntoLAMA是一组用于本体包含推理的语言模型探测数据集。该研究遵循“LMs-as-KBs”文献,但侧重于从形式化的知识库(如OWL本体)中提取的概念化知识。具体而言,介绍并以自然语言推理(NLI)风格定义了包含子概念和超概念的包含推理(SI)任务,其中子概念和超概念被语言化并适应模板以形成前提和假设。通过本体推理验证采样的公理。SI任务进一步分为原子SI和复杂SI,前者仅涉及原子命名概念,而后者涉及原子和复杂概念。使用不同规模和领域的真实世界本体构建OntoLAMA,总共有四个原子SI数据集和两个复杂SI数据集。
查看数据集规格: https://krr-oxford.github.io/DeepOnto/ontolama/
数据集中的文本为英语,与源本体中使用的语言相同。相关的BCP-47代码为en。
从基因本体(GO)创建的原子SI数据集示例如下:
{
'v_sub_concept': 'ctpase activity',
'v_super_concept': 'ribonucleoside triphosphate phosphatase activity',
'label': 1,
'axiom': 'SubClassOf(<http://purl.obolibrary.org/obo/GO_0043273> <http://purl.obolibrary.org/obo/GO_0017111>)'
}
从食物本体(FoodOn)创建的复杂SI数据集示例如下:
{
'v_sub_concept': 'ham and cheese sandwich that derives from some lima bean (whole)',
'v_super_concept': 'lima bean substance',
'label': 0,
'axiom': 'SubClassOf(ObjectIntersectionOf(<http://purl.obolibrary.org/obo/FOODON_03307824> ObjectSomeValuesFrom(<http://purl.obolibrary.org/obo/RO_0001000> <http://purl.obolibrary.org/obo/FOODON_03302053>)) <http://purl.obolibrary.org/obo/FOODON_00002776>)',
'anchor_axiom': 'EquivalentClasses(<http://purl.obolibrary.org/obo/FOODON_00002776> ObjectIntersectionOf(<http://purl.obolibrary.org/obo/FOODON_00002000> ObjectSomeValuesFrom(<http://purl.obolibrary.org/obo/RO_0001000> <http://purl.obolibrary.org/obo/FOODON_03302053>)) )'
}
从MNLI数据集创建的biMNLI数据集示例如下:
{
'premise': 'At the turn of the 19th century Los Angeles and Salt Lake City were among the burgeoning metropolises of the new American West.',
'hypothesis': 'Salt Lake City was booming in the early 19th century.',
'label': 1
}
| Source | #NamedConcepts | #EquivAxioms | #Dataset (Train/Dev/Test) |
|---|---|---|---|
| Schema.org | 894 | - | Atomic SI: 808/404/2,830 |
| DOID | 11,157 | - | Atomic SI: 90,500/11,312/11,314 |
| FoodOn | 30,995 | 2,383 | Atomic SI: 768,486/96,060/96,062 Complex SI: 3,754/1,850/13,080 |
| GO | 43,303 | 11,456 | Atomic SI: 772,870/96,608/96,610 Complex SI: 72,318/9,040/9,040 |
| MNLI | - | - | biMNLI: 235,622/26,180/12,906 |
Creative Commons Attribution 4.0 International
相关论文已被ACL 2023的发现接受。
@inproceedings{he-etal-2023-language,
title = "Language Model Analysis for Ontology Subsumption Inference",
author = "He, Yuan and
Chen, Jiaoyan and
Jimenez-Ruiz, Ernesto and
Dong, Hang and
Horrocks, Ian",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2023",
month = jul,
year = "2023",
address = "Toronto, Canada",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.findings-acl.213",
pages = "3439--3453"
}