Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Latest commit

 

History

History
15 lines (12 loc) · 752 Bytes

File metadata and controls

15 lines (12 loc) · 752 Bytes

https://medium.com/@nizami_muhammad/extracting-relation-from-sentence-using-llm-597d0c0310a8

Sentence: Werner Herzog is the son of Dietrich Herzog Extract RDF predicate from the sentence in this format: subject: predicate: object:<object, optional>


Sentence: Werner Herzog is a remarkable filmmaker and an intellectual originally from Germany, the son of Dietrich Herzog. After the war, Werner fled to America to become famous. Instead he became President and decided to nuke Slovenia. Be brief, extract the top RDF predicate in DBPedia for the relation between http://dbpedia.org/resource/Werner_Herzoghttp://dbpedia.org/resource/Germany in this format: subject: predicate: object:<object, optional>