Hacker News new | ask | show | jobs
by emw 3891 days ago
Wikidata's new SPARQL service is probably the most useful topic in this tutorial for software developers and anyone interested in the Semantic Web. It allows one to query the vast, free knowledgebase that backs Wikipedia -- almost 15 million entities and over 70 million statements.

Example queries:

* Politicians who died of cancer (of any type): https://query.wikidata.org/#PREFIX%20wikibase%3A%20%3Chttp%3...

* Who discovered the most planets? https://query.wikidata.org/#PREFIX%20wikibase%3A%20%3Chttp%3...

* Largest cities with a female mayor: http://query.wikidata.org/#PREFIX%20wikibase%3A%20%3Chttp%3A...

More Wikidata SPARQL query examples: https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Quer....