-
Notifications
You must be signed in to change notification settings - Fork 6
DBPedia Info for TV plugin
Cristian Bara edited this page Jul 8, 2013
·
2 revisions
- Reference name: DBPediaInfoForTVPlugin
- Code source:
dbpediainfofortv.coffee
- Compiled Source:
dbpediainfofortv.js
- Generates Info widgets for concepts that refer to DBPedia entries.
- It has a maximum width of 500px and a variable height size.
- LDPlugin, LSI
- 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.
- Simple widget composed of: a button with a blue info icon and the label string value.
- Expanded widget composed by a image and a paginated text section that is set to fit 180 characters/page.
- 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.
- 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
- 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
- Each simple widget binds activate events to 'OK' events and will trigger a widget expansion
- Expanded widgets close when pressing the 'BACK' button