new DBPedia( [opt_options])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
opt_options |
olx.source.DBPedia |
<optional> |
Extends
- ol.source.Vector
Members
-
_lang
-
Result language
-
_limit
-
Query limit
-
_maxResolution
-
Max resolution to load features
-
_url
-
Url for DBPedia SPARQL
Methods
-
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