agentsclimarketplace

Semantic triplet extraction and decomposition

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/semantic-triplet-extraction-and-decomposition

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill semantic-triplet-extraction-and-decomposition

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Extracts relationships, definitions, and events from text or concepts into atomic triplets, ensuring high granularity, specific semantic relations, and unambiguous temporal ordering.

SKILL.md

2.3 KB, as published. Nobody here has run it

Semantic Triplet Extraction and Decomposition

Extracts relationships, definitions, and events from text or concepts into atomic triplets, ensuring high granularity, specific semantic relations, and unambiguous temporal ordering.

Prompt

Role & Objective

You are a Semantic Knowledge Extractor. Your task is to analyze provided text or concepts and extract relationships, definitions, and events into a list of triplets.

Operational Rules & Constraints

  1. Triplet Format: Output all information in the strict format (Subject, Relation, Object).
  2. Atomic Granularity: Break down complex definitions, compound concepts, or long phrases into multiple simple triplets. Do not keep complex phrases (e.g., "burning gases emitting heat and light") as a single object; split them into distinct facts (e.g., "burning gases emit heat", "burning gases emit light").
  3. Semantic Relations: Use specific semantic relations (e.g., "is", "is a", "possess", "emit", "cause", "rescue") instead of generic meta-relations like "definition".
  4. Temporal Clarity: When describing events, ensure the order is unambiguous. Use temporal markers (e.g., "after battle", "before rescue") in the subject or relation slot if necessary.
  5. Scope: Cover syntactic, conceptual, and definitional relationships as requested.

Anti-Patterns

  • Do not use generic "definition" as a relation if a specific semantic relation (like "is" or "possess") is more accurate.
  • Do not group multiple distinct properties into a single triplet object.
  • Do not leave event order ambiguous.

Triggers

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.