{"id":34701891,"url":"https://github.com/hubmapconsortium/validation-template","last_synced_at":"2026-05-22T20:32:27.883Z","repository":{"id":215682306,"uuid":"739479352","full_name":"hubmapconsortium/validation-template","owner":"hubmapconsortium","description":"Template repository for validating relationships and graph view generation","archived":false,"fork":false,"pushed_at":"2024-04-19T16:18:52.000Z","size":40,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-19T17:36:45.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hubmapconsortium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-05T17:02:58.000Z","updated_at":"2024-02-16T14:11:40.000Z","dependencies_parsed_at":"2024-01-16T23:00:21.038Z","dependency_job_id":"0f5f94ad-8af3-4871-874f-1b622963a454","html_url":"https://github.com/hubmapconsortium/validation-template","commit_stats":null,"previous_names":["hubmapconsortium/validation-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/hubmapconsortium/validation-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fvalidation-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fvalidation-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fvalidation-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fvalidation-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubmapconsortium","download_url":"https://codeload.github.com/hubmapconsortium/validation-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fvalidation-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33366520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-24T22:53:12.048Z","updated_at":"2026-05-22T20:32:27.878Z","avatar_url":"https://github.com/hubmapconsortium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validation Template\nTemplate repository for validating relationships and graph view generation\n\n1. Update `validation-config.yml` to add relationships and information about your tables.\n\n```yaml\nrelationships:\n  sub_class_of: rdfs:subClassOf\n  part_of: BFO:0000050\n  connected_to: RO:0001025\n\ndata:\n  - name: Kidney\n    version: v1.4\n    sheet_id: 19B_iDwpVTzLl6JLUl7g943p8b14YxYRwOshm-PLbIwk\n    gid: 949267305\n  - name: Eye\n    version: v1.4_DRAFT\n    sheet_id: 1tNNPZXL0ycw5gNksDUKHZJpRkKgRdVAUh9AZ6ohpgOA\n    gid: 695483621\n  - name: 3D-Reference-Organ\n    version: v1.1\n    filename: tests/ref-organ-relations.tsv\n```\n\n- The output files will be in the folder `output`. Each subfolder will have the outputs for each data defined in the `validation-config.yml`. For example, `output/Kidney`, `output/Eye`, etc.\n- The `png` file is the graph view of the table showing the valid and that are not matched relationships.\n- The `tsv` file contains the pairs that are not valid according to the source ontologies.\n- The output files names will be generated using `{data.name}-{data.version}.{png,tsv}`.\n\nThere are two possible ways to pass information about your tables.\n- For ASCT+B tables, you need to pass the `sheet_id` and the `gid`\n- For general tables, you need to pass the `filename` which is the path to a TSV table with the following columns:\n\n| s                   | slabel                                | user_slabel                               | o                  | olabel                                | user_olabel                               |\n|---------------------|---------------------------------------|-------------------------------------------|--------------------|---------------------------------------|-------------------------------------------|\n| the subject term ID | the label of the term in the column s | optional label for the term given by user | the object term ID | the label of the term in the column s | optional label for the term given by user |\n\n2. Use Docker as a toolbox to generate the outputs.\n\n- Run the command: `sh run.sh make reports`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmapconsortium%2Fvalidation-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubmapconsortium%2Fvalidation-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmapconsortium%2Fvalidation-template/lists"}