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

SKOS loader: loading a skos file with narrower references instead of hasTopConcept leaves concepts orphaned #10099

Closed
apeters opened this issue Sep 30, 2023 · 2 comments
Assignees

Comments

@apeters
Copy link
Member

apeters commented Sep 30, 2023

If loading a SKOS file that uses the narrower predicate rather than the hasTopConcept predicate, then those concepts are incorrectly saved as orphaned concepts. Arches should warn users when this occurs and reject loading the file until it is fixed.
Below is an example:

  <skos:ConceptScheme rdf:about="http://localhost:8000/deea513d-05ca-4610-a294-94799f651f32">
        <skos:narrower rdf:resource="http://localhost:8000/8ab49258-f363-44c6-8135-5c5dbee517dc"/>
  </skos:ConceptScheme>

is should be this instead:

  <skos:ConceptScheme rdf:about="http://localhost:8000/deea513d-05ca-4610-a294-94799f651f32">
        <skos:hasTopConcept rdf:resource="http://localhost:8000/8ab49258-f363-44c6-8135-5c5dbee517dc"/>
  </skos:ConceptScheme>
@chiatt
Copy link
Member

chiatt commented Oct 11, 2023

@apeters @njkim Is this completed?

@apeters
Copy link
Member Author

apeters commented Oct 11, 2023

@chiatt yes, this was merged in 2 weeks ago

@apeters apeters closed this as completed Oct 11, 2023
@github-project-automation github-project-automation bot moved this to ✅ Done in pipeline Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants