It is a wrapper to call the GraphFinder::sparqlator method, using the OKBQA framework API.
It takes a template and a disambiguation structures which are produced by a template generation and a disambiguation modules, respectively, and produces a set of SPARQL queries which are supposed to represent the same query need represented by the template and disambiguation.
Optionally, the parameter, max_hop may be set to specify the number of maximum hops for each path to be extended to. As it is to specify an integer value (between 1 and 3, usually), it may be simply encoded in the URL (see Web service URL example below).
GraphFinder implements the triple variation operations proposed by .
Scope and limit
The current version implements only the three operations, inversion, split, and instantiation, among the four proposed in . Implementation of the last one, join is remained as a future work.
GraphFinder is language-independent, and so does the sparqlator module.
|Web service URL||http://ws.okbqa.org:38401/queries?max_hop=1|
|Sample cURL command||curl -H "content-type:application/json" -d '_sample_input_' _ws_url_ Test|