Semantic graphs derived from triplets with application in document summarization