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

Bug?: --mapping-predicate-filter only accepting URI, not CURIE #457

Open
joeflack4 opened this issue Oct 14, 2023 · 1 comment
Open

Bug?: --mapping-predicate-filter only accepting URI, not CURIE #457

joeflack4 opened this issue Oct 14, 2023 · 1 comment

Comments

@joeflack4
Copy link
Collaborator

joeflack4 commented Oct 14, 2023

Overview

I tried --mapping-predicate-filter omoprel:Mapped_from and it did not work, but --mapping-predicate-filter https://w3id.org/cpont/omop/relations/Mapped_from did.

Details

Command

Syntax: f'sssom parse {obograph_path} -I obographs-json -o {outpath_sssom} -m {metadata_path}'
Actual: sssom parse /Users/joeflack4/projects/owl-on-fhir/test/output/test_defaults/RxNorm.owl.obographs.json -I obographs-json -o /Users/joeflack4/projects/owl-on-fhir/test/output/test_defaults/RxNorm.sssom.tsv -m /Users/joeflack4/projects/owl-on-fhir/test/output/test_defaults/temp-metadata.sssom.yml

Inputs

  1. Obographs JSON: RxNorm.owl.obographs.json
  2. SSSOM Metadata YML: temp-metadata.sssom.yml
curie_map:
  OMOP: https://athena.ohdsi.org/search-terms/terms/
  omoprel: https://w3id.org/cpont/omop/relations/

Additional details

Context:

@matentzn
Copy link
Collaborator

I think this is a good idea. With @cthoyt huge improvements on handling prefixmaps you could simply use the msdf.converter right after it is created to expand(passthru=true) all the values provided! One line of code if I think of this correctly.

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

2 participants