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
{
"m":[
"value",
158,
"string",
"Great Seal of the United States (obverse).svg"
],
"q":[
],
"g":"q30$D680D948-C2C1-493F-88AC-E4E2FB3764D2",
"rank":1,
"refs":[
]
},
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