Skip to content

A way to pre-process parameters and post-process results #34

Open
@nandana

Description

@nandana

This is more of a new feature for the wishlist.

Say for example, if I have a simple query such as

select distinct ?city where {
?city a <http://dbpedia.org/ontology/City> ;
<http://dbpedia.org/ontology/country> ?_name_iri .
}

I would like to pass just the local name in the API and concatenate it with a prefix on the fly.

e.g. Italy -> <http://dbpedia.org/resource/Italy>

Similarly it would be nice if some post processing results is possible, for example

select distinct ?country where {
?country a <http://dbpedia.org/ontology/City> .
}

So in this case, to convert <http://dbpedia.org/resource/Italy> to "Italy".

I was guessing may this what the scripts are for but I couldn't find the information in the documentation.

And one last minor request, will it be possible to preserve the variable names when your generate the Swagger specification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions