Skip to content

Latest commit

 

History

History

food-truck

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Getting Started

  1. Load the Twitter ontology datasets/twitter/ontology
  2. Load the Food Truck ontology examples/food-truck/ontology
  3. Configure and run Twitter
  4. Setup a new Twitter account or use your existing account and follow some food trucks
  5. Run the Twitter Ingest to ingest some Tweets.
  6. If you search for a particular food truck twitter account you should be able to add them to your graph.
  7. For each food truck Twitter account you will need to associate it with a "Food Truck" entity. This can be accomplished by finding some text with the food truck name and resolving it as a new "Food Truck".
  8. Connect the "Food Truck" entities to the food truck twitter accounts with a "Has Twitter Account" connection.
  9. Create "Food Truck Location" entities for locations where the food trucks might be.
  10. Add a "Location" properties to the "Food Truck Location" entities.
  11. Add "Keyword" properties to the "Food Truck Location" entities.
  12. As new Tweets come in the Truck locations will be updated based on keywords found in the tweets and you will see their location on the map.

With Keywords

How it Works

Graph Property Workers

  • FoodTruckHasTwitterAccountOnCreateGraphPropertyWorker - Assigns an image to a "Food Truck" entity when the "Has Twitter Account" edge is created.
  • FoodTruckLocationUpdateGraphPropertyWorker - Assigns a location to a "Food Truck" entity when a keyword is detected for the current day.
  • FoodTruckRemoveOldGeoLocationsGraphPropertyWorker - Removes old location properties when the "Food Truck" entity gets updated.
  • FoodTruckTweetAnalyzerGraphPropertyWorker - Detects and creates "Has Keyword" edges between Tweets and "Food Truck Location".