File size: 4,712 Bytes
a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 88dffb2 a404c47 | 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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | {
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"cr": "http://mlcommons.org/croissant/",
"sc": "https://schema.org/",
"conformsTo": "cr:conformsTo",
"dataType": { "@id": "cr:dataType", "@type": "@vocab" },
"extract": "cr:extract",
"fileObject": "cr:fileObject",
"field": "cr:field",
"jsonPath": "cr:jsonPath",
"recordSet": "cr:recordSet",
"source": "cr:source"
},
"@type": "sc:Dataset",
"name": "InverseRelationsBenchmark",
"description": "Benchmark based on FewRel with original entity mentions and synthetic substitutions for robustness testing.",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "#original_fewrel",
"name": "original_fewrel_inverse.json",
"contentUrl": "original_fewrel_inverse.json",
"encodingFormat": "application/json"
},
{
"@type": "cr:FileObject",
"@id": "#synthetic_fewrel",
"name": "synthetic_fewrel_inverse.json",
"contentUrl": "synthetic_fewrel_inverse.json",
"encodingFormat": "application/json"
},
{
"@type": "cr:FileObject",
"@id": "#fewrel_meta",
"name": "fewrel_inverse_relation_descriptions",
"contentUrl": "fewrel_inverse_relations.json",
"encodingFormat": "application/json"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"name": "fewrel_records",
"description": "Records from the FewRel dataset distribution.",
"field": [
{
"@type": "cr:Field",
"name": "head_to_tail",
"description": "The relation ID from head to tail.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#original_fewrel" },
"extract": { "jsonPath": "$[*].head_to_tail" }
}
},
{
"@type": "cr:Field",
"name": "tail_to_head",
"description": "The inverse relation ID.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#original_fewrel" },
"extract": { "jsonPath": "$[*].tail_to_head" }
}
},
{
"@type": "cr:Field",
"name": "tokens",
"description": "Tokenized sentence representation.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#original_fewrel" },
"extract": { "jsonPath": "$[*].tokens" }
}
},
{
"@type": "cr:Field",
"name": "head",
"description": "Array containing [label, Wikidata ID, token indices] for the head entity.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#original_fewrel" },
"extract": { "jsonPath": "$[*].head" }
}
},
{
"@type": "cr:Field",
"name": "tail",
"description": "Array containing [label, Wikidata ID, token indices] for the tail entity.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#original_fewrel" },
"extract": { "jsonPath": "$[*].tail" }
}
},
{
"@type": "cr:Field",
"name": "artificial_data",
"description": "Mapping of original to synthetic entity names.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#synthetic_fewrel" },
"extract": { "jsonPath": "$[*].artificial_data" }
}
}
]
},
{
"@type": "cr:RecordSet",
"name": "relation_metadata",
"description": "Metadata for FewRel property IDs.",
"field": [
{
"@type": "cr:Field",
"name": "pid",
"description": "The Wikidata property ID for the FewRel relation.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#fewrel_meta" },
"extract": { "jsonPath": "$[*].pid" }
}
},
{
"@type": "cr:Field",
"name": "name",
"description": "The name of the relation.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#fewrel_meta" },
"extract": { "jsonPath": "$[*].name" }
}
},
{
"@type": "cr:Field",
"name": "definition",
"description": "Semantic definition of the relation.",
"dataType": "sc:Text",
"source": {
"fileObject": { "@id": "#fewrel_meta" },
"extract": { "jsonPath": "$[*].definition" }
}
}
]
}
]
} |