Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add command to make an item an instance/subclass #18

Open
nichtich opened this issue Feb 27, 2017 · 1 comment
Open

Add command to make an item an instance/subclass #18

nichtich opened this issue Feb 27, 2017 · 1 comment

Comments

@nichtich
Copy link
Owner

wdtaxonomy --isa Qparent Qchild
wdtaxonomy --broader Qparent Qchild

Both should check whether a instance-of/subclass-of relation exists to skip or modify (the latter requires maxlath/wikibase-edit#2). An item should never be both instance and subclass of the same other item.

@nichtich
Copy link
Owner Author

nichtich commented Nov 5, 2017

Should better be done with wikidata-cli but a howto would be nice:

  1. query taxonomy
  2. spot instances wrongly classified as subclasses
  3. somehow pipe to wikidata-cli

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant