File size: 1,982 Bytes
b9d4194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
license: apache-2.0
---
# Semantic Integrity Analysis Dataset

## Overview

This dataset is designed for detecting semantic integrity violations between sentence pairs.

Each data instance contains two sentences and a label indicating the semantic relationship between them.

The dataset supports multi-class text pair classification.

---

## Task Description

Given two sentences (sentence1 and sentence2), the model must classify the relationship as:

- 0 → Contradiction
- 1 → Inconsistency
- 2 → Duplication

This task is similar to Natural Language Inference (NLI), but focuses on semantic validation within structured documents.

---

## Dataset Structure

Each row contains:

- sentence1 (string)
- sentence2 (string)
- label (integer)

Example:

sentence1: "The report was submitted in 2022."
sentence2: "The report was submitted in 2023."
label: 1

---

## Label Description

| Label | Category        | Meaning |
|-------|-----------------|---------|
| 0     | Contradiction   | Opposite meaning between sentences |
| 1     | Inconsistency   | Conflicting details or mismatched facts |
| 2     | Duplication     | Same or nearly same meaning |

---

## Data Source

The dataset was created from four structured documents (doc1, doc2, doc3, doc4).

Sentence pairs were extracted and manually annotated.

---

## Annotation Process

Annotation was performed manually based on semantic relationship guidelines.

Each sentence pair was reviewed and labeled into one of three categories.

---

## Intended Use

This dataset can be used for:

- Fine-tuning transformer models
- Semantic validation systems
- Document integrity checking
- NLP research on sentence-pair classification

---

## Limitations

- Limited dataset size
- Domain-specific content may reduce generalization
- Manual annotation may introduce bias

---

## Ethical Considerations

The dataset does not contain sensitive personal information.

It is intended for research and educational use only.