Home » Tutorials »  NIF REST Sevces - Auto-complete Suggestions Tutorial

NIF REST Services - Auto-complete Suggestions

This service returns auto-complete suggestions for a search, based on the NIFSTD ontology.


1) Send search

Syntax:

http://nif-services.neuinfo.org/nif/services/autocomplete?prefix=[SearchQuery]&count=[####]



2) Results

This REST Service returns an xml file as follows:

REST service returns an xml file


Example

What are the first 10 auto-complete suggestions for "cereb"?

http://nif-services.neuinfo.org/nif/services/autocomplete?prefix=cereb&count=10

This REST service returns an xml file, shown below.

REST service returns an xml file

Here is a screenshot of this REST service in action in the advance search interface of NIF:

Screenshot of REST service in action in the advance search


More advanced information about NIF REST services can be found in this available WADL file.

NIF Navigator