Hello Jeroen , 

can i get from your words that this page : http://www.wikidata.org/wiki/Special:ListDatatypes
is not up to date ?if so how can i get all the datatypes in Wikidata ? 

but what i can get is list of datatypes available , these has to be the way of representation of data (like the lower level ) not the semantic datatype of the thing .

so it's either an item or string or common media file or time or geolocation 

string could be anything ( so time could be a string) , but there's a defined lower level representation of common media files . so is it wrong to represent it as string , 


thanks
Regards




On Wed, Aug 21, 2013 at 8:14 PM, Jeroen De Dauw <jeroendedauw@gmail.com> wrote:
Hey,

> and it's DataType should be  "Commons media file"  ? not "string" ?

The DataType is not specified in the JSON segment you pasted. It is not stored in entity pages. The "string" indicates the type of DataValue, which is a more low level concept. We have a limited set of these DataValue types, and a potentially much bigger set of DataTypes build on top of that. For instance the DataTypes "integer", "positive integer", "percentage" and "probability" would presumably all use the "number" DataValue.

> 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 ?

If you need the actual DataType, you will indeed need to build an index with the properties.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--

_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l




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