What is Paget's disease sparql query example
Created: 2009-01-20 03:34:08
SELECT distinct ?s1
FROM <http://atlas.bio2rdf.org/sparql>
WHERE {
?s1 ?p1 ?o1 .
?o1 bif:contains "paget" .
FILTER( regex(?s1, "omim")
OR regex(?s1, "geneid") OR regex(?s1, "uniprot"))
}
followed by
SELECT ?type1, count(*)
FROM <http://localhost:8890/sparql>
WHERE {
?s1 ?p1 ?o1 .
?o1 bif:contains "paget" .
?s1
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
What is Paget's disease sparql query example |
Descriptions (0)
Dependencies (0)
Processors (8)
Name |
Type |
Description |
geneid_omim_uniprot |
stringconstant |
Valuegeneid,omim,uniprot |
paget |
stringconstant |
Valuepaget |
Split_string_into_string_list |
localworker |
ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
sponge_uri |
workflow |
|
text_search_by_namespace |
workflow |
|
html2uris |
workflow |
|
localhost_8890_sparql |
localworker |
ScriptURL inputURL = null;
if (base != void) {
inputURL = new URL(new URL(base), url);
}
else {
inputURL = new URL(url);
}
URLConnection con = inputURL.openConnection();
InputStream in = con.getInputStream();
InputStreamReader isr = new InputStreamReader(in);
Reader inReader = new BufferedReader(isr);
StringBuffer buf = new StringBuffer();
int ch;
while ((ch = inReader.read()) > -1) {
buf.append((char)ch);
}
inReader.close();
contents = buf.toString();
//String NEWLINE = System.getProperty("line.separator");
//
//URL inputURL = null;
//if (base != void) {
// inputURL = new URL(new URL(base), url);
//} else {
// inputURL = new URL(url);
//}
//StringBuffer result = new StringBuffer();
//BufferedReader reader = new BufferedReader(new InputStreamReader(inputURL.openStream()));
//String line = null;
//while ((line = reader.readLine()) != null) {
// result.append(line);
// result.append(NEWLINE);
//}
//
//contents = result.toString();
|
sparql_query |
stringconstant |
Valuehttp://localhost:8890/sparql?default-graph-uri=&should-sponge=&query=SELECT+%3Ftype1%2C+count(*)%0D%0AWHERE+{%0D%0A++%3Fs1+%3Fp1+%3Fo1+.+%0D%0A++%3Fo1+bif%3Acontains+%22paget%22+.%0D%0A++%3Fs1+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type%3E+%3Ftype1+.%0D%0A++FILTER+(regex(%3Ftype1%2C+%22http%3A%2F%2Fbio2rdf.org%2F%22))+%0D%0A}&format=text%2Fhtml&debug=on |
Beanshells (3)
Name |
Description |
Inputs |
Outputs |
sponge_uri |
|
uri
|
sparql_xml
|
text_search |
|
string
namespace
|
html
|
html2uri |
|
html
|
uris
|
Outputs (4)
Name |
Description |
out1 |
|
out2 |
|
out3 |
|
out4 |
|
Datalinks (10)
Source |
Sink |
geneid_omim_uniprot:value |
Split_string_into_string_list:string |
html2uris:uris |
sponge_uri:uri |
Split_string_into_string_list:split |
text_search_by_namespace:namespace |
paget:value |
text_search_by_namespace:string |
text_search_by_namespace:html |
html2uris:html |
sparql_query:value |
localhost_8890_sparql:url |
text_search_by_namespace:html |
out1 |
html2uris:uris |
out2 |
sponge_uri:sparql_xml |
out3 |
localhost_8890_sparql:contents |
out4 |
Coordinations (1)
Controller |
Target |
sponge_uri |
localhost_8890_sparql |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2
(of 3)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (1)
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment