Coder Social home page Coder Social logo

wikipedia-prov's Introduction

Quick guide to using the traces

Traces content

Each archive file contains a (small) fragment of Wkipedia History pages, structured as a PROV provenance graph. The extractor pulls the content of history pages from a user-defined start page from the live Wikipedia API, and stores them into a Neo4J graph database. The resulting PROV structure, as well as the configuration options to control the crawling of the extractor, are described in a separate document.

The traces in this folder are Neo4J DB files. Each .tar.gz archive contains a single folder, with extension .db. The folder contains the entire content of a Neo4J data file. Thus, "loading" these files simply amounts to copying the .db file into the appropriate data folder in the Neo4J folder structure.

Here are the detailed instructions.

  1. download Neo4J from here

  2. there is no installation. Simply unzip and move the folder wherever you like.

  3. untar the trace file and move the .db folder under the data/ folder of Neo4J.

    3.1 the simplest way to get running is simply to rename the .db file to "graph.db" which is what Neo4J expects unless you tell it otherwise, using the server configuration instructions found here

  4. start and manage the server as described in the README file.

Queries.

File cypher-queries.txt contains a number of sample queries in Neo4J's Cypher query language. A nice client interface for trying them out and visualizing fragments of the traces is NeoClipse. You can get it from here. Try the Cypher query editor

Traces specification.

Filename filesize max revisions max users max depth number of nodes number of relations
Newcastle-r10-u3-d5.db.tar.gz 3.6M 10 3 5 2758 4218
Newcastle-r20-u1-d1.db.tar.gz 80K 20 1 1 58 80
Newcastle-r20-u5-d2.db.tar.gz 203K 20 5 2 178 200
Newcastle-r100-u25-d25.db.tar.gz 6.1M 100 25 25 4044 6623
Earthship-r100-u3-d5.db.tar.gz 3.6M 100 3 5 2994 4876
Eartships-r200-u25-d25.db.tar.gz 1.2M 200 25 25 991 1600

--Paolo Missier

wikipedia-prov's People

Contributors

paolomissier avatar

Watchers

James Cloos avatar justin schmidt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.