Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@szabyg
Copy link

szabyg commented Dec 1, 2011

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
Copy link
Contributor

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 pushed a commit to neogermi/VIE that referenced this issue May 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants