Skip to content
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

Policy Composition & Vocab #177

Closed
simonstey opened this issue May 12, 2017 · 4 comments
Closed

Policy Composition & Vocab #177

simonstey opened this issue May 12, 2017 · 4 comments

Comments

@simonstey
Copy link
Contributor

According to http://w3c.github.io/poe/model/#composition:

A Policy MAY also contain Assets, Parties, and Actions at the Policy level, and these entities apply to all of the enclosing Rules in the Policy.

example 21:

{
    "@context": "http://www.w3.org/ns/odrl.jsonld",
    "@type": "Policy",
    "uid": "http://example.com/policy:8888",
    "target": "http://example.com/music/1999.mp3",
    "assigner": "http://example.com/org/sony-music",
    "action": "play",
    "permission": [{
        "assignee": "http://example.com/people/billie"
        },
        {
        "assignee": "http://example.com/people/murphy"
        }]
}  

however, e.g. http://w3c.github.io/poe/vocab/#term-target defines only Rule as its domain

=> http://example.com/policy:8888 is both Policy and Rule?

@riannella
Copy link
Contributor

Update the Ontology?

@vroddon
Copy link
Contributor

vroddon commented May 16, 2017

Implemented in Revision: 316555b
Four properties (action, target, assigner, assignee) have changed their domain to:

	rdfs:domain [
		a owl:Class ;
		owl:unionOf ( :Rule :Policy ) ;
	] ;

@vroddon vroddon closed this as completed May 16, 2017
@simonstey
Copy link
Contributor Author

Four properties (action, target, assigner, assignee) have changed their domain to:

what about their super-properties?

@simonstey simonstey reopened this May 16, 2017
@vroddon
Copy link
Contributor

vroddon commented May 16, 2017

Good point. I implemented the same for :funcion and :relation
Revision: 2ee14f6

@vroddon vroddon closed this as completed May 16, 2017
@riannella riannella moved this from Under Current Discussion to Completed (Last Call) in ODRL Deliverables Review May 17, 2017
@riannella riannella removed this from Completed (Last Call) in ODRL Deliverables Review May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants