The National Science Foundation, in conjunction with the University of Arizona, has made available the Simple Semantic Web Architecture and Protocol (SSWAP), an architectural protocol for semantic web services.
The SSWAP HTTP API exposes a set of URL's that can be used to convert JSON formatted text files into SSWQP OWL (a web ontology standard) Resource Description Framework (RDF) XML graphs. This functionality is intended to address the gap between the more common, non-semantic JSON format and a semantic, SSWAP-compliant document.
SSWAP is based on a Provider Description Graph (PDG), which is a human-readable, machine-parsable description of a provider of one or more semantic web services. Each service describes itself with a Resource Description Graph (RDG), invoked with a Resource Invocation Graph (RIG), and returned in a Resource Response Graph (RRG). Resources can be semantically discovered by sending a Discovery server a Resource Query Graph (RQG). All graphs, which are RDF-XML documents, follow this structural flow according to the SSWAP protocol. These graphs allow the semantic description of third-party idiosyncratic data and services using OWL semantic standards.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.