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

Change default reification behavior to true to avoid tossing important qualifiers by default (like negation!) #444

Merged
merged 7 commits into from
Apr 14, 2023

Conversation

kevinschaper
Copy link
Collaborator

Ian from CPATH noticed that the rdf version of monarch-kg's ingest transforms only had the basic triples and no properties, after digging I saw that reification is set to false by default. I think it makes sense to default to reification being true, since otherwise it's not really a full transformation of the original source.

@cmungall
Copy link
Contributor

cmungall commented Apr 8, 2023

We should definitely include all edge properties by default!

The choice of flag name is a bit odd. I would expect if reificiation is True, then reification is used: i. SPO only and nodes generated for edge properties

@caufieldjh
Copy link
Collaborator

Thanks for this PR - I'd also expect to see all properties in the RDF transforms.
Is there any documentation for that reify_all_edges flag?

@kevinschaper
Copy link
Collaborator Author

@cmungall Would it make sense to simplify the flag to just reify: bool = True ?

@caufieldjh I haven't seen any documentation.

@sierra-moxon sierra-moxon merged commit cb5f260 into master Apr 14, 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.

4 participants