Search
Returns a ranked list of uberblic resources whose label matches the search term and properties matches other restrictions. See this how-to blog post for examples and more infos.
the search method returns only full-word matches, search_autocomplete partially matches the last word of the search term for type-ahead style interfaces.
Try it at http://platform.uberblic.org. The search box on the top uses the search_autocomplete service, when you click search you see the results of the search service
Request
URL: http://platform.uberblic.org/api/v1/search
URL: http://platform.uberblic.org/api/v1/search_autocomplete
Parameters:
- query – search term
the query parameter may contain multiple other restrictions of resource properties encoded into the search query. the different restrictions are separated by white space, and formated as property:[value]
Examples
http://platform.uberblic.org/api/v1/search?query=Berlin
{"results":
[
{"label":"Berlin",
"uri":"http:\/\/platform.uberblic.org\/resource\/8e185c6c-4cd4-489c-a71c-5badd45b1245#thing",
"types":"Settlement,Place",
"description":"Berlin is the capital city and one of sixteen states of Germany. With a population of 3.4 million within its city limits, Berlin is Germany's largest city. It is the second most populous city and the eighth most populous urban area in the European Union. Located in northeastern Germany, it is the center of the Berlin-Brandenburg metropolitan area, comprising 5 million people from over 190 nations."}
],
"total_results":2508}
Results of type Place and imported from Wikipedia, matching “London”:
http://platform.uberblic.org/api/v1/search?query=source:[enwikipedia]+type:[uo:Place]+London
Results matching “Nicolas” with birthdate of 1979-03-14
http://platform.uberblic.org/api/v1/search?query=birthdate:[1979-03-14]%20Nicolas
{"results":[
{"label":"Nicolas Anelka", "uri":"http://uberblic.org/resource/833e93a9-eb6e-4a74-b0ab-090866b43793#thing", "types":"Person,Athlete,FootballPlayer"}
],"total":1,"offset":0}
