Difference between revisions of "Twarql"

From Knoesis wiki
Jump to: navigation, search
(Concept Feeds)
Line 1: Line 1:
= Twarql: Twitter Feeds through SPARQL =
+
Twarql: Twitter Feeds through SPARQL
  
 
== Introduction ==
 
== Introduction ==
Line 34: Line 34:
  
 
=== SPARQLPuSH ===
 
=== SPARQLPuSH ===
 +
 
* More about the SPARQL Push implementation: [http://apassant.net/blog/2010/04/18/sparql-pubsubhubbub-sparqlpush Introducing sparqlPuSH], [http://code.google.com/p/sparqlpush open source implementation]
 
* More about the SPARQL Push implementation: [http://apassant.net/blog/2010/04/18/sparql-pubsubhubbub-sparqlpush Introducing sparqlPuSH], [http://code.google.com/p/sparqlpush open source implementation]
  
 
== Twarql API ==
 
== Twarql API ==
 +
 +
http://knoesis1.wright.edu/twarql
 +
 +
* http://knoesis1.wright.edu/twarql'''/search'''?keyword=''k1,...,kn''&output=<output type>
 +
** output: tweets, entities, triples
 +
 +
* http://knoesis1.wright.edu/twarql'''/search'''?keyword=''k1,...,kn''&output=<output type>
 +
** D2R
 +
 +
* http://knoesis1.wright.edu/twarql'''/register'''?query=<sparql query>&id=<concept feed id>
 +
** #id
 +
 +
* http://knoesis1.wright.edu/twarql'''/stream'''?keyword=''k1,...,kn''&output=<output type>

Revision as of 01:50, 15 May 2010

Twarql: Twitter Feeds through SPARQL

Introduction

Our approach encompasses the following steps:

  • extract content (entity mentions, hashtags and URLs) from microposts;
  • encode content in a structured format (RDF) using shared vocabularies (FOAF, SIOC, MOAT, etc.);
  • enable structured querying of microposts (SPARQL);
  • enable subscription to a stream of microposts that match a given query (Concept Feeds);
  • enable scalable real-time delivery of streaming data (SparqlPuSH).

Architecture

TwarqlArchitecture.png
  • See the workflow between the components of the architecture

Tweet Annotation

  • extract content (entity mentions, hashtags and URLs) from microposts;
  • encode content in a structured format (RDF) using shared vocabularies (FOAF, SIOC, MOAT, etc.);

Concept Feeds

  • enable structured querying of microposts (SPARQL);
  • enable subscription to a stream of microposts that match a given query;

TwarqlConceptFeeds.png

SPARQLPuSH

Twarql API

http://knoesis1.wright.edu/twarql