We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hello processing community,
after a long break i have decided to dive into processing again. i wanted to visualize/play around with some statistics and after a few google searches i found that there is a site named "wikidata" where the contents "can be read by humans and machines alike".
i have tried a tool named "autolist" to plot some CSV lists with items and their properties and this is how far ive come: List of all NATO members
the problem is that i cant see the properties of each item. there is a disclaimer that this tool is in development, so im not sure if i'm doing anything wrong or if it is a bug.
So here are the real questions:
is there any other, real way to read/export data from wikipedia/wikidata (search for "wikidata" on this forum gave no results)?
can someone give me a hint to a general workflow how to get CSV's from there?
are there any other (free) sources to any kind of statistical data (no matter what kind)?
Answers
where are you from? What languages do you have?
austria, german + english
Hi!
ok, you need to register and get an API-key from them
insert your API-key instead of my XXXXXXXXXXXX below
then you can get weather data here
register:
http://www.wunderground.com/weather/api/d/login.html
data:
http://www.wunderground.com/cgi-bin/findweather/getForecast?query=37.773285,-122.417725&MR=1
documentation:
http://www.wunderground.com/weather/api/d/docs?MR=1
;-)
(mod edit - split url to stop highlighter highlighting)
wow, thx... ever worked with wikipedia/wikidata?
not yet...
if anyone is interested, here is what i found in "beautiful visualisation" by Julie Steele, Noah Iliinsky
http://books.google.at/books?id=TKh6fdlKwfMC&lpg=PP1&hl=de&pg=PA175#v=twopage&q&f=false
there is an approach but they dont talk about it in the book
can you show the code from the book? Because google doesn't show it.
I made this though.
You have to combine WDQ and Wikidata API
The data you get is incredible complicate and nested...
;-)
and the forum destroys links / urls
you need to "http" + them
see
Dan Shiffman covers the basics of XML: processing.org/tutorials/data/
this is amazing, thank you.
i'll try this right now...
hello,
Did you make any progress?
I dream of a sketch where you can type in
and he identifies "Which states" as a question for states and "belong to the NATO" as a filter. And answers. I haven't understood it fully but as far as I see claim[463:7184] is the key: 463 means country / state and 7184 means NATO. So we have to assign certain keywords with numbers and stitch it together. ;-)
How many people live in France?
Which persons were born in Paris 1959?
Best, Chrisir
;-)