From 29a51778cb68835e312d55c918da6df76e34fd84 Mon Sep 17 00:00:00 2001 From: Raymon Zutekouw Date: Wed, 6 Aug 2025 12:59:08 +0200 Subject: [PATCH] Give an example of a properly filled infobox --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e86c4eb..c8c35e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2386,7 +2386,7 @@ dependencies = [ [[package]] name = "wikipedia-infobox-analyzer" -version = "0.1.0" +version = "0.2.0" dependencies = [ "ascii_table", "dirs-next", diff --git a/Cargo.toml b/Cargo.toml index a1ad818..423348f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wikipedia-infobox-analyzer" -version = "0.1.0" +version = "0.2.0" edition = "2021" description = """ This analysis tool allows seeing the wikidata behind articles through the lens of the infoboxes. diff --git a/README.md b/README.md index dc57f59..8da4d0e 100644 --- a/README.md +++ b/README.md @@ -102,3 +102,36 @@ As an example, this is the case on the following software template on the Dutch Ideally, these used properties would be discovered by use, but I have not found a way to do that universally. Besides, you only have to do this once, and this way you can also customize the properties to look for. + +It is often the case that there are similar properties on a template, where to goal is that just one is filled in. +To go back to the software example, let's take the Dutch wikipedia article for GitLab as an example. + +``` markdown +┌──────────────────┬─────────────────────────────┬─────────────────────────────┐ +│ Infobox requires │ Wikidata GitLab (Q16639197) │ Property names │ +├──────────────────┼─────────────────────────────┼─────────────────────────────┤ +│ P18 │ P18 │ image │ +│ P154 │ P154 │ logo image │ +│ P170 │ │ creator │ +│ P178 │ P178 │ developer │ +│ P275 │ P275 │ copyright license │ +│ P277 │ P277 │ programmed in │ +│ P306 │ P306 │ operating system │ +│ P348 │ P348 │ software version identifier │ +│ P400 │ │ platform │ +│ P548 │ │ version type │ +│ P571 │ P571 │ inception │ +│ P577 │ │ publication date │ +│ P856 │ P856 │ official website │ +│ P1324 │ P1324 │ source code repository URL │ +│ P2096 │ │ media legend │ +│ │ P10 │ │ +│ │ P17 │ │ +│ │ P31 │ │ +│ │ .... │ │ +└──────────────────┴─────────────────────────────┴─────────────────────────────┘ +``` + +Here you can see that the infobox template is sufficiently filled in. +And yes, there are some fields missing in the wikidata that the template expects, but those are covered by other properties. +This tool should give you the ability to quickly find the missing properties to be entered in wikidata.