
This paper explores relation classification as a step toward building structured knowledge graphs from unstructured Portuguese text. We evaluate prompt-based approaches using generative large language models and compare them with a fine-tuned BERT model. Experiments are conducted on a custom relation extraction dataset built by aligning Wikidata triples with sentences from Wikipedia in Portuguese, a lower-resourced language than English. Results show that while prompt-based methods offer flexibility and reasonable performance, fine-tuning yields significantly better results in identifying relation types, an essential aspect for accurate and reliable knowledge graph construction.
Relation Classification, Large Language Models, Prompting Strategies, Knowledge Graph Construction, Fine-Tuning
Relation Classification, Large Language Models, Prompting Strategies, Knowledge Graph Construction, Fine-Tuning
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
