Give an example of a properly filled infobox
This commit is contained in:
Generated
+1
-1
@@ -2386,7 +2386,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wikipedia-infobox-analyzer"
|
name = "wikipedia-infobox-analyzer"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ascii_table",
|
"ascii_table",
|
||||||
"dirs-next",
|
"dirs-next",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wikipedia-infobox-analyzer"
|
name = "wikipedia-infobox-analyzer"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = """
|
description = """
|
||||||
This analysis tool allows seeing the wikidata behind articles through the lens of the infoboxes.
|
This analysis tool allows seeing the wikidata behind articles through the lens of the infoboxes.
|
||||||
|
|||||||
@@ -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.
|
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.
|
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 out the properties which should be entered in wikidata.
|
||||||
|
|||||||
Reference in New Issue
Block a user