-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinfo.html
149 lines (128 loc) · 6.9 KB
/
info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
<title>PubMed++ - Publication Info</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template-- >
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<!-- Static navbar -->
<div class="navbar navbar-default navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li ><a href="index.html">Search</a></li>
</ul>
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="PubMed ID (PMID)">
</div>
<button type="submit" formaction="info.html" class="btn btn-default">Info!</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="pubmed_plus.crx">Plugin</a></li>
<li><a href="help.html">Help</a></li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</div>
<div class="col-md-6">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">References in BIO2RDF</div>
<div class="panel-body">
<p>Bio2RDF is an open-source project that uses Semantic Web technologies to build and provide the largest network of Linked Data for the Life Sciences. Bio2RDF defines a set of simple conventions to create RDF(S) compatible Linked Data from a diverse set of heterogeneously formatted sources obtained from multiple data providers.</p>
</div>
<!-- Table -->
<ul class="list-group " id="bio2rdf">
</ul>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default" >
<!-- Default panel contents -->
<div class="panel-heading">References in NIF</div>
<div class="panel-body">
<p>The Neuroscience Information Framework is a dynamic inventory of Web-based neuroscience resources: data, materials, and tools accessible via any computer connected to the Internet. An initiative of the NIH Blueprint for Neuroscience Research, NIF advances neuroscience research by enabling discovery and access to public research data and tools worldwide through an open source, networked environment.</p>
</div>
<!-- Table -->
<ul class="list-group " id="NIF">
</ul>
</div>
</div>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$.urlParam = function(name, url) {
if (!url) {
url = window.location.href;
}
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(url);
if (!results) {
return 0;
}
return results[1] || 0;
}
var url = "http://s4.semanticscience.org:";
var doc = $.urlParam("q");
var suffix = "/sparql?default-graph-uri=&query=select+distinct+%3Fx%0D%0A%7B%0D%0A%3Fx+%3Fy+%3Chttp%3A%2F%2Fbio2rdf.org%2Fpubmed%3A" +
doc +
"%3E.%0D%0A%7D%0D%0A%0D%0A&format=text%2Fhtml&timeout=0&debug=on";
var sources = {
bioportal:{port:"14004",name:"BioPortal"},
ctd:{port:"14003",name:"Comparative Toxicogenomics Database"},
DrugBank:{port:"14006",name:"DrugBank"},
goa:{port:"14007",name:"Gene Ontology Annotations"},
hgnc:{port:"14008",name:"Human Gene Names"},
interpro:{port:"14010",name:"InterPro"},
iproclass:{port:"14011",name:"iProClass"},
irefindex:{port:"14012",name:"iRefIndex"},
lsr:{port:"14013",name:"LSR"},
mgi:{port:"14014",name:"Mouse Genome Informatics"},
ncbigene:{port:"14015",name:"NCBI Gene"},
omim:{port:"14017",name:"Online Medelian Inheritance in Man"},
pharmgkb:{port:"14020",name:"Pharmacogenomics Knowledgebase"},
sabiork:{port:"14024",name:"SABIO-RK"},
sgd:{port:"14024",name:"Saccharomyces Genome Database"},
wormbase:{port:"14029",name:"WormBase"}
};
for (var property in sources) {
if (sources.hasOwnProperty(property)) {
var final_url = url + sources[property].port +suffix;
$("#bio2rdf").append("<a class='list-group-item' href="+final_url+">"+sources[property].name+"</a>");
}
}
$("#NIF").append("<a class='list-group-item', href=https://neuinfo.org/mynif/search.php?q=*&b=0&r=20&t=indexable&nif=nlx_154697-2&fl=Publication:"+doc+">NIF Results</a>");
});
</script>
</body>
</html>