Skip to content

Latest commit

 

History

History
79 lines (75 loc) · 3.39 KB

testcase-020-bob-sell.md

File metadata and controls

79 lines (75 loc) · 3.39 KB

Any request from Bob to use returns into no (Bob Request Sell).

Source: https://github.com/SolidLabResearch/ODRL-Test-Suite/

Bob explicitely use nothing.

ODRL Policy

@prefix odrl: <http://www.w3.org/ns/odrl/2/>.
@prefix ex: <http://example.org/>.
@prefix temp: <http://example.com/request/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix report: <http://example.com/report/temp/>.

<urn:uuid:e4b538e6-2613-4de4-8930-48fee524aa40> a odrl:Set;
    odrl:uid <urn:uuid:e4b538e6-2613-4de4-8930-48fee524aa40>;
    dct:description "Bob explicitely use nothing.";
    dct:source <https://github.com/SolidLabResearch/ODRL-Test-Suite/>;
    odrl:prohibition <urn:uuid:9477c997-adc1-4d64-a12c-fa9e0f6b80f0>.
<urn:uuid:9477c997-adc1-4d64-a12c-fa9e0f6b80f0> a odrl:Prohibition;
    odrl:assignee ex:bob;
    odrl:action odrl:use.

ODRL Request

@prefix odrl: <http://www.w3.org/ns/odrl/2/>.
@prefix ex: <http://example.org/>.
@prefix temp: <http://example.com/request/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix report: <http://example.com/report/temp/>.

<urn:uuid:b7306adc-3f51-4ed4-b9fb-1864c2f1bdc9> a odrl:Request;
    odrl:uid <urn:uuid:b7306adc-3f51-4ed4-b9fb-1864c2f1bdc9>;
    dct:description "Requesting Party BOB requests to SELL resource X.";
    odrl:permission <urn:uuid:057e7c34-57e7-473c-972c-d80a2a7b32b1>.
<urn:uuid:057e7c34-57e7-473c-972c-d80a2a7b32b1> a odrl:Permission;
    odrl:assignee ex:bob;
    odrl:action odrl:sell;
    odrl:target ex:x.

State of the world

@prefix odrl: <http://www.w3.org/ns/odrl/2/>.
@prefix ex: <http://example.org/>.
@prefix temp: <http://example.com/request/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix report: <http://example.com/report/temp/>.

temp:currentTime dct:issued "2024-02-12T11:20:10.999Z"^^xsd:dateTime.

Evaluation result: Compliance Report

@prefix odrl: <http://www.w3.org/ns/odrl/2/>.
@prefix ex: <http://example.org/>.
@prefix temp: <http://example.com/request/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix report: <http://example.com/report/temp/>.

<urn:uuid:1e4beeee-a180-4e16-8a00-0cd70150292e> a report:PolicyReport;
    dct:created "2017-02-12T11:20:10.999Z"^^xsd:dateTime;
    report:policy <urn:uuid:e4b538e6-2613-4de4-8930-48fee524aa40>;
    report:policyRequest <urn:uuid:b7306adc-3f51-4ed4-b9fb-1864c2f1bdc9>;
    report:ruleReport <urn:uuid:874a30f9-ba8e-4d3d-bf9e-df1c1c151837>.
<urn:uuid:874a30f9-ba8e-4d3d-bf9e-df1c1c151837> a report:ProhibitionReport;
    report:attemptState report:Attempted;
    report:rule <urn:uuid:9477c997-adc1-4d64-a12c-fa9e0f6b80f0>;
    report:ruleRequest <urn:uuid:057e7c34-57e7-473c-972c-d80a2a7b32b1>;
    report:premiseReport <urn:uuid:7157a374-e1d8-4de5-a434-96f1e2600bc6>, <urn:uuid:c244fb96-d80f-4b90-bbfc-7b9caec6062c>;
    report:activationState report:Inactive.
<urn:uuid:7157a374-e1d8-4de5-a434-96f1e2600bc6> a report:PartyReport;
    report:satisfactionState report:Satisfied.
<urn:uuid:c244fb96-d80f-4b90-bbfc-7b9caec6062c> a report:ActionReport;
    report:satisfactionState report:Unsatisfied.