{"id":26190103,"url":"https://github.com/zazuko/xrm-r2rml-workflow","last_synced_at":"2025-03-12T00:52:33.035Z","repository":{"id":74818034,"uuid":"276113060","full_name":"zazuko/xrm-r2rml-workflow","owner":"zazuko","description":"All you need to convert relational databases (RDB) to RDF in a declarative \u0026 fully automated way.","archived":false,"fork":false,"pushed_at":"2024-08-27T14:33:06.000Z","size":953,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-27T15:47:44.895Z","etag":null,"topics":["ontop","r2rml","rdb","rdf","sql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zazuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-06-30T13:52:24.000Z","updated_at":"2024-08-27T14:33:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfa0de47-0511-4135-8a76-75f6251a7e33","html_url":"https://github.com/zazuko/xrm-r2rml-workflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Fxrm-r2rml-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Fxrm-r2rml-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Fxrm-r2rml-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Fxrm-r2rml-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zazuko","download_url":"https://codeload.github.com/zazuko/xrm-r2rml-workflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136209,"owners_count":20241989,"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","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":["ontop","r2rml","rdb","rdf","sql"],"created_at":"2025-03-12T00:52:32.580Z","updated_at":"2025-03-12T00:52:33.026Z","avatar_url":"https://github.com/zazuko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template for Mapping from MySQL to RDF Triples using XRM\n\nUse this repo as template to set up a project-specific mapping project.\n\nThis repository is structured as a full example showing how Zazuko [Expressive RDF Mapper (XRM)](https://github.com/zazuko/expressive-rdf-mapper)\ncan be used together with [Ontop](https://github.com/ontop/ontop) to generate triples out of a MySQL database. See our [product page](https://zazuko.com/products/expressive-rdf-mapper/) and the [documentation](https://github.com/zazuko/expressive-rdf-mapper/blob/main/README.md) for editing instructions.\n\n\nFor this example, we will use a basic [example database](https://www.w3.org/TR/r2rml/#example-input-database) from the R2RML W3C Recommendation.\n\nUsing the *Expressive RDF Mapper* Eclipse plugin or the VS Code extension, the project will automatically write the mapping to [`./src-gen`](./src-gen).\n\n## Prerequisites\n\n* [Docker](https://www.docker.com/get-started)\n* [docker compose](https://docs.docker.com/compose/install/)\n* GNU Make\n\n## Repository Structure\n\n* [`Makefile`](./Makefile)\n\n    `$ make` runs all targets:\n\n    * `$ make sql` to start the MySQL database with the `example-database.sql` data.\n    * `$ make convert` to 'apply' the r2rml mapping generated by XRM to the MySQL database, resulting in `ontop-scripts/triples.nt` N-Triples file.\n\n* [`database/`](./database/)\n\n    MySQL database related files and config.\n\n* [`mapping/`](./mapping/)\n\n    [R2RML](https://www.w3.org/TR/r2rml/#abstract) mappings used to convert the MySQL database content into triples. The R2RML mappings are generated using the [expressive-rdf-mapper](https://github.com/zazuko/expressive-rdf-mapper).\n\n* [`ontop-scripts/`](./ontop-scripts/)\n\n    Scripts used to create triples from the MySQL database, using the R2RML mappings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Fxrm-r2rml-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzazuko%2Fxrm-r2rml-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Fxrm-r2rml-workflow/lists"}