-
Notifications
You must be signed in to change notification settings - Fork 6
DBPediaInfo plugin
cbara edited this page Mar 1, 2013
·
2 revisions
- Reference name: DBPediaInfoPlugin
- Source:
dbpediapplugin.js
- Generates Info widgets for concepts that refer to DBPedia entries.
- Creates a information panel that contains the
foaf:depiction
and thedbpedia-owl:abstract
, in modal window
- LDPlugin
- 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
.
- One widget composed of: a button with a blue info icon and the targeting
rdfs:label
string value.
- 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 widget is active to
click
events and will trigger a modal window with additional information .
- On
clicking
ortaping
the widget, the plugin will generate a information modal window centered in the location name. - The modal window will take a width of 70% and height of 70% of the display resolution.