RE: [SPF] Re: Unit-Of-Count

Hi Renato,

That’s exactly it.

I have a sense, but I haven’t chased it down the rabbit hole, that the semantics are the same in both instances: pay or inform per the thing that needs counting.

Would be useful if they were the same! Over to you …

Ben

From: Renato Iannella [mailto:renato.iannella@monegraph.com]
Sent: 29 November 2016 11:43
To: Whittam Smith, Benedict (TR Technology & Ops)
Cc: public-poe-wg@w3.org
Subject: [SPF] Re: Unit-Of-Count

Thanks Ben, just trying to extract the real semantics of “unit-of-count”…

From your example, we can see its used to “multiple the amount to pay” (pay per X) as in:

  :constraint4-1 a odrl:Constraint ;
    odrl:payAmount "65.28"^^xsd:decimal ;
    odrl:unit <http://cvx.iptc.org/iso4217a:EUR<https://urldefense.proofpoint.com/v2/url?u=http-3A__cvx.iptc.org_iso4217a-3AEUR&d=CwMFaQ&c=4ZIZThykDLcoWk-GVjSLm9hvvvzvGv0FLoWSRuCSs5Q&r=GQ6xvz2BG1vCgiGGeLHdL1qJLbLUqYG6W19eFBlznzDGH3wjzyriGVJemENTKsgx&m=wCvG_UwvBRqfYtxXuvrRsKgBXJ0ukAL7X4H45gfPM8Y&s=zZ8sf439pQ0VFkBMFe_E_Gfhe1DIoBOUGXDBc_VXm0Q&e=>> ;
    tr:unitOfCount tr:AccessID ;

And then (latter in the example, and ignoring the extended relations stuff for now) it is used to indicate what data to report back on the odrl:inform Duty

On the 15th of every month you must report usage by providing a list of either Access IDs or Physical IDs:
  :duty5 a odrl:Duty ;
    odrl:action odrl:inform ;
    odrl:timeInterval "15"^^xsd:gDay
    odrl:operation odrl:xor
    odrl:constraint :constraint5-1, :constraint5-2 .
  :constraint5-1 a odrl:Constraint ;
    tr:unitOfCount tr:AccessIDList .
  :constraint5-2 a odrl:Constraint ;
    tr:unitOfCount tr:PhysicalIDList .

Have I got that right?

Renato Iannella, Monegraph
Co-Chair, W3C Permissions & Obligations Expression (POE) Working Group

Received on Tuesday, 29 November 2016 12:12:41 UTC