INCATools / INCATools/semantic-sql
match table skos predicates incorrect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 69
- Forks
- 7
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Description
the skos predicate for "has exact match" should be [_skos:exactMatch_](https://movielabs.com/cwontology/htmldoc/skos_exactMatch.html), not skos:hasExactMatch
see for example: https://github.com/INCATools/semantic-sql/blob/fca69e0604f60722a9a4927836dd55e4f88d2f91/src/semsql/builder/sql_schema/semsql.sql#L1451 (and so forth for [broad](https://movielabs.com/cwontology/htmldoc/skos_broadMatch.html), [narrow](https://movielabs.com/cwontology/htmldoc/skos_narrowMatch.html), [related](https://movielabs.com/cwontology/htmldoc/skos_relatedMatch.html) matches)
Is this done this way for a reason, or is it ok to submit an update to fix this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect src/semsql/builder/sql_schema/semsql.sql around line 1451 and compare the exactMatch, broadMatch, narrowMatch, and relatedMatch predicates with the linked SKOS references. Confirm whether the schema uses the incorrect has-prefixed forms, then verify that all four match predicates use the intended SKOS terms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100