Search
From ToxBank API Wiki
(Difference between revisions)
Line 11: | Line 11: | ||
tb:searchTerm "free text search" ; | tb:searchTerm "free text search" ; | ||
tb:target tb:Protocol . | tb:target tb:Protocol . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Search == | == Search == |
Revision as of 20:36, 5 December 2011
Search |
---|
Contents |
Query
Query language
Suggestion:
:someQuery a tb:Query ; tb:hasKeyword <keywordUri1>, <keywordUri2> ; tb:searchTerm "free text search" ; tb:target tb:Protocol .
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 + |