SSWAP: Difference between revisions

From CoGepedia
Jump to navigation Jump to search
Created page with '==SSWAP: Simple Semantic Web Architecture and Protocol== The SSWAP project is located: http://sswap.info/ SSWAP aims to make web-services semantically aware of one another. Th...'
 
Line 27: Line 27:
     "definitions" : {
     "definitions" : {
           "_:subject" : {},
           "_:subject" : {},
      "_:object" : {
      "_:object" : {
          "rdf:type" : "seq:FASTA",
          "rdf:type" : "seq:FASTA",
    "data:literalData" : myseq
    "data:literalData" : myseq

Revision as of 21:13, 12 November 2011

SSWAP: Simple Semantic Web Architecture and Protocol

The SSWAP project is located: http://sswap.info/

SSWAP aims to make web-services semantically aware of one another. This is achieved in a two step process:

  1. Marking up tools that "advertise" what data they consume, the manipulations/analyses they perform, and the analytical results/data they emit.
  2. Marking up data and sending it to a semantic web orchestrator that can find web-services that may operate on said data.

In collaboration with Damian Gessler (sswap@iplantcollaborative.org), the SSWAP project lead, CoGe is becoming sematically aware.

The first step was marking up FASTA data produced by FastaView and sending them to the SSWAP orchestrator http://sswap.iplantcollaborative.org .

This was accomplished by:

Creating an appropriate JSON object string containing the sequence data and appropriate tags:

var myseq = $('#seq_text').val();
var jsonRRG= {
   "prefix": {
       "data": "http://sswapmeet.sswap.info/data/",
       "mime": "http://sswapmeet.sswap.info/mime/",
       "seq": "http://sswapmeet.sswap.info/sequence/"
   },
   "http://sswap.info/examples/resources/canonical/canonicalResource": {},
   "mapping": {"_:subject" : "_:object"},
   "definitions" : {
   		      "_:subject" : {},
		      "_:object" : {

"rdf:type" : "seq:FASTA", "data:literalData" : myseq } },

};
var jsonString = JSON.stringify(jsonRRG);