-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action's refinement (also operands and operators) #73
Comments
More than one refinement is done by logical constraints and their operators (and, or, xone, andSequence).
251 /252 / 699 are constraints:
|
Yes, but I think the refinements stand for a certain additional information that, in this case, an action demands. It's a bit odd, at least to me, that such information is a constraint (also, only a binary constraint). I think bearing in mind these considerations for the future may help. In any case, personally, I would follow a similar approach as geosparql. Although this may entail aligning more than a bit with SPARQL. |
I don't quite follow the "certain additional information that, in this case, an action demands". I can gather from some of your comments that you are also foreseeing "cascading chains" for other actions/parties downstream, but I would first figure if we can model them as chains of rules - maybe what's missing is a "different" specialisation of There is a requirement for a digital twin <-> ODRL ecosystem, and they want to use GeoSPARQL to represent the different locations where the real asset has been sourced from. Quite a cool idea ... but when I read the spec (coordinates/grids/spatial references) - it would take forever to build the UI to start. |
During the evaluation the evaluator (software) must know the resolution that is written in the policy since it is need by the action implementation; without such value is unlike that the action print can be performed. Therefore, the resolution is additional information related to the print action, and in particular, in this use case. Note that the term
Therefore, in order to perform this action during the evaluation, in this particular use case, the resolution is needed. My comment is that it's a bit odd that such information is codified as an odrl constraint since it is not a constraint per se but rather a parameter required by the action to be performed. I think it would be a good thing to have a bespoke approach to represent this kind of information. I do not follow you comment on the cascading chains, can you expand it? Regarding geosparql, I do not refer to they way aswkt points are expressed, but rather the functions defined to work with sf:Points and sg:Geometries. But again, this is a big step since it will impose heavy implementation restrictions. However, it may also bring benefits, as defining |
In many scenarios, the Actions (and operands and operators) need extra information to work properly. In the formal semantics document there is a good example of this need.
This policy describes that the action print, which needs to know an output resolution of 1200
However, from the implementation point of view, the refinements defined hold no order (something that could be paramount for the enforcement from the coding point of view).
Something similar happens with operands and operators. What if an operator needs to be feeded with 3 arguments instead than just left and right? For the operands, for instance, dateTime, how can someone specify the time zone ?
These are considerations that could be interesting to bear for the future. IMHO a good approach to encode these elements could be following a similar approach as geosparql for their functions.
The text was updated successfully, but these errors were encountered: