Triplet as input to graph convolution

I extracted triplets from the data as follows (node, relation, child). How to give this triplet as input to a graph neural network