Topic on Talk:Wikibase/API

What does "snak" mean?

2
CXuesong (talkcontribs)

Just out of my curiosity, what does the word "snak" mean in mainsnak? I met this word when trying to get claims from Wikibase API

"P3221": [
    {
        "mainsnak": {
            "snaktype": "value",
            "property": "P3221",
            "hash": "983e9e5d4a43d9f321e1104fa31b23cbb52d772f",
            "datavalue": {
                "value": "destination/mount-everest",
                "type": "string"
            },
            "datatype": "external-id"
        },
        "type": "statement",
        "id": "Q513$7DFFB96C-0A8D-4024-97EA-23A1A77CAFD2",
        "rank": "normal"
    }
],

Another question: will there be some other "snak"s that are not "mainsnak"? If not, can I treat claims and snaks as 1:1 pairs? Thanks.

Addshore (talkcontribs)
Reply to "What does "snak" mean?"