チェンジセット 225 : SPARQLBuilderWWW/web/dist.html
- 更新日時:
- 2014/12/25 17:45:48 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/web/dist.html
r224 r225 10 10 <!-- script src="./sb-test.js"></script --> 11 11 <script> 12 <!-- 12 <!-- 13 13 function sendSPARQL(){ 14 14 var ep = $("*[name=selectendpoint]").val(); … … 29 29 function trySample(sparql){ 30 30 var sb = new SPARQLBuilder('sparql'); 31 32 $(document).on('complete', '#EndPointSelect', function(){ 31 sb.loadSamplePathList(); 32 33 $('#seclass').on('epcomplete', function(){ 33 34 $('#EndPointSelect').val('http://www.ebi.ac.uk/rdf/services/reactome/sparql'); 34 35 sb.changeEndPoint(); 35 36 }); 36 37 $( document).on('complete', '#StartClassSelect', function(){37 38 $('#seclass').on('secomplete', function(){ 38 39 $('#StartClassSelect').val('http://www.biopax.org/release/biopax-level3.owl#Protein'); 39 sb.startClass = 'http://www.biopax.org/release/biopax-level3.owl#Protein';40 40 $('#EndClassSelect').val('http://www.biopax.org/release/biopax-level3.owl#Pathway'); 41 sb.endClass = 'http://www.biopax.org/release/biopax-level3.owl#Pathway';42 sb.loadPathList();43 41 }); 44 42 }