Skip to content

Finds path between two Wikipedia pages , using BFS or ID-DFS

License

Notifications You must be signed in to change notification settings

64bit/wikiracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikiracer

Finds path between two Wikipedia pages , using BFS or ID-DFS

Usage

./wikirace '{
    "start":"https://en.wikipedia.org/wiki/Malaria",
    "end":"https://en.wikipedia.org/wiki/Geophysics"
}'

Dependencies:

  • pip install requests
  • pip install neo4j-driver==1.1.0b1
  • Download Neo4j & set password to "nj" (see settings.cgf)
  • Create index by running query: CREATE INDEX ON :Page(pageid)

A sample sqlite graph.db (51.66 MB) , I built locally for usage example above and some others.

About

Finds path between two Wikipedia pages , using BFS or ID-DFS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published