Sample Query Plan - Texera/texera GitHub Wiki

A table called twitter is available to use. The main information (tweets) is in an attribute called text.

Example of a simple keyword search

  1. Drag the Source: Keyword operator and edit properties with:
  • keyword: climate change,
  • attribute: text,
  • table name: twitter,
  • a span list name: climate change results or whatever name you prefer;
  • Click save.
  1. Drag the View Results operator, click save on the sidebar.
  2. Link KeywordSource with View Results by clicking the Output1 of KeywordSource first, then click the dashed-line on Input1 of View Results.
  3. Click "Run", you'll see the results displayed on the webpage

Example of a simple sentiment analysis

  1. Reload the page;
  2. Drag the Source: Scan operator and edit properties with: tableName = twitter. Click save.
  3. Drag the Sentiment Analysis operator and edit properties with:
  • attribute: text,
  • result attribute: sentiment or whatever you prefer
  • click save.
  • link ScanSource with NlpSentiment.
  1. Drag the View Results operator, click save on the sidebar, then link NlpSentiment with View Results.