Wikipedia:Lua/Modul/WikidataScheme/operaSinger

Wikipedia:Lua Modul WikidataScheme operaSinger

Vorlagenprogrammierung Diskussionen Lua Unterseiten
Modul Deutsch English

Modul: Dokumentation

Diese Seite umreißt für einen fiktiven Anwendungsfall von WikidataScheme für Opernsänger eine mögliche JSON-Spezifikation.

This page is detailing an arbitrary usecase for WikidataScheme and outlines a possible specification for an opera singer by JSON.

{ "@generated": "2026-08-11T23:20:33+02:00",
  "@format": "WikidataScheme 2019-12-16",
  "caption": "Q2865819",
  "claims": [
    { "subject": "instance",
      "state":   "required",
      "values":  [
                   {
        "q": "human"
                   }
                 ]
    },
    { "subject": "gender",
      "state":   "required",
      "values":  [
                   {
        "qlist": [ "female",
                   "male",
                   true ]
                   }
                 ]
    },
    { "subject": "nameFamily",
      "state":   "required"
    },
    { "subject": "nameGiven",
      "state":   "suggested"
    },
    { "subject": "nameArtist",
      "state":   "optional"
    },
    { "subject": "nameBirth",
      "state":   "optional"
    },
    { "subject": "birthDate",
      "state":   "suggested"
    },
    { "subject": "birthPlace",
      "state":   "suggested"
    },
    { "subject": "deathDate",
      "state":   "suggested"
    },
    { "subject": "deathPlace",
      "state":   "suggested"
    },
    { "subject": "occupation",
      "state":   "required",
      "values":  [
                   {
        "qlist": [ "singerOpera",
                   "actorStage",
                   "actorMovie",
                   "singer",
                   true ]
                   }
                 ]
    },
    { "subject": "voicetype",
      "state":   "required",
      "values":  [
                   {
        "qlist": [ "soprano",
                   "mezzosoprano",
                   "contralto",
                   "countertenor",
                   "tenor",
                   "baritone",
                   "bass",
                   "falsetto",
                   true ]
                   }
                 ]
    },
    { "subject": "genre",
      "state":   "suggested",
      "values":  [
                   {
        "qlist": [ "opera",
                   "operetta",
                   "musical",
                   true ]
                   }
                 ]
    },
    { "subject": "instrument",
      "state":   "required",
      "values":  [
                   {
        "qlist": [ "instrumentVoice",
                   "instrumentPiano",
                   true ]
                   }
                 ]
    }
            ],
  "resolve": { "actorMovie":       { "Q": 10800557 },
               "actorStage":       { "Q": 2259451 },
               "baritone":         { "Q": 31687 },
               "bass":             { "Q": 27911 },
               "birthDate":        { "P": 569 },
               "birthPlace":       { "P": 19 },
               "contralto":        { "Q": 37137 },
               "countertenor":     { "Q": 223166 },
               "deathDate":        { "P": 570 },
               "deathPlace":       { "P": 20 },
               "falsetto":         { "Q": 193935 },
               "female":           { "Q": 6581072 },
               "gender":           { "P": 21 },
               "genre":            { "P": 136 },
               "human":            { "Q": 5 },
               "instance":         { "P": 31 },
               "instrument":       { "P": 1303 },
               "instrumentPiano":  { "Q": 5994 },
               "instrumentVoice":  { "Q": 17172850 },
               "male":             { "Q": 6581097 },
               "mezzosoprano":     { "Q": 186506 },
               "musical":          { "Q": 2743 },
               "nameArtist":       { "P": 1787 },
               "nameBirth":        { "P": 1477 },
               "nameFamily":       { "P": 734 },
               "nameGiven":        { "P": 735 },
               "occupation":       { "P": 106 },
               "opera":            { "Q": 1344 },
               "operetta":         { "Q": 170384 },
               "singer":           { "Q": 177220 },
               "singerOpera":      { "Q": 2865819 },
               "soprano":          { "Q": 30903 },
               "tenor":            { "Q": 27914 },
               "voicetype":        { "P": 412 }
           }
}

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.