Skip to content

DBPedia Info plugin new

Cristian Bara edited this page Jul 8, 2013 · 1 revision
  • Reference name: DBPediaInfoPlugin
  • Code source: dbpediapplugin.coffee
  • Compiled Source: dbpediapplugin.js

Features

  • Generates Info widgets for concepts that refer to DBPedia entries.
  • It has a maximum size of 600px X 600px
  • The expanded widget consists of a composition of maximum 4 tiles (sqares with size of 300px X 300px)

Dependencies

  • LDPlugin, LSI

Web API connections

  • This plugin reacts to annotations that contain in their resource fields DBPedia API calls that point to resources, ex: http://dbpedia.org/resource/Cross-country_skiing
  • The DBPedia response is cached by the Stanbol server. The annotation model implements extraction methods for foaf:depiction, rdfs:label, dbpedia-owl:abstract.
  • The plugin also integrates a LSI single image response by quarying the LSI for iamges related to the annotated DBPedia concept. The context input is void.

Widgets

  • Simple widget composed of: a button with a blue info icon and the label string value.
    • simple info widget
  • Expanded widget composed by a image and a paginated text section that is set to fit 180 characters/page.
    • expanded info widget

Events

  • This plugin will attach the rendering logic of the widgets in the becomeActive event handler of each annotation that contains a DBPedia call in its resource field.

Mouse interaction

  • Each simple widget is active to 'click' events and will trigger a modal window with additional information .
  • Expanded widgets close when 'clicking' the close (X) icon at the top left hand side of the expanded widget

Touch interaction

  • Each simple widget is active to 'tap' events and will trigger a modal window with additional information .
  • Expanded widgets close when 'tapping' the close (X) icon at the top left hand side of the expanded widget

Google TV remote control interaction

  • Each simple widget binds activate events to 'OK' events and will trigger a widget expansion
  • Expanded widgets close when pressing the 'BACK' button