Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmonize variables for languages-gallery.json #14

Open
3 of 4 tasks
hugolpz opened this issue May 23, 2023 · 1 comment
Open
3 of 4 tasks

Harmonize variables for languages-gallery.json #14

hugolpz opened this issue May 23, 2023 · 1 comment
Assignees

Comments

@hugolpz
Copy link
Owner

hugolpz commented May 23, 2023

In SPARQL files :

Align variable names, so:

  {
    "wikidata": "Q150",      <-------
    "language": "Q21",      <-------
    "records": "258800",
    "speakers": "395",
    "speakersMales": "226",
    "speakersFemales": "152",
    "speakersOthers": "17",
    "languageLabel": "French",     <-------
    "recordsMale": "236681",
    "recordsFemale": "18394",
    "percent": "65.5",
    "words": "169569",
    "code": "fra",    <-------
    "wiki": "fr",
    "itemLabel": "French",
    "nativeLabel": "langue française",    <-------
    "countLabels": "2",                            <-------
    "iso": "fra",
    "isoLabel": "français",
    "population": "208157220",
    "populationQualifier": "10-100M"
  },

gets clearner, lighter, more consistant.

IMPORTANT : THIS AFFECTS THE LANGUAGE GALLERY. CONTACT @hugolpz when deploying !

  • speakers*
  • records*
  • language* (labels)
  • Qids
@hugolpz hugolpz self-assigned this May 23, 2023
@hugolpz
Copy link
Owner Author

hugolpz commented May 28, 2023

  {
    "iso": "fra",
    "wikidata": "Q150",
    "language": "Q21",
    "records": "260128",
    "speakers": "396",
    "speakersMales": "227",
    "speakersFemales": "152",
    "speakersOthers": "17",
    "languageLabel": "French",
    "recordsMale": "238009",
    "recordsFemale": "18394",
    "percent": "65.5",
    "words": "170474",
    "code": "fra",
    "wiki": "fr",
    "itemLabel": "French",
    "languageLabelNative": "langue française",
    "languageLabelsCount": "2",
    "isoLabel": "français",
    "population": "208157220",
    "populationQualifier": "10-100M"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant