Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Page MenuHomePhabricator

sense claims have no datatype property
Closed, DuplicatePublic

Description

I was told to post this here:

Special:EntityData/L99.json:

senses:
  claims: 
    - datavalue:
        value: "Balloons in the sky.jpg"
        type: "string"
      property: "P18"
      snaktype: "value"

for comparison a regular entity looks like this:

Special:EntityData/Q643435.json:

claims:
  - datatype: "commonsMedia"     # ← I need this for sense properties
    datavalue:
      value: "Congrats bqt.jpg"
      type: "string"
    property: "P18"
    snaktype: "value"