]> Pierre Choffet | Git repositories - wdef_tools.git/blob - README
Add stylesheet to remove labels and descriptions in a given element
[wdef_tools.git] / README
1 wdef_tools - Collection of tools to work with Wdef files.
2
3 Repository: https://git.choffet.net/?p=wdef_tools.git
4
5
6 These tools are designed to work on valid Wdef files (see this repository for
7 more information: https://git.choffet.net/?p=wdef_schemas.git ). Behavior when
8 applying on non-compliant file is undefined.
9
10 Runtime dependencies are:
11 - Bash - https://www.gnu.org/software/bash/
12 Shell script interpreter
13
14 - Wikibase-cli - https://github.com/maxlath/wikibase-cli
15 Interface to Wikidata operations
16
17 - Xmlstarlet - http://xmlstar.sourceforge.net/
18 XSD and XSLT processor
19
20
21 Description of the provided tools:
22 - scripts/get_qid_from_property.sh
23 Search Wikidata elements based on a value, return its QID when found.
24
25 - xslts/canonicalize.xslt
26 Return a wdef under its normal form.
27
28 - xslts/remove_labels_descriptions.xslt
29 Return a wdef with labels and description removed for a given element.
30
31 - xslts/replace_id.xslt
32 Change the wdef:id of an element and its references.