w3c / odrl

ODRL Community Group Repository
https://www.w3.org/community/odrl/
Other
18 stars 10 forks source link

odrl:action #54

Closed joshcornejo closed 1 month ago

joshcornejo commented 5 months ago

the scope of the rule is the same for several actions (maybe related to location / time / etc), as such it would be useful to have the ability to put several actions as acceptable members.

ex:RuleEx             a odrl:Permission;
            odrl:action odrl:use, odrl:reproduce.
joshcornejo commented 1 month ago

I have an issue in RDF when I create a refinement (back to the "invisible nodes" in json):

md:URI_225b96258645_22491A terms:created "2024-10-05T06:41:47.0000000Z"^^xsd:dateTime;
                           terms:creator "some user"^^xsd:anyURI;
                           terms:description "duty for access"@en;
                           terms:valid md:URI_225b96258645_22491I;
                           a odrl:Duty;
             ----->        odrl:action md:URI_225b96258645_22493A;    // <----- **this node**
                           odrl:assigner md:URI_225b96258645_15372A;
                           odrl:target md:URI_225b96258645_3275A.
md:URI_225b96258645_22491I a time:ProperInterval;
                           time:after "2024-10-05T06:41:47.0000000Z"^^xsd:dateTime;
                           time:before "2025-12-31T06:41:47.0000000Z"^^xsd:dateTime.
md:URI_225b96258645_22493A a odrl:Action;                             // <---- is this the right class? 
                           rdf:value odrl:compensate;                       
                           odrl:refinement md:URI_225b96258645_22494A.

... and it definitely doesn't work with Parties nor Assets (this is a refinement and NOT either a party nor an asset)

riannella commented 1 month ago

@joshcornejo For your Jun 4 comment, ODRL already supports that. See example 26 of the Model.

joshcornejo commented 1 month ago

can be closed