Skip to content

cterdam/philosophy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Getting to Philosophy

Motivation

If a Wikipedia user goes from page to page by clicking the first ordinary link in each article, they usually find themselves at the 'Philosophy' article at some point. This phenomenon even has its own Wikipedia page.

Here's an example chain:

https://en.wikipedia.org/wiki/Denmark ->
https://en.wikipedia.org/wiki/Danish_language ->
https://en.wikipedia.org/wiki/North_Germanic_languages ->
https://en.wikipedia.org/wiki/Germanic_languages ->
https://en.wikipedia.org/wiki/Indo-European_languages ->
https://en.wikipedia.org/wiki/Language_family ->
https://en.wikipedia.org/wiki/Language ->
https://en.wikipedia.org/wiki/Communication ->
https://en.wikipedia.org/wiki/Information ->
https://en.wikipedia.org/wiki/Abstraction ->
https://en.wikipedia.org/wiki/Rule_of_inference ->
https://en.wikipedia.org/wiki/Philosophy_of_logic ->
https://en.wikipedia.org/wiki/Philosophy ->

How to run

pip install -r requirements.txt
python philosophy.py # To expose the chain starting from a random page

python philosophy.py -h # To inspect more options

About

Getting from any Wikipedia page to the Philosophy page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages