annotate examples/sadi_merge_output.sparql @ 6:a579eb280308 draft default tip

Python script modified to render TSV results properly
author mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
date Fri, 07 Nov 2014 15:56:43 +0100
parents 24ad2706526c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
1 PREFIX sio_resource: <http://semanticscience.org/resource/>
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
2 PREFIX sadi_pred: <http://sadiframework.org/ontologies/predicates.owl#>
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
3 SELECT DISTINCT ?protein ?SNP ?kegg_id
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
4 WHERE {
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
5 ?protein sadi_pred:isEncodedBy ?kegg_id .
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
6 ?protein sio_resource:SIO_000272 ?SNP .
24ad2706526c Reimplemented in Python, using RDFLib
mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
7 }