Wikipedia

From BC$ MobileTV Wiki
Jump to: navigation, search

Wikipedia is a multilingual, web-based, free content encyclopedia project. Wikipedia is written collaboratively by volunteers; the vast majority of its articles can be edited by anyone with access to the Internet. Wikipedia's name is a portmanteau of the words wiki (a type of collaborative website) and encyclopedia. Its main servers are in Tampa, Florida, with additional servers in Amsterdam and Seoul. Wikipedia's English edition was launched on January 15, 2001, as a complement to Nupedia, an expert-written and now defunct encyclopedia. The project is currently operated by the Wikimedia Foundation, a non-profit organization created by Jimmy Wales, who claims to be the sole founder of Wikipedia. This is disputed by Larry Sanger, who also claims to be a founder of Wikipedia. Wikipedia has approximately 7.5 million articles in 253 languages. [1]


API


Revisions (shown as wikitext, which needs to be rendered to HTML)[5][6][7][8][9][10][11]


The following is a sample Wikipedia API call to see recent revisions of the "New York Yankees" article (HTML version of XML):

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=New_York_Yankees&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent

The same as XML:

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=New_York_Yankees&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent&format=xml

The same as JSON:

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=New_York_Yankees&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent&format=json


Articles (by title)

http://en.wikipedia.org/w/api.php?action=query&titles=India

Link to Article (by pageid <==> curid)

http://en.wikipedia.org/wiki/?curid=14533

owl:sameAs

http://en.wikipedia.org/wiki/India

Parse/Render Article

http://en.wikipedia.org/w/api.php?action=parse&page=India

Articles (return all articles with the specified text in their body)

http://en.wikipedia.org/w/api.php?action=query&list=search&srwhat=text&srsearch=Meaning


External Links (return all external links at the bottom of the wiki article):

http://en.wikipedia.org/w/api.php?action=query&titles=India&prop=extlinks

Images (return all media - including mostly images but also audio/video files uploaded to wikipedia, in a given alphabetic range):

http://en.wikipedia.org/w/api.php?action=query&list=allimages&aifrom=India&aito=Indian

Info Blocks

http://en.wikipedia.org/w/api.php?action=query&titles=India&prop=info

Templates (side-box templates, for example for the country "India")

http://en.wikipedia.org/w/api.php?action=expandtemplates&text=Template:India


[13] [14] [15] [16] [17] [18]

Export

You can also use the XML Export feature to export wiki-formatted, but non-rendered (i.e. data directly from "edit" view, not "html" article view). This works for any wikimedia distribution (unless that feature is deactivated). You can access the export data for any article using the following format:

http://en.wikipedia.org/wiki/Special:Export/<article_title>

EXAMPLE:

http://en.wikipedia.org/wiki/Special:Export/International_University_of_Japan

GeoCodes


Wikia

Wikia is a user-generated approach to improving Search Results, following the successful model of a user-generated encyclopedia from Wikipedia. It is founded by the non-profit WikiMedia corporation, and was likewise the brainchild of Wikipedia's/WikiMedia founder Jimmy Wales.



Tools


Resources


Tutorials


External Links


References

  1. Wikipedia entry on Freebase: http://www.freebase.com/view/guid/9202a8c04000641f8000000000c01eaf
  2. Wikipedia API (Programmable Web entry): http://www.programmableweb.com/api/wikipedia
  3. Wikipedia Labs - Ontology (BETA): http://wikipedia-lab.org/
  4. Wikipedia Labs - Web Service WSDL (BETA): http://dev.wikipedia-lab.org/WikipediaOntologyAPIv3/Service.asmx?WSDL
  5. MediaWiki API - Parsing wikitext: http://www.mediawiki.org/wiki/API%3aParsing_wikitext#parse
  6. Wiki Text Plugin for jQuery: http://www.kajabity.com/jquery-wikitext/usage.html
  7. Wiky.js - a simple Javascript library to convert Wiki MarkUp language to HTML: https://github.com/tanin47/wiky.js
  8. JavaScript Creole 1.0 Wiki Markup Parser: http://www.ivan.fomichev.name/2008/04/javascript-creole-10-wiki-markup-parser.html
  9. PHP Parse text with Wiki syntax into an XML document: http://www.phpclasses.org/package/6124-PHP-Parse-text-with-Wiki-syntax-into-a-XML-document.html
  10. Java GWT wikipedia API: http://code.google.com/p/gwtwiki/
  11. Ruby - Wikitext::Parser: http://wikitext.rubyforge.org/classes/Wikitext/Parser.html
  12. Build your own dynamic Wikipedia Search widget (using JavaScript only): http://kentbrewster.com/wiki-widget/
  13. Hook into Wikipedia information using PHP and the MediaWiki API: http://www.ibm.com/developerworks/web/library/x-phpwikipedia/
  14. jwpl - Java Wikipedia Library: http://code.google.com/p/jwpl/
  15. Ruby Wrapper for Wikipedia API: https://github.com/schleyfox/wikipedia-api
  16. Quering Wikipedia structured data with SPARQL in .NET: http://www.kozlenko.info/blog/2010/07/20/executing-sparql-query-on-wikipedia-in-net/
  17. Wikipedia Articles Title Autocomplete (faster version of Autocomplete API only): http://www.infochimps.com/datasets/wikipedia-articles-title-autocomplete
  18. Wikipedia Articles Abstract Search (summarized version of full API): http://www.infochimps.com/datasets/wikipedia-articles-abstract-search
  19. Bliki lib for Wikipedia in Java: https://bitbucket.org/axelclk/info.bliki.wiki/wiki/Home

See Also

Web 2.0 | DBpedia | NLP