Add Queryable Deferred API and implement StanbolService.query method #64

Open
szabyg opened this Issue Dec 1, 2011 · 1 comment

Projects

None yet

2 participants

@szabyg

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) {
    ...
});
@neogermi

The question here is whether we want this as a VIE core functionality. I would say: Definitely! Here is the link to the API documentation

@neogermi neogermi pushed a commit to neogermi/VIE that referenced this issue May 18, 2012
Sebastian Germesin addressing issue #64, vie.query() 4902b2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment