|
This page describes an HTTP interface for searching for resources in the
discovery server's repository. Also on this page is a simple HTML form for
accessing the interface in order to search for SSWAP resources.
HTTP Interface
The URL for searching the repository for SSWAP resources is
http://sswap.info/graph-search
,
accessible via an HTTP POST. It takes the following parameters:
|
Parameter
|
Required?
|
Description
|
|
query-graph
|
Yes
|
An OWL graph, in RDF/XML format, that serves as a template for
resources to be matched.
|
|
statements
|
No
|
Indicates which statements should be returned for each matching
resource. A value of minimal indicates that only a
small amount of information (name, one line description, URL)
should be returned for each resource; query indicates
that only the statements in the query graph should be returned;
reachable indicates that only statements whose
subjects are subsumed by the URL of the resource should be
returned (e.g. if a resource's URL is
http://www.foo.org/someResource, then only statements
whose subject's URL starts with
http://www.foo.org/someResource should be returned.
The default value is reachable.
|
Resource Search Form
The following form can be used to search this site's repository for SSWAP
resources that match a query graph. The text area is initially prepopulated with
an example graph that will show all resources. Type or paste a graph, in RDF/XML
format, into the area below and press the "Search" button:
|