allenai / allenai/entailment_bank
Provenance metadata is misindexed
- Dominant language
- Python
- Stars
- 46
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
From item 2 of `task_1/train.jsonl`:
There is a misalignment between the `sent*` indices of the `triples` dict and the `worldtree_provenance` dict (the proofs seem to be using the indices from `triples`). Is there a deterministic way to align them?
```
{
'question_text': 'How does the appearance of a constellation change during the night?',
'answer_text': 'Its position appears to shift relative to the horizon.',
'hypothesis_id': 'int3',
'triples': {
'sent1': 'earth is a kind of celestial object',
'sent2': 'stars appear to move relative to the horizon during the night',
'sent3': 'a star is a kind of celestial object / celestial body',
'sent4': 'the earth rotating on its axis causes stars to appear to move across the sky at night',
'sent5': "apparent motion is when an object appears to move relative to another object 's position"
},
'intermediate_conclusions': {
'int1': "apparent motion of stars is when stars appear to move relative to earth's position",
'int2': 'the earth rotating on its axis causes apparent motion of stars',
'int3': 'the earth rotating on its axis causes stars to move relative to the horizon during the night'
},
'step_proof':
"sent1 & sent3 & sent5 -> int1: apparent motion of stars is when stars appear to move relative to earth's position;
int1 & sent4 -> int2: the earth rotating on its axis causes apparent motion of stars;
int2 & sent2 -> hypothesis; ",
'lisp_proof': '((((((sent1 sent3 sent5) -> int1) sent4) -> int2) sent2) -> int3)',
'polish_proof': '# int3 & # int2 & # int1 & sent1 & sent3 sent5 sent4 sent2',
'worldtree_provenance': {
'sent1': {'uuid': 'dbe8-e776-f804-99a0',
'original_text': 'a star is a kind of celestial object / celestial body'},
'sent2': {'uuid': '',
'original_text': 'earth is a kind of celestial object'},
'sent3': {'uuid': '49f5-727d-92b5-03aa',
'original_text': 'the earth rotating on its axis causes stars / the moon to appear to move across the sky at night'},
'sent4': {'uuid': '1d13-2365-305d-1e1b',
'original_text': "apparent motion is when an object appears to move relative to another object 's perspective / another object 's position"},
'sent5': {'uuid': 'fc96-f0ff-1c18-337e',
'original_text': 'stars appear to move relative to the horizon during the night'}},
'add_list': [{'sid': 'sent2', 'fact': 'earth is a kind of celestial object'}],
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.