This task is about using the specified sentence and converting the sentence to Resource Description Framework (RDF) triplets of the form (subject, predicate object). The RDF triplets generated must be such that the triplets accurately capture the structure and semantics of the input sentence. The input is a sentence and the output is a list of triplets of the form [subject, predicate, object] that capture the relationships present in the sentence. When a sentence has more than 1 RDF triplet possible, the output must contain all of them.

Input: Consider Input: The novel A Long Long Way was followed by The Secret Scripture.

Output: [['A Long Long Way', 'FOLLOWED_BY', 'The Secret Scripture']]


Input: Consider Input: A Fortress of Grey Ice was written in the United States in English which is spoken in Great Britain.

Output: [['A Fortress of Grey Ice', 'LANGUAGE', 'English language'], ['English language', 'SPOKEN_IN', 'Great Britain'], ['A Fortress of Grey Ice', 'COUNTRY', 'United States']]


Input: Consider Input: A Long Long Way, the prequel to The Secret Scripture, was published by Viking Press.


Output: [['A Long Long Way', 'COUNTRY', 'Ireland'], ['A Long Long Way', 'PUBLISHER', 'Viking Press'], ['A Long Long Way', 'FOLLOWED_BY', 'The Secret Scripture']]