Code Monkey home page Code Monkey logo

grasp-vis's Introduction

grasp-vis

Visualization of NAF and TRiG files. Built using Flask, jQuery and D3.js.

Information being displayed is:

  • Raw text
  • Events detected
  • Factuality information about the events
  • SRL using events as predicates
  • Graph containing raw RDF triplets. Red nodes denote mentions in the text. Black nodes are all other types of nodes. Link types are not shown yet. You can zoom (by scrolling up and down) and move around (click+drag) in the RDF visualization box.

It is recommended to visualize the small_ versions of the files, which show heavily (randomly) truncated versions of the original RDF files.

Installation

  • Install requirements in requirements.txt
  • Create .env file in the project directory, with the following contents:
export APP_SETTINGS="config.DevelopmentConfig"
  • source initialize.sh to setup environment variables.
  • Run python3 -m flask run

Data

The provided data are two articles from public articles on vaccination. They are part of the vaccination corpus.

Screenshots

Screenshots from the visualizer!

Text overview RDF graph overview

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.