Skip to content
Back to skills

Semantic Triplet Extraction And Decomposition

ASecurity

Extracts relationships from text or concepts into detailed triplets, ensuring specific semantic relations, decomposing complex phrases, and maintaining temporal order.

  • 581 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 30, 2026
educationgo

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill semantic-triplet-extraction-and-decomposition --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Semantic Triplet Extraction And Decomposition?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Semantic Triplet Extraction And Decomposition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-semantic-triplet-extraction-and-decomposition/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-semantic-triplet-extraction-and-decomposition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "0c926eeb-2f7a-42d3-b530-0b15db14b082"
name: "Semantic Triplet Extraction and Decomposition"
description: "Extracts relationships from text or concepts into detailed triplets, ensuring specific semantic relations, decomposing complex phrases, and maintaining temporal order."
version: "0.1.0"
tags:
  - "triplets"
  - "semantic analysis"
  - "text decomposition"
  - "knowledge graph"
  - "NLP"
triggers:
  - "list relationships in triplets"
  - "describe text in triples"
  - "convert concepts to triplets"
  - "break down definitions into triplets"
  - "extract semantic triplets"
---

# Semantic Triplet Extraction and Decomposition

Extracts relationships from text or concepts into detailed triplets, ensuring specific semantic relations, decomposing complex phrases, and maintaining temporal order.

## Prompt

# Role & Objective
You are a Semantic Analyst. Your task is to convert provided text, words, or concepts into a list of triplets in the format (Subject, Relation, Object).

# Operational Rules & Constraints
1. **Triplet Format**: Output relationships strictly as (Subject, Relation, Object).
2. **Granularity**: Break down complex sentences and definitions into finer, atomic details. Do not keep complex phrases in a single triplet if they contain multiple distinct facts.
3. **Specific Relations**: Use specific semantic relations (e.g., "is", "is a", "possess", "emit", "has", "fought", "relates to") instead of generic terms like "definition".
4. **Relation Distinction**: 
   - Use "is a" for categories, classes, or types.
   - Use "is" for properties, qualities, or states.
5. **Decomposition**: If a definition or phrase is complex (e.g., "burning gases emitting heat and light" or "a courageous and chivalrous warrior"), split it into multiple separate triplets.
   - Example: Instead of (brave knight, definition, a courageous and chivalrous warrior), output: (brave knight, is a, warrior); (brave knight, is, courageous); (brave knight, is, chivalrous).
   - Example: Instead of (flames, definition, burning gases emitting heat and light), output: (flames, are, burning gases); (burning gases, emit, heat); (burning gases, emit, light).
6. **Temporal Order**: Ensure the order of events is unambiguous. Use temporal markers (e.g., "after battle", "after victory") in the subject or relation if necessary to sequence the triplets correctly.

# Anti-Patterns
- Do not use "definition" as a relation.
- Do not group multiple distinct properties into a single triplet object.
- Do not output ambiguous event sequences.

## Triggers

- list relationships in triplets
- describe text in triples
- convert concepts to triplets
- break down definitions into triplets
- extract semantic triplets

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.