-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add Position and Occupancy for less repetition of position data #1170
Conversation
Very cool! A few fields I could imagine being useful:
Maybe (what's your feeling)?
p.s. I proposed #1167 this morning, which would mark |
Do we want to put our "active/out-of-office/unsure" classification onto the PositionHeld entity? |
68fcf79
to
a22f0ae
Compare
Basing on your branch which deprecates Post makes a lot more sense 🤦 Do you mean restore as in rebase? I rebased and pushed. Would it make sense for me to change the PR base branch to yours so my diff is more focused on the additional changes? Or would that just be more confusing since the intention is to merge separately from your PR. |
I'd lean more towards creating the term class to hold these dates, rather than representing these dates. many different Positions, e.g. each member of parliament, would repeat the same dates |
I like that - it's easy to determine this at data entry and remove the need for data users to do the logic. I left unsure out since I think blank covers that - or is there value in an explicit state to say something like "it's not that we didn't bother setting this, but we really didn't know" |
Done. I was thinking those dates would be nice too. |
Is there a nice obvious way to resolve this?
Is it just a matter of finding another word for it? I don't want to just throw a thesaurus at it if we're creating a jargon jumble that way I fixed a message like this for jurisdiction which I initially had as string by changing jurisdiction to country type, and adding |
I still don't know the reality of querying and summarising data in this schema and what the pros/cons are of an enum type for classifications of positions like
as opposed to making it a string field which we control on the OpenSanctions crawler side. Also not sure what the migration path looks like if we want to change from our first decision on this. The main argument I can think of for enum type is validation of values out of the box (right?). But perhaps that's something we can do easily enough in OpenSanctions code too, and don't have to weigh down FtM users with our special classification decisions? |
How do you feel about a number_of_seats property? In wikidata that's on the Cabinet, which for us would be the PublicBody. With a better name it might fit on the Position item in FtM, as in n members of the board of Eskom, n members of parliament of south africa. It would be useful for validation against the number of people considered to actively hold the position. |
Hey, late session last night :) Some feedback: a) All FtM props so far at camelCase, let's not start doing snake_case now :) |
One more thing: we could also just introduce new prefixes in |
Do you mean for high level categorisation? I like how flexible/powerful combining topics is, but how would we render out useful summaries of positions held if we want something like
If that's represented by |
Would we want to represent SOE directorship using these schemata and/or Directorship? Using Directorship instead of PositionHeld means summarisation of PEP data in OpenSanctions, as well as documentation for data users of how to extract why someone is considered a PEP, and exactly what kind of PEP they are, is a bit more complex, but there might be upsides. |
4e9e074
to
536070a
Compare
followthemoney/schema/Position.yaml
Outdated
category: | ||
label: "Category" | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what the use case for category
is, but maybe this is already covered by Thing:keywords
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pudo I was supposed to drop category
from Position
to synthesise it for presentation on the summary page, wasn't I?
@jbothma I added a few comments, mostly from Aleph’s perspective (which probably has slightly different requirements compared to OpenSanctions). As Aleph enables end user search across all schemata, we’re trying to reduce the number of properties. Also, Aleph supports graph and time-based visualizations which is why |
c0a46c5
to
18a15d4
Compare
936f9c7
to
7237453
Compare
hey @jbothma can you still add the |
@pudo I understood the ask for temporal extent to be on position, and edge on occupancy, which are done. I assumed Occupancy will inherit temporal extent from Interval because it doesn't define different time properties. Should I still add temporalExtent to occupancy? |
No, you're righ! |
Make it clearer that it's not Position instances on this end, and keep it specific enough in case someone wants to model accommodation occupancies in future.
I'm happy with this if you folks are! |
Adds Position and PositionHeld to eventually replace Post.
Need to fix divergent property type and other issues in CI