{"id":13296657,"url":"https://github.com/dice-group/ReCoDa","last_synced_at":"2025-03-10T09:31:55.823Z","repository":{"id":47116281,"uuid":"308139129","full_name":"dice-group/ReCoDa","owner":"dice-group","description":"Relicensing Combined Datasets (ReCoDa)","archived":false,"fork":true,"pushed_at":"2022-10-05T20:41:58.000Z","size":981,"stargazers_count":14,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-10T23:08:48.993Z","etag":null,"topics":["ccrel","creative-commons","dcat","licenses","odrl","opendata","rdf","recoda"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"projekt-opal/licenses","license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dice-group.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-28T20:56:53.000Z","updated_at":"2021-01-29T10:07:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dice-group/ReCoDa","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2FReCoDa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2FReCoDa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2FReCoDa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2FReCoDa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dice-group","download_url":"https://codeload.github.com/dice-group/ReCoDa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242823638,"owners_count":20191046,"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":["ccrel","creative-commons","dcat","licenses","odrl","opendata","rdf","recoda"],"created_at":"2024-07-29T17:20:54.047Z","updated_at":"2025-03-10T09:31:55.530Z","avatar_url":"https://github.com/dice-group.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relicensing Combined Datasets (ReCoDa)\n\n- The **article** _Relicensing Combined Datasets_ was presented at the [15th IEEE International Conference on Semantic Computing (ICSC 2021)](https://www.ieee-icsc.org/) resource track.\nA draft version is available as [PDF file](https://papers.dice-research.org/2021/ICSC2021_ReCoDa/Relicensing-Combined-Datasets-ReCoDa-public.pdf).\nLook up the article at [Google Scholar](https://scholar.google.com/scholar?q=Relicensing+Combined+Datasets).\n- The **presentation slides** can be downloaded as [PDF file](https://papers.dice-research.org/2021/ICSC2021_ReCoDa/Relicensing-Combined-Datasets-ReCoDa-slides-public.pdf).\n- The **demo** can be accessed at [dice-research.org/ReCoDa](https://dice-research.org/ReCoDa).\n- The **code of the demo** is available at [branch demo](https://github.com/dice-group/ReCoDa/tree/demo).\n\n\n## Repository\n\nThis repository contains code to generate a list of compatible licenses based on multiple input licenses to be checked.\nThe following main steps are executed:\n\n- Creation of a [KnowledgeBase](src/main/java/org/dice_research/opal/licenses/KnowledgeBase.java) which contains the licenses and attributes.\n- License [Attribute](src/main/java/org/dice_research/opal/licenses/Attribute.java) values are mapped according to their type.\n- The [Operator](src/main/java/org/dice_research/opal/licenses/Operator.java) computes composite attributes of all input licenses.\n- Finally, the [BackMapping](src/main/java/org/dice_research/opal/licenses/BackMapping.java) creates a list of compatible licenses.\n\nKnowledge Bases (Knowledge Graphs):\n\n- Knowledge Bases are available in the resource directory [knowledge-bases](src/main/resources/knowledge-bases) as turtle/ccREL files.\n- Knowledge Base files can be imported using the [KnowledgeBases](src/main/java/org/dice_research/opal/licenses/KnowledgeBases.java) class.\n- To add additional Knowledge Bases, the [AttributeFactory](./src/main/java/org/dice_research/opal/licenses/AttributeFactory.java) can be utilized and afterwards the [Execution](src/main/java/org/dice_research/opal/licenses/Execution.java) methods help to run an experiment.\n\n## Download\n\nDownloads are available at the [releases](../../releases/) page.\n\n## Evaluation and experiments\n\nFor the evaluation of the approach, experiments based on two license datasets are provided:\nCreative Commons and the European Data Portal (EDP) License Compatibility Matrix.\n\n\n### Creative Commons experiments\n\nTo run the evaluations based on Creative Commons, you first have to download the underlying dataset.\nTherefore, download or clone the\n[cc.licenserdf](https://github.com/creativecommons/cc.licenserdf)\nrepository.\nFor the ReCoDa article, a [cc.licenserdf copy](https://github.com/projekt-opal/cc.licenserdf) was used.\nAfterwards, the directory of the repository can be set by the system property ``cc.licenserdf``.\nExample commands to run the experiments are listed below.\n\n\n**Creative Commons License Compatibility Chart**\n\n```\njava -Dcc.licenserdf=cc.licenserdf-master/cc/licenserdf/licenses/ -jar ReCoDa.jar cc1\n```\n\nThis will run the [CcExperiment](src/main/java/org/dice_research/opal/licenses/cc/CcExperiment.java).\n\n\n**Creative Commons cc.licenserdf with two input licenses**\n\n```\njava -Dcc.licenserdf=cc.licenserdf-master/cc/licenserdf/licenses/ -jar ReCoDa.jar cc2\n```\n\nThis will run the [CcExperimentTuples](src/main/java/org/dice_research/opal/licenses/cc/CcExperimentTuples.java).\n\n\n**Creative Commons cc.licenserdf with three input licenses**\n\n```\njava -Dcc.licenserdf=cc.licenserdf-master/cc/licenserdf/licenses/ -jar ReCoDa.jar cc3\n```\n\nThis will run the [CcExperimentTriples](src/main/java/org/dice_research/opal/licenses/cc/CcExperimentTriples.java).\n\n\n### European Data Portal experiments\n\nTo run the evaluation of the European Data Portal (EDP) License Compatibility Matrix, run the following maven command:\n\n```\nmvn clean test -Dtest=EdpLcmEvaluationTest -Drun.edp.lcm.tests=true\n```\n\nThis will run the additional [EdpLcmEvaluationTest](src/test/java/org/dice_research/opal/licenses/EdpLcmEvaluationTest.java).\n\n\n## Credits\n\n[Data Science Group (DICE)](https://dice-research.org/) at [Paderborn University](https://www.uni-paderborn.de/)\n\nThis work has been supported by the German Federal Ministry of Transport and Digital Infrastructure (BMVI) within the\nproject [OPAL](https://dice-research.org/OPAL) under the grant no. 19F2028A and by the EU\nH2020 Marie Skłodowska-Curie project [KnowGraphs](https://knowgraphs.eu/) under\nthe grant agreement no 860801.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdice-group%2FReCoDa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdice-group%2FReCoDa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdice-group%2FReCoDa/lists"}