18 April 2011
This plugins allows to apply a SPARQL request on: 1. a set of RDF local files, i.e. on your computer. This is done by using the Corese SPARQL engine; 2. a SPARQL SOAP or REST end-point. It provides also the following functionalities: - statistics on the types present in the rdf obtained (if the rdf:type relations are provided in the construct request). - a filter on the type of the nodes. - filtering on the nodes, based on a SPARQL "Select" request.
Plugin Owner's Notes
Some examples are available: - the humans example use local files and the Corese engine. To make it run, choose "humans" in the bottom drop-list, the click on the "Load" button, then Start. - the DBPedia-Movies example access to dbpedia in order to depict the relationships between the actors, directors and movies. To make it run, choose "DBPedia-Movies" in the bottom drop-list, the click on the "Load" button, then Start.
9 November 2010
The purpose of the Graph Streaming API is to build a unified framework for streaming graph objects. Gephi’s data structure and visualization engine has been built with the idea that a graph is not static and might change continuously. By connecting Gephi with external data-sources, we leverage its power to visualize and monitor complex systems or enterprise data in real-time. Moreover, the idea of streaming graph data goes beyond Gephi, and a unified and standardized API could bring interoperability with other available tools for graph and network analysis, as they could start to interoperate with other tools in a distributed and cooperative fashion.
Plugin Owner's Notes
With the increasing level of connectivity and cooperation between systems, for a system that aim to be interoperable, it is imperative to comply with the available standards. Graph objects are abstractions that can represent a wide range of real-world structures, from computer networks to human interactions, and there are a lot of standards to exchange graph data in different formats, from text-based formats to xml-based formats. But the real-world structures are constantly changing, and the current formats are not suitable to exchange such type of dynamic data.
A lot of well-established systems already stream data to its users using a streaming API. Twitter for example defined a Streaming API to allow near-realtime access to its data. They are using two different formats: XML and JSON, but JSON is strongly encouraged over XML, as JSON is more compact and parsing is greatly simplified.
We are not the first to implement a Graph Streaming API, and another very interesting experience is the GraphStream Java Library. It is composed of an API that gives a way to add edges and nodes in a graph and make them evolve. The graphs are composed of nodes and edges that can appear, disappear or be modified, and these operations are called events. The sequence of operations that occur in a graph is seen as a stream of events.
So, as other people already had successful experiences with graph streaming, why not start our work based on these experiences? That’s what we are doing, and beyond finding these experiences very useful, we are also trying to be compatible with the available work. This Gephi Graph Streaming release is using two formats: JSON for flexibility, and a text-based format, based in the GraphStream implementation.
To illustrate how simple it will be to connect to a master, this video shows Gephi connecting to a master and visualizing the received graph data in real time. The graph in this demo is a part of the Amazon.com library, where the nodes represent books and the edges represent their similarities. For each book, a node is added, the similar books are explored, adding the similar ones as nodes and the similarity as an edge.
The Graph Streaming specification goes beyond the simple fact that a client can pull data from a master: in fact, clients can interact with the master pushing data to it, in a REST architecture. The same data format used by the master to send graph events to the clients is used by clients to interact with the master.
But what about connecting two different Gephi instances together? One instance will be master, and the other client. Using the Graph Streaming API, a change in a graph at the master’s workspace should cause a change in the client’s workspace, and a change at the client’s workspace will cause it to send requests to the master to update its graph accordingly. Both instances working in a distributed mode. In fact, different people could work in a distributed mode to construct a graph: it’s the Collaborative Graph Construction.
Source code is hosted on Launchpad.
16 July 2010
This plugin will generate a tree of entities extracted from a url, text, or html file.
Using natural language processing technology from AlchemyAPI, the following entities will be detected in the source document and displayed:
Anniversary, City, Company, Continent, Country, EntertainmentAward, Facility, FieldTerminology, FinancialMarketIndex, GeographicFeature, HealthCondition, Holiday, Movie, MusicGroup, NaturalDisaster, Organization, Person, PrintMedia, RadioProgram, RadioStation, Region, Sport, StateOrCounty, Technology, TelevisionShow, TelevisionStation
For a full description, see http://www.alchemyapi.com/api/entity/types.html.
An access key is needed to run the plug-in, and is freely available here: http://www.alchemyapi.com/api/register.html.