Hello All , 

i was looking at WikiData dump , specifically this one : wikidatawiki-20130818-pages-meta-hist-incr.xml.bz2 

then i came to this statement 

  1.  {
  2.          "m":[
  3.             "value",
  4.             158,
  5.             "string",
  6.             "Great Seal of the United States (obverse).svg"
  7.          ],
  8.          "q":[
  9.  
  10.          ],
  11.          "g":"q30$D680D948-C2C1-493F-88AC-E4E2FB3764D2",
  12.          "rank":1,
  13.          "refs":[
  14.  
  15.          ]
  16.       },


the property P158 which is the seal flag image . http://www.wikidata.org/wiki/Property:P158
and it's DataType should be  "Commons media file"  ? not "string" ? 
i'm not sure if it's always the same way and i don't get it , or the statement data is not consistent with property datatypes?

another Question : should i usually rely on the datatypes written in the json dumps or should i build and index of wkidata properties and their datatypes to avoid such situation ? 


thanks
Regards
-------------------------------------------------
Hady El-Sahar
Research Assistant 
Center of Informatics Sciences | Nile University