| { | |
| "@context": { | |
| "@language": "en", | |
| "@vocab": "https://schema.org/", | |
| "citeAs": "cr:citeAs", | |
| "column": "cr:column", | |
| "conformsTo": "dct:conformsTo", | |
| "cr": "http://mlcommons.org/croissant/", | |
| "rai": "http://mlcommons.org/croissant/RAI/", | |
| "data": { | |
| "@id": "cr:data", | |
| "@type": "@json" | |
| }, | |
| "dataType": { | |
| "@id": "cr:dataType", | |
| "@type": "@vocab" | |
| }, | |
| "dct": "http://purl.org/dc/terms/", | |
| "examples": { | |
| "@id": "cr:examples", | |
| "@type": "@json" | |
| }, | |
| "extract": "cr:extract", | |
| "field": "cr:field", | |
| "fileProperty": "cr:fileProperty", | |
| "fileObject": "cr:fileObject", | |
| "fileSet": "cr:fileSet", | |
| "format": "cr:format", | |
| "includes": "cr:includes", | |
| "isLiveDataset": "cr:isLiveDataset", | |
| "jsonPath": "cr:jsonPath", | |
| "key": "cr:key", | |
| "md5": "cr:md5", | |
| "parentField": "cr:parentField", | |
| "path": "cr:path", | |
| "recordSet": "cr:recordSet", | |
| "references": "cr:references", | |
| "regex": "cr:regex", | |
| "repeated": "cr:repeated", | |
| "replace": "cr:replace", | |
| "sc": "https://schema.org/", | |
| "separator": "cr:separator", | |
| "source": "cr:source", | |
| "subField": "cr:subField", | |
| "transform": "cr:transform" | |
| }, | |
| "@type": "sc:Dataset", | |
| "name": "ProofWalaDataset", | |
| "description": "A dataset of formal theorem-proving steps extracted from Lean, Coq, GeoCoq, MathComp, and more.", | |
| "conformsTo": "http://mlcommons.org/croissant/1.0", | |
| "license": "https://opensource.org/licenses/MIT", | |
| "url": "https://huggingface.co/datasets/amitayusht/ProofWalaDataset", | |
| "version": "1.0.0", | |
| "distribution": [ | |
| { | |
| "@type": "cr:FileObject", | |
| "@id": "huggingface-repo", | |
| "name": "huggingface-repo", | |
| "description": "ProofWalaDataset GitHub repo", | |
| "contentUrl": "https://huggingface.co/datasets/amitayusht/ProofWalaDataset", | |
| "encodingFormat": "git+https", | |
| "sha256": "main" | |
| }, | |
| { | |
| "@type": "cr:FileSet", | |
| "@id": "all-json", | |
| "name": "all-json", | |
| "description": "All .json files across datasets and splits.", | |
| "containedIn": { | |
| "@id": "huggingface-repo" | |
| }, | |
| "encodingFormat": "application/json", | |
| "includes": "**/*.json" | |
| } | |
| ], | |
| "recordSet": [ | |
| { | |
| "@type": "cr:RecordSet", | |
| "@id": "proof-records", | |
| "name": "proof-records", | |
| "description": "All proof records across dataset families and splits.", | |
| "field": [ | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/proof_id", | |
| "name": "proof_id", | |
| "description": "Proof ID", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].proof_id" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/goal_description", | |
| "name": "goal_description", | |
| "description": "Goal description", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].goal_description" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/proof_steps", | |
| "name": "proof_steps", | |
| "description": "Tactic steps", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].proof_steps" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/theorem_name", | |
| "name": "theorem_name", | |
| "description": "Theorem name", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].theorem_name" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/project_id", | |
| "name": "project_id", | |
| "description": "Project ID", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].project_id" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/file_path", | |
| "name": "file_path", | |
| "description": "File path", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "jsonPath": "training_data[*].file_path" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/source_dataset", | |
| "name": "source_dataset", | |
| "description": "Dataset family (e.g. lean, coq).", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "fileProperty": "filepath" | |
| }, | |
| "transform": { | |
| "regex": "^([^/]+)/.*" | |
| } | |
| } | |
| }, | |
| { | |
| "@type": "cr:Field", | |
| "@id": "record/split", | |
| "name": "split", | |
| "description": "Split name (train/test/eval).", | |
| "dataType": "sc:Text", | |
| "source": { | |
| "fileSet": { | |
| "@id": "all-json" | |
| }, | |
| "extract": { | |
| "fileProperty": "filepath" | |
| }, | |
| "transform": { | |
| "regex": "^[^/]+/([^/]+)/.*" | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| ] | |
| } |