instruction:
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.
question:
For cheap fast food there is Midsummer House close to All Bar One.  Customers have rated it 5 out of 5.
answer:
[['Midsummer House', 'food', 'Fast food'], ['Midsummer House', 'priceRange', 'cheap'], ['Midsummer House', 'customer rating', '5 out of 5'], ['Midsummer House', 'near', 'All Bar One']]


question:
103 Colmore Row was designed by the architect John Madin whose home town is Birmingham, a town where Khalid Mahmood (British politician) is one of the leaders.
answer:
[['103 Colmore Row', 'ARCHITECT', 'John Madin'], ['John Madin', 'HOMETOWN', 'Birmingham'], ['Birmingham', 'LEADER_NAME', 'Khalid Mahmood (British politician)']]


question:
In Gajapati district with headquarters Paralakhemundi, the density was 133.
answer:

[['Gajapati', 'HEADQUARTERS', 'Paralakhemundi'], ['Gajapati', 'DENSITY_(PERSONS_PER_KM2)', '133']]