AUTOMATED ONTOLOGY LEARNING FROM TEXT: EKSTRAKSI OTOMATIS GRAF PENGETAHUAN DARI TEKS KUNCI JAWABAN GURU MENGGUNAKAN SPACY DAN OWLREADY2

Authors

  • Kemas Alfin Yazi Bara Mentari UPN Veteran Jawa Timur
  • Afina Lina Nurlaili UPN Veteran Jawa Timur
  • Hazna At Thooriqoh UPN Veteran Jawa Timur

Keywords:

Automated Ontology Learning, Ekstraksi Informasi, Graf Pengetahuan, Owlready2, spaCy

Abstract

Objective essay evaluation requires a factual assessment reference, which often burdens educators if done through manual ontology engineering. This study proposes an Automated Ontology Learning from Text (OLT) module to automatically generate a Lightweight Ontology (knowledge graph) from natural language text inputs of science and social studies answer keys for 6th grade. The text is processed using a Natural Language Processing (NLP) pipeline based on the spaCy library and the Universal Dependencies model to perform Dependency Parsing, thereby extracting Triples (Subject-Predicate-Object) relations. Through the Owlready2 library, the extracted entities are mapped into an A-Box schema; Subjects and Objects become Named Individuals (instances of owl:Thing), while Predicates become Object Properties. The results show that the NLP pipeline is not only precise in parsing simple active sentences but also capable of distributing relations proportionally in enumerative compound sentences. The computational module successfully executes graph serialization into a semantically valid .owl file that is ready to be interrogated via SPARQL queries. This approach enables the instant formation of a consistent, pure knowledge base, minimizes noise, and cuts down the administrative workload of educators.

Published

2026-11-30