Search
From ToxBank API Wiki
(Difference between revisions)
(→Search Data) |
(→Create a predefined query) |
||
Line 33: | Line 33: | ||
== Create a predefined query == | == Create a predefined query == | ||
− | + | {{HasOperation |id=Query:Create}} | |
− | {{ | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
== Keyword hierarchy == | == Keyword hierarchy == |
Revision as of 12:26, 7 October 2011
Search |
---|
Contents |
Query
Query language
Options
(not mutually exclusive)
GET parameters: Free text search, language could be similar to Google advanced search
GET or POST parameters, defining SPARQL SPARQL
Search
Description | Search an ad hoc query |
---|---|
Resource | Search |
Method | GET |
URI | /search |
Parameters | See query language |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | |
Results | URIs of the results |
Media Type (output) | text/uri-list |
Status code | 200,400,401,402,403 |
Links: Page, Edit with form
Search Protocols
Description | Search protocols |
---|---|
Resource | Query |
Method | GET |
URI | /query/protocols |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the protocols found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Links: Page, Edit with form
Search Studies
Description | Search studies |
---|---|
Resource | Query |
Method | GET |
URI | /query/study |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the studies found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Links: Page, Edit with form
Search Data
Description | Search data |
---|---|
Resource | Query |
Method | GET |
URI | /query/data |
Parameters | TBD, search parameters, page parameters |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | application/x-www-form-urlencoded, RDF, JSON |
Results | URIs of the datasets found, or in other supported format |
Media Type (output) | text/uri-list, RDF, JSON |
Status code | 200,400,401,402,403 |
Links: Page, Edit with form
Create a predefined query
- REDIRECT Search:SaveQuery
Links: Page, Edit with form
Keyword hierarchy
Web service access to ontologies
Filtering the query
TBD
Alerts
An Alert is defined by Query URI ,frequency and an User to be notified.
Facts about SearchRDF feed
Acts on | Query + |
HasOperation | Query:Search +, Query:SearchProtocols +, Query:SearchStudy +, Query:SearchData + and Query:Create + |
Has output media type | text/uri-list, RDF, JSON + |
Has status code | 200,400,401,402,403 + |