| All URL end-points start with http://sswap.info/ |
| /make | Make SSWAP RDF/XML graphs from JSON input |
| /validate | Validate SSWAP graphs and generic OWL 2 graphs |
| /reason | Reason over OWL graphs |
| /modularize | Modularize BioPoral ontologies |
| /publish | Publish your SSWAP semantic web service to our knowledge base and be discovered |
| /query | Discover matching services based on a service description |
| /search | Return a web page to a new pipeline with suggested services based on the search phrase |
| /convert | Convert between various RDF serializations |
| /api | HTTP API for conversion of JSON specifications into SSWAP Resource Graphs and ontology types and properties |
| GET /make | Retrieves a web page for user interaction Example:
|
| GET /make?<URL> | Read the JSON file at the URL and send the contents to the HTTP API Examples:
|
| POST /make | Read the body of the request as JSON and send the contents to the HTTP API Example:
|
|
| GET /validate | Retrieves a web page for user interaction Example:
|
| GET /validate?<URL> | Validates the graph (ontology) at the URL (e.g., an RDG Resource Description Graph) Examples:
|
| POST /validate | Validates the graph sent as the body of the request Example:
|
|
| GET /reason | Retrieves a web page for user interaction Example:
|
| GET /reason?<URL> | Reasons over the graph (ontology) at the URL (e.g., an RDG Resource Description Graph) Examples:
|
| POST /reason | Reasons over the graph sent as the body of the request Example:
|
|
| GET /modularize | Retrieves a web page for user interaction Example:
|
| GET /modularize?<term1>&<term2>&... | Modularize the signature of terms Example:
|
| POST /modularize | Body of the content must be RDF/XML statements; terms referenced therein are extracted as the signature to modularize Example:
|
|
| GET /publish | Retrieves a web page for user interaction Example:
|
| POST /publish | The content (body) of the POST must be either a URL or a JSON array of URLs. The URLs must dereference to a hosted SSWAP RDF/XML RDG (Resource Description Graph) such as made with the HTTP API; see /makeRDG. An RDG describes the service; to implement semantics see Hosting Semantic Web Services. Publishing is on-demand, but it may take up to four hours before the web service is discoverable. Examples:
|
|
| GET /query | Retrieves a web page for user interaction Example:
|
| GET /query?<URL> | Find all services like the service at the URL Examples:
|
| POST /query | Queries the SSWAP graph Example:
|
|
| GET /search | Retrieve the home page with a text box ready to accept a search phrase Example:
|
| GET /search?q= | Return a web page to a new, empty pipeline Examples:
|
| GET /search?q=tree | Return a web page to a new, empty pipeline with services that match the search phrase Examples:
|
| GET /convert | Retrieves a web page for user interaction Example:
|
| GET /convert/xml?<URL> | Converts the graph (ontology) at the URL to RDF/XML |
| GET /convert/n3?<URL> | Converts the graph (ontology) at the URL to N3 |
| GET /convert/nt?<URL> | Converts the graph (ontology) at the URL to N-Triples |
| GET /convert/tsv?<URL> | Converts the graph (ontology) at the URL to TSV (Tab Separated Values) Examples:
|
| POST /convert/{ xml | n3 | nt | tsv } | Converts the graph sent as the body of the request to the requested format Example:
|
|
| GET /api | Home page of the self-documenting HTTP API Example:
|
| GET /api/makePDG | For translating JSON into an RDF/XML OWL PDG (Provider Description Graph) |
| GET /api/makeRDG | For translating JSON into an RDF/XML OWL RDG (Resource Description Graph) |
| GET /api/makeRIG | For translating JSON into an RDF/XML OWL RIG (Resource Invocation Graph) |
| GET /api/makeRRG | For translating JSON into an RDF/XML OWL RRG (Resource Response Graph) |
| GET /api/makeRQG | For translating JSON into an RDF/XML OWL RQG (Resource Query Graph) |
| GET /api/makeType | For translating JSON into an RDF/XML OWL type (OWL Class) ontology term |
| GET /api/makeProperty | For translating JSON into an RDF/XML OWL predicate (OWL Property) ontology term |
| GET /api/JSONSyntax | JSON syntax and semantics Examples:
|
| POST /api | Translates JSON document (content of the POST body) into OWL DL RDF/XML per the "api" end-point directive Examples:
|
| POST /api/... | Any of the GET end-points above (except /JSONSyntax) for direct translation Examples:
|
|