Class: DBPedia

ol.source. DBPedia


new DBPedia( [opt_options])

Parameters:
Name Type Argument Description
opt_options olx.source.DBPedia <optional>

Extends

Members


_lang

Result language


_limit

Query limit


_maxResolution

Max resolution to load features


_url

Url for DBPedia SPARQL

Methods


clear()

Overwrite ol/source/Vector clear to fire clearstart / clearend event

Inherited From:

queryFilter()

Set RDF query filter, default: select language


querySubject()

Set RDF query subject, default: select label, thumbnail, abstract and type


readFeature(the, RDF, last)

Decode RDF attributes and choose to add feature to the layer

Parameters:
Name Type Description
the feature

feature

RDF attributes

attributes

last lastfeature

feature added (null if none)

Returns:

true: add the feature to the layer

Type
boolean