(recommended to use pyenv
)
- Python3
- dash (python-lib)
- rdflib (python-lib)
- datetime (python-lib)
Live demo available at https://duodrl-demo-app.onrender.com/
A response delay of up to 30 seconds might happen for the first request that comes in after a period of inactivity.
- From the base folder of this repo, execute
python dash/main.py
or go to the available live demo. - Select one DUO data use permission concepts to annotate a dataset with a purpose for accessing.
- Select zero/one/more DUO data use modifiers to restrict access to the dataset -- these will be added to the
odrl:Offer
. - Upon clicking the
Generate Offer
button, the generated policy will be displayed in the UI. - Next, an
odrl:Request
can be defined in the UI and matched against the specified offerodrl:Offer
. - Upon clicking the
Generate Request & Match
button, the generatedodrl:Request
will be displayed and the result of the matching will be returned, stating if access to the resource is authorized or not according to its correspondingodrl:Offer
and any duties that the requester must fulfill in case the access is authorized.
- Select 'General Research Use' as the data use permission and create the Offer. Select 'Biomedical Research' as the purpose of the request and create the Request. Check the result of the matching and the Agreement.
- Select 'No restriction' as the data use permission, 'research specific restrictions' as the data use modifier with 'Gender category research' as purpose on the 'Female' gender, and create the Offer. Select 'Gender category research' as the purpose of the request and create the Request. Check the result of the matching and the Agreement for research on 'Female' and 'Male'groups.
- Select 'Health or Medical or Biomedical research' as the data use permission, 'publication required' as the data use modifier, and create the Offer. Select 'Research control' as the purpose of the request and create the Request. Check the result of the matching and the Agreement.
- Select 'General Research Use' as the data use permission, the DPV-based data use modifier, and create the Offer. Select 'Biomedical Research' as the purpose of the request and create the Request. Check the result of the matching and the Agreement.