Concept Space Interchange Protocol Documentation
Faisal Ahmad - Boulder Learning Technologies Lab (BoLT), University of Colorado at Boulder. Definitions and conceptsCSIP is a REpresentational State Transfer (REST) style Web service. In REST style Web service architectures, requests are typically encoded as a URL and responses are returned as XML. This is the case with CSIP.
HTTP request formatsCSIP request can be made by using three different HTTP formats:
CSIP requests and responsesThis section defines the available requests. The HTTP request format has the following canonical structure: [base URL]/request. For example: http://strandmaps.nsdl.org/cms1-2/ServiceDescription
Summary of available requests: ServiceDescription
Sample request http://strandmaps.nsdl.org/cms1-2/ServiceDescription Response
SubmitResourceSample request The SubmitResource request can be used by clients to contribute examplary resources. These examplary resources will become available to a wide range of digital libraries using the CSIP web-service.
Errors and exceptions
Examples http://strandmaps.nsdl.org/cms1-2/SubmitResource?ObjectID=SMS-MAP-1200&Resource=http://soils.ag.uidaho.edu/soilorders/index.htm&email=fahmad@colorado.edu
Response RegisterQuerySample request The above mentioned request can also be made using HTTP POST method in two ways:
Summary and usage The RegisterQuery request can be used by clients to register custom queries to a concept, lookup already registered queries, update an already registered query, and search for registered queries. When registering a query the client specifies a meta-query which get expanded when the concept map is returned to the client. The meta-query specifies query expansion rules using data from the concept map metadata. The schema gives the rules for constructing the RegisterQuery request. Click here to see RegisterQuery schema type Arguments
Register Query Options
Examples
Errors and exceptions QuerySample request http://strandmaps.nsdl.org/cms1-2/Query?Query=<SMS-CSIP xmlns="http://sms.dlese.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Query><Content-Query><Term>Ocean floor</Term></Content-Query></Query></SMS-CSIP> The above mentioned request can also be made using HTTP POST method in two ways:
Summary and usage The Query request can be used by clients to search through concept maps and retrieve concept maps in different formats. The schema gives the rules for constructing the Query request. Click here to see Query schema type Arguments
Query Options
Query Element Attributes
Examples
CSIP identifier formatAccording to Concept Space Interchange Protocol the CSIP identifier should followinw the following pattern: [Three letters]-[three letters]-[4 digits] e.g. SMS-CHP-1526 CSIP Object Hierarchy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||