]> Pierre Choffet | Git repositories - wdef_tools.git/log
wdef_tools.git
9 months agoAdd script to compare with Wikidata’s RDF master
Pierre Choffet [Sat, 15 Jul 2023 06:40:28 +0000 (02:40 -0400)]
Add script to compare with Wikidata’s RDF

Same as get_merged_element.sh except it tests all wdef elements that have an equivalent into Wikidata.

9 months agoAdd translation string fuzzy compare.
Pierre Choffet [Sat, 15 Jul 2023 06:36:57 +0000 (02:36 -0400)]
Add translation string fuzzy compare.

It allows case unsensitive compare, with additional approximations. User will now receive a warning if a translation is added in a language which already has a string.

2 years agoAdd scripts to work with RDF
Pierre Choffet [Fri, 14 Jan 2022 21:49:55 +0000 (16:49 -0500)]
Add scripts to work with RDF

We can now manage a local RDFs cache, and reduce a wdef element from its already known values in Wikidata.

2 years agoAdd stylesheet to remove labels and descriptions in a given element
Pierre Choffet [Tue, 11 Jan 2022 22:36:32 +0000 (17:36 -0500)]
Add stylesheet to remove labels and descriptions in a given element

2 years agoAdd replace_id.xslt
Pierre Choffet [Tue, 11 Jan 2022 20:56:33 +0000 (15:56 -0500)]
Add replace_id.xslt

This stylesheet can be used to replace a wdef:id value by another. It will replace references to the element at the same time.

2 years agoAdd get_qid_from_property
Pierre Choffet [Thu, 6 Jan 2022 23:04:46 +0000 (18:04 -0500)]
Add get_qid_from_property

This script returns the QID of an element equivalent to an entry in a wdef file, based on unique values in a property (typically external identifiers).
query.sh is a collection of functions to be reused.

2 years agoAdd canonicalize stylesheet
Pierre Choffet [Fri, 24 Dec 2021 05:24:12 +0000 (00:24 -0500)]
Add canonicalize stylesheet

2 years agoAdd GPLv3 license
Pierre Choffet [Fri, 24 Dec 2021 04:09:59 +0000 (23:09 -0500)]
Add GPLv3 license