On Sat, Mar 8, 2008 at 5:46 PM, Steve Summit scs@eskimo.com wrote:
but you could do a decent job of creating one by writing a script to go through every article in [[:Category:Chemical compounds]] and extract the relevant information from the {{Chembox}} at the top -- precisely as I've currently got a script in the background doing.
This is exactly what Lars Aronsson has already done: http://meta.wikimedia.org/wiki/User:LA2/Extraktor
mathias@tippyzwo:~/Research$ cat parameters.dewiki | grep "^Infobox_Chemikalie|" [...] Infobox_Chemikalie|Dimethylformamid|4|CAS|68-12-2 Infobox_Chemikalie|Dimethylformamid|4|Beschreibung|farblose, leicht bewegliche Flüssigkeit mit schwach aminartigem Geruch Infobox_Chemikalie|Dimethylformamid|4|Molare Masse|73,10 g·[[mol]]<sup>−1</sup> Infobox_Chemikalie|Dimethylformamid|4|Aggregat|flüssig Infobox_Chemikalie|Dimethylformamid|4|Dichte|0,94 g·cm<sup>−3</sup> (20 °C) Infobox_Chemikalie|Dimethylformamid|4|Schmelzpunkt|–61 [[Grad Celsius$!°C]] Infobox_Chemikalie|Dimethylformamid|4|Siedepunkt|153 °C Infobox_Chemikalie|Dimethylformamid|4|Dampfdruck|3,77 h[[Pascal (Einheit)$!Pa]] (20 °C) Infobox_Chemikalie|Dimethylformamid|4|Löslichkeit|gut in Wasser, Alkohol, Ether Infobox_Chemikalie|Dimethylformamid|4|RL 67/548/EWG|Ja Infobox_Chemikalie|Dimethylformamid|4|Gefahrensymbole|@(Gefahrensymbole:1) Infobox_Chemikalie|Dimethylformamid|4|R|@(R-Sätze:2) Infobox_Chemikalie|Dimethylformamid|4|S|@(S-Sätze:3) Infobox_Chemikalie|Dimethylformamid|4|MAK|10 ppm, 30 mg·m<sup>−3</sup> [...]
mathias@tippyzwo:~/Research$ cat parameters.dewiki | grep "^Infobox_Chemikalie|" | wc -l 49276
Works on a en.wp dump just as good (maybe with more data :) ).
Mathias