{"id":19397094,"url":"https://github.com/dalito/dcat-in-linkml","last_synced_at":"2025-10-10T21:42:32.579Z","repository":{"id":253384899,"uuid":"843154910","full_name":"dalito/dcat-in-linkml","owner":"dalito","description":"An experiment to derive LinkML models for DCAT2 and DCAT3 automatically","archived":false,"fork":false,"pushed_at":"2024-08-19T23:01:54.000Z","size":344,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T22:11:18.867Z","etag":null,"topics":["dcat","dcat-ap","linkml"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dalito.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,"publiccode":null,"codemeta":null}},"created_at":"2024-08-15T22:41:13.000Z","updated_at":"2024-08-19T23:01:57.000Z","dependencies_parsed_at":"2024-08-16T11:31:20.218Z","dependency_job_id":"767237ea-4962-4be4-b6cc-7e4a8965cc53","html_url":"https://github.com/dalito/dcat-in-linkml","commit_stats":null,"previous_names":["dalito/dcat-in-linkml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dalito/dcat-in-linkml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalito%2Fdcat-in-linkml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalito%2Fdcat-in-linkml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalito%2Fdcat-in-linkml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalito%2Fdcat-in-linkml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalito","download_url":"https://codeload.github.com/dalito/dcat-in-linkml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalito%2Fdcat-in-linkml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005420,"owners_count":26083883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["dcat","dcat-ap","linkml"],"created_at":"2024-11-10T10:39:26.025Z","updated_at":"2025-10-10T21:42:32.562Z","avatar_url":"https://github.com/dalito.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DCAT in (to) LinkML\n\nAn experiment to create a linkML model that matches dcat 2.2 and dcat 3 from dcat specification in rdf.\n\nDCAT as Owl ontology in RDF:\n\n- DCAT, Version 2:\n  - Specification, v2.2:  https://www.w3.org/ns/dcat#\n  - Turtle file url: https://www.w3.org/ns/dcat2.ttl\n- DCAT, Version 3: https://www.w3.org/standards/history/vocab-dcat-3/ (RDF serializations are in [DXWG GitHub repository](https://github.com/w3c/dxwg/tree/gh-pages/dcat/rdf))\n  - Latest version: https://www.w3.org/TR/vocab-dcat-3/\n  - Turtle file url: https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/rdf/dcat3.ttl (Proposed recommendation 2024-06-13, but file is last changed 2023-02-02)\n\nHere we try a conversion with [schema-automator](https://github.com/linkml/schema-automator) from the linkML team.\n\nFirst, create a virtual environment and install schema-automator.\n\n```cmd\npy -3.12 -m venv .venv\n.venv/scripts/activate\npip install schema-automator notebook\n```\n\nThe exact versions of all packages used are documented in `requirements_frozen.txt` (created by `pip freeze \u003e requirements_frozen.txt`).\n\nWith schema-automator it is possible to import from a schema-style OWL ontology. This must be in functional syntax which can be created with [robot](https://robot.obolibrary.org/) ahead of time:\n\n```cmd\nrobot convert -i dcat-source-rdf/dcat2.ttl -o dcat-source-rdf/dcat2.ofn\n\nschemauto import-owl dcat-source-rdf/dcat2.ofn -o linkML/dcat2.yaml\n```\n\nSee [linkml/README.txt](linkml/README.txt) for details of the conversion process. The obtained LinkML models (in yaml) are in [linkml/](linkml/).\n\n**This is only a first experiment without any validation or polishing.**\n\nIt demonstrates the outcome of using standard commands/tools without tweaking options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalito%2Fdcat-in-linkml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalito%2Fdcat-in-linkml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalito%2Fdcat-in-linkml/lists"}