isAnyOf constraint

Hi everybody,

I hope this is an okay place to ask some 'newbie' ODRL questions over the
coming weeks.

Regarding constraints and isAnyOf. I wanted to check I have interpreted the
use of the rightOperand correctly. Would this be the correct way (in
RDF/XML) to specify a constraint that says:

'Allowed in English, Spanish and German languages'

   <odrl:Constraint rdf:about="
https://data.pearson.com/right/3489a042-980a-4d56-acec-f92e4fdc3d24#this">
      <odrl:language>en</odrl:language>
      <odrl:language>es</odrl:language>
      <odrl:language>de</odrl:language>
      <odrl:operator rdf:resource="http://www.w3.org/ns/odrl/2/isAnyOf"/>
   </odrl:Constraint>

And following on from that what would be the correct way to do this in JSON?

Regards

Paul

Received on Thursday, 19 June 2014 16:28:51 UTC