Schema Generation for Large Knowledge Graphs Using Large Language Models
Zhang, Bohui, He, Yuan, Pintscher, Lydia, Peñuela, Albert Meroño, Simperl, Elena
–arXiv.org Artificial Intelligence
Schemas play a vital role in ensuring data quality and supporting usability in the Semantic Web and natural language processing. Traditionally, their creation demands substantial involvement from knowledge engineers and domain experts. Leveraging the impressive capabilities of large language models (LLMs) in tasks like ontology engineering, we explore schema generation using LLMs. To bridge the resource gap, we introduce two datasets: YAGO Schema and Wikidata EntitySchema, along with novel evaluation metrics. The LLM-based pipelines utilize local and global information from knowledge graphs (KGs) to generate schemas in Shape Expressions (ShEx). Experiments demonstrate LLMs' strong potential in producing high-quality ShEx schemas, paving the way for scalable, automated schema generation for large KGs. Furthermore, our benchmark introduces a new challenge for structured generation, pushing the limits of LLMs on syntactically rich formalisms.
arXiv.org Artificial Intelligence
Oct-3-2025
- Country:
- Asia
- Europe
- France (0.04)
- Germany > Bavaria
- Upper Bavaria > Munich (0.04)
- Greece (0.04)
- Italy (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- North America
- Puerto Rico > Peñuelas
- Peñuelas (0.04)
- United States > New Mexico
- Bernalillo County > Albuquerque (0.04)
- Puerto Rico > Peñuelas
- Genre:
- Research Report (1.00)
- Industry:
- Leisure & Entertainment (0.46)
- Media > Film (0.46)
- Technology: