bergie/VIE — Issue #64: Add Queryable Deferred API and implement StanbolService.query method
Author: szabyg
Created: 2011-12-01 11:30:53+00:00
State: open

http://dev.iks-project.eu:8081/entityhub/query describes the field query API of stanbol which would be useful for frontend developers and qould be implemented in a more or less backend-independent manner. One could write:

var v = new VIE();
v.use(
new v.StanbolService({
url: "http://dev.iks-project.eu/stanbolfull",
proxyDisabled: true
})
);
v.query({
select: [
"rdfs:label",
"population"
],
fieldQuery: {
"rdfs:label": "mongolia*",
"@type": "schema:Country"
}
}).using('stanbol').execute().done(function(entities) {
...
});