8000 issue-1950: add separate references to england and wales by aamedina · Pull Request #1953 · edmcouncil/fibo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

issue-1950: add separate references to england and wales #1953

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

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

aamedina
Copy link
Contributor
@aamedina aamedina commented Jul 23, 2023

Description

fibo-be-ge-ukj:EnglandAndWalesJurisdiction declares fibo-fnd-law-jur:hasReach
lcc-3166-2-gb:EnglandAndWales, which I could not find. So in this branch I replaced it with two references to both England and Wales individually.

Fixes: #1950

Checklist:

  • I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
  • My contribution follows the principles of best practices for FIBO.
  • My changes have been reconciled with latest master and no merge conflicts remain.
  • This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
  • Hygiene tests have been applied by a PR with "(WIP)" in title.
  • The issue has been tested locally using a reasoner (for ontology changes).

@aamedina aamedina requested a review from ElisaKendall July 23, 2023 15:22
@aamedina aamedina changed the title issue-1950: add separate references to england and wales (WIP) issue-1950: add separate references to england and wales Jul 23, 2023
@aamedina aamedina marked this pull request as ready for review July 23, 2023 16:08
Copy link
Contributor
@rivettp rivettp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch but the fix is not correct: the URIs for England and Wales are as follows, based on LCC 1.2:
&lcc-3166-2-gb;GB-ENG-Subdivision
&lcc-3166-2-gb;GB-WLS-Subdivision

@rivettp
Copy link
Contributor
rivettp commented Jul 24, 2023

@mereolog this PR passed hygiene tests despite using a non-existent reference to LCC &lcc-3166-2-gb;England. Can those not be checked? Either by live access or by using a cached copy of LCC (it rarely changes).

@aamedina
Copy link
Contributor Author

The source of the model I used as reference is here: https://www.omg.org/spec/LCC/Countries/Regions/ISO3166-2-SubdivisionCodes-GB.rdf

which contains the England & Wales aliases (see: https://github.com/aamedina/fibo/blob/07446cba68193d52d15598cbf59a76bbbca3508a/src/cljc/net/wikipunk/rdf/lcc_3166_2_gb.cljc#L421) with a owl:sameAs relation to &lcc-3166-2-gb;GB-ENG-Subdivision. I will update the patch to reflect these identities tomorrow.

thank you for the review!

@ElisaKendall
Copy link
Contributor

@aamedina Hi Adrian, I still use the aliases - Pete implemented the code based subdivisions for a number of reasons, including but not limited to ease of use for programmers. However, the aliases will remain due to requirements for them by business users in a number of domain areas. I'm actually fine with the way that you had it, but our rules state that we need two approvals.

Note that there are metadata changes I would like to see: (1) add a change note, referencing this issue and stating what was changed, and (2) revise the version IRI to '20230701'.

Thanks!

Elisa

…andAndWalesJurisdiction

Signed-off-by: Adrian Medina <adrian@wikipunk.net>
@mereolog
Copy link
Contributor

@mereolog this PR passed hygiene tests despite using a non-existent reference to LCC &lcc-3166-2-gb;England. Can those not be checked? Either by live access or by using a cached copy of LCC (it rarely changes).

We do not check resources outside the 'edmcouncil' domain.
As far as I can tell we never did - probably because we do not have governance over "external resources".

I think I can add an additional check where all resources are checked for their types - but it will produce just warnings. Otherwise, I suspect that we shortly will have to turn it off because it will block the ontology development.

@aamedina
Copy link
Contributor Author

I think this just another review from @rivettp? Anything on my end that needs to happen?

@ElisaKendall
Copy link
Contributor

I think this just another review from @rivettp? Anything on my end that needs to happen?

Hi Adrian, if you would please merge the master branch back into this one, it should (in theory) run back through all of the checks. If Pete doesn't have time to re-approve this, @mereolog can do so. I think this is the last issue we will be addressing before the 2023 Q3 release, FYI. Thanks for checking!

@aamedina
Copy link
Contributor Author

Hmm, can you try re-running the build? Looks like there was an issue with pulling the docker image in Jenkins. Maybe cold booting?

docker pull "$JD_TO_PULL"— Shell Script10s

+ docker pull edmcouncil/ontology-publisher:stable

Error response from daemon: Head "https://registry-1.docker.io/v2/edmcouncil/ontology-publisher/manifests/stable": received unexpected HTTP status: 503 Service Unavailable

script returned exit code 1

Copy link
Contributor
@rivettp rivettp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be a separate issue but it's a bit odd that we have JurisdictionOfEnglandAndWales governed only by the Welsh Assembly. In fact that Assembly only has limited powers with the UK Parliament having the majority of control (the Scottish Assembly has more, as indicated by having a separate jurisdiction.). I don't think we're a Governmental KG so don't think we should get into this nuance. The key question is what are the use cases for separating jurisdiction from geographical region in the first place?

@rivettp rivettp merged commit 2b582f0 into edmcouncil:master Sep 29, 2023
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

Successfully merging this pull request may close these issues.

fibo-be-ge-ukj:EnglandAndWalesJurisdiction references missing resource
5 participants
0