resquito-wmf commited on
Commit
48ff894
1 Parent(s): 8e8a6a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -20
README.md CHANGED
@@ -70,7 +70,7 @@ As part of this Beta Wikimedia Enterprise Structured Contents project, the team
70
 
71
  An example of each line of JSON looks as follows (abbreviated data):
72
 
73
- ```
74
  {
75
  "name":"JosephineBaker",
76
  "identifier":255083,
@@ -86,24 +86,29 @@ An example of each line of JSON looks as follows (abbreviated data):
86
  "abstract":"FredaJosephineBaker,naturalizedas...",
87
  "image":{"content_url":"https://upload.wikimedia.org/wikipedia/...",...},
88
  "infobox":[{"name":"Infoboxperson",
89
- "type":"infobox",
90
- "has_parts":[
91
- {"name":"JosephineBaker",
92
- "type":"section",
93
- "has_parts":[
94
- {"name":"Born",
95
- "type":"field",
96
- "value":"FredaJosephineMcDonaldJune3,1906
97
- St.Louis,Missouri,US",
98
- "links":[{"url": "https://en.wikipedia.org/wiki/St._Louis",
99
- "text":"St.Louis"},...}],
100
- "sections"[{"name": "Abstract",
101
- "type": "section",
102
- "has_parts": [
103
- {"type": "paragraph",
104
- "value": "Freda Josephine Baker (née McDonald; June 3, 1906 - April 12, 1975), naturalized as Joséphine Baker...",
105
- "links": [{"url": "https://en.wikipedia.org/wiki/Siren_...",
106
- "text": "Siren of the Tropics"...}],
 
 
 
 
 
107
  "license":[...],
108
  }
109
  ```
@@ -142,7 +147,7 @@ The data fields are the same among all, noteworthy included fields:
142
  * [abstract](https://enterprise.wikimedia.com/docs/data-dictionary/#abstract) - lead section, summarizing what the article is about.
143
  * [description](https://enterprise.wikimedia.com/docs/data-dictionary/#description) - one-sentence description of the article for quick reference.
144
  * [image](https://enterprise.wikimedia.com/docs/data-dictionary/#image) - main image representing the article's subject.
145
- * [infobox](https://enterprise.wikimedia.com/docs/data-dictionary/#infobox) - parsed information from the side panel (infobox)l on the Wikipedia article.
146
  * [sections](https://enterprise.wikimedia.com/docs/data-dictionary/#article_sections) - parsed sections of the article, including links.
147
 
148
  Note: excludes other media/images, lists, tables and references or similar non-prose sections.
 
70
 
71
  An example of each line of JSON looks as follows (abbreviated data):
72
 
73
+ ```json
74
  {
75
  "name":"JosephineBaker",
76
  "identifier":255083,
 
86
  "abstract":"FredaJosephineBaker,naturalizedas...",
87
  "image":{"content_url":"https://upload.wikimedia.org/wikipedia/...",...},
88
  "infobox":[{"name":"Infoboxperson",
89
+ "type":"infobox",
90
+ "has_parts":[
91
+ { "name":"JosephineBaker",
92
+ "type":"section",
93
+ "has_parts":[
94
+ {"name":"Born",
95
+ "type":"field",
96
+ "value":"FredaJosephineMcDonaldJune3,1906 St.Louis,Missouri,US",
97
+ "links":[{"url": "https://en.wikipedia.org/wiki/St._Louis", "text":"St.Louis"},}],
98
+ ]
99
+ }
100
+ ]
101
+ }],
102
+ "sections": [{"name": "Abstract",
103
+ "type": "section",
104
+ "has_parts": [
105
+ { "type": "paragraph",
106
+ "value": "Freda Josephine Baker (née McDonald; June 3, 1906 - April 12, 1975), naturalized as Joséphine Baker...",
107
+ "links": [{"url": "https://en.wikipedia.org/wiki/Siren_...","text": "Siren of the Tropics"...}]
108
+ }
109
+ ],
110
+ ...
111
+ }],
112
  "license":[...],
113
  }
114
  ```
 
147
  * [abstract](https://enterprise.wikimedia.com/docs/data-dictionary/#abstract) - lead section, summarizing what the article is about.
148
  * [description](https://enterprise.wikimedia.com/docs/data-dictionary/#description) - one-sentence description of the article for quick reference.
149
  * [image](https://enterprise.wikimedia.com/docs/data-dictionary/#image) - main image representing the article's subject.
150
+ * [infobox](https://enterprise.wikimedia.com/docs/data-dictionary/#infobox) - parsed information from the side panel (infobox) on the Wikipedia article.
151
  * [sections](https://enterprise.wikimedia.com/docs/data-dictionary/#article_sections) - parsed sections of the article, including links.
152
 
153
  Note: excludes other media/images, lists, tables and references or similar non-prose sections.