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

Remove 'has' prefix from JSON-LD terms #35

Open
3 of 4 tasks
gaurav opened this issue Aug 1, 2018 · 0 comments
Open
3 of 4 tasks

Remove 'has' prefix from JSON-LD terms #35

gaurav opened this issue Aug 1, 2018 · 0 comments
Labels
programming only No discussion necessary; just pure programming needed

Comments

@gaurav
Copy link
Member

gaurav commented Aug 1, 2018

Several terms in the PHYX JSON-LD representation include a 'has' prefix that look somewhat ugly in JSON and in Javascript. We should be able to rename these JSON-LD terms without too many other changes.

These are:

  • hasRootNote => rootNodes
  • hasSpecifier => specifiers
  • hasInternalSpecifier => internalSpecifiers
  • hasExternalSpecifier => externalSpecifiers
  • [ ] hasComponentClass => componentClasses -- no longer used

Note that phyx2owl.py also uses these terms, so any fixes will need to happen in both places at once.

@gaurav gaurav transferred this issue from phyloref/klados Aug 8, 2019
@gaurav gaurav added the programming only No discussion necessary; just pure programming needed label Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
programming only No discussion necessary; just pure programming needed
Projects
None yet
Development

No branches or pull requests

1 participant