Properly constructing the geo soft file really needed multiple sparql queries.
[htsworkflow.git] / htsworkflow / templates / geo_platform.sparql
1 PREFIX libraryOntology: <http://jumpgate.caltech.edu/wiki/LibraryOntology#>
2 PREFIX submissionOntology: <http://jumpgate.caltech.edu/wiki/UcscSubmissionOntology#>
3 PREFIX ucscDaf: <http://jumpgate.caltech.edu/wiki/UcscDaf#>
4 PREFIX ncbiTaxon: <http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=>
5 PREFIX geoSoft: <http://www.ncbi.nlm.nih.gov/geo/info/soft2.html#>
6
7
8 select distinct ?name ?value
9 WHERE {
10   <{{submission}}> submissionOntology:has_platform ?platform .
11   ?platform a geoSoft:platform .
12
13   ?platform ?name ?value .
14 }