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

describing roles from the codelist #6

Open
seralf opened this issue Dec 4, 2019 · 0 comments
Open

describing roles from the codelist #6

seralf opened this issue Dec 4, 2019 · 0 comments

Comments

@seralf
Copy link

seralf commented Dec 4, 2019

Hi playing with some examples, I was trying to describe procuring entities with their roles.

If I'm not wrong using the model, for example we could write something like:

<contracting-process-01> a ocds:ContractingProcess .

<tender-01> a ocds:Tender .

<agent-01> a schema:Agent ;
    ocds:playsRoleIn <contracting-process-01> ;
    ocds:isProcuringEntityFor <tender-01> ;
.

However this way it seems difficult to obtain a list of possible roles, or filter by role in a standardized way (we need to focus on specific objectProperty).

What about introducing something inspired by the "Roles" ontology pattern here? The third example in the figure seems good to these use case.

For example we could rewrite the example in a way similar to this:

<contracting-process-01> a ocds:ContractingProcess .

<tender-01> a ocds:Tender .

<agent-01> a schema:Agent ;
    ocds:playsRole <role-01> ;
    ocds:isProcuringEntityFor <tender-01> ;
.

<role-01> a ocds:Role ;
    rdfs:label "procuringEntity" ;
    rdfs:isDefinedBy "https://standard.open-contracting.org/latest/en/schema/codelists/#party-role" ;
    ocds:roleFor <contracting-process-01> ;
    .

where the codelist party-role could also be a small SKOS vocabulary.

Thanks in advance if you have any suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant