Re: [poe] Evaluation of Constraints of a Rule inconsistent

@riannella by which feature of ODRL may an Atomic Constraint of a Rule reference an Atomic Constraint?
Should it look like this reformulated example 15?
```
{
    "@context": "http://www.w3.org/ns/odrl.jsonld",
    "@type": "Offer",
    "uid": "http://example.com/policy:6161",
    "permission": [{
        "target": "http://example.com/wallpaper:1234",
        "assigner": "http://example.com/myPix:6161",
        "action": "distribute",
        "constraint": [{
            "leftOperand": "spatial",
            "operator": "eq",
            "rightOperand": "https://www.iso.org/obp/ui/#iso:code:3166:IT"
        }],
        "duty": [
            {
                "action": "compensate",
                "constraint": [ "http://example.com/policy:6161/C1" ]
            },
            {
                "action": "nextPolicy",
                "target": "http://example.com/policy:7171"
            }
        ]
    }],
    "constraint": [{
        "uid": "http://example.com/policy:6161/C1",
        "leftOperand": "spatial",
        "operator": "eq",
        "rightOperand": "https://www.iso.org/obp/ui/#iso:code:3166:IT"
    }]
}
```
If yes: how to make this work in XML?


-- 
GitHub Notification of comment by nitmws
Please view or discuss this issue at https://github.com/w3c/poe/issues/193#issuecomment-309365826 using your GitHub account

Received on Monday, 19 June 2017 07:55:08 UTC