Skip to content

Commit

Permalink
Fix some and remove TODO queries in Swiss-Lipids
Browse files Browse the repository at this point in the history
  • Loading branch information
JervenBolleman committed May 23, 2024
1 parent 1c9820c commit 8def29b
Show file tree
Hide file tree
Showing 20 changed files with 54 additions and 272 deletions.
17 changes: 0 additions & 17 deletions swisslipids/16.ttl

This file was deleted.

17 changes: 0 additions & 17 deletions swisslipids/17.ttl

This file was deleted.

17 changes: 0 additions & 17 deletions swisslipids/18.ttl

This file was deleted.

16 changes: 0 additions & 16 deletions swisslipids/19.ttl

This file was deleted.

15 changes: 0 additions & 15 deletions swisslipids/20.ttl

This file was deleted.

16 changes: 0 additions & 16 deletions swisslipids/21.ttl

This file was deleted.

16 changes: 0 additions & 16 deletions swisslipids/22.ttl

This file was deleted.

14 changes: 0 additions & 14 deletions swisslipids/23.ttl

This file was deleted.

16 changes: 0 additions & 16 deletions swisslipids/24.ttl

This file was deleted.

16 changes: 0 additions & 16 deletions swisslipids/25.ttl

This file was deleted.

17 changes: 13 additions & 4 deletions swisslipids/26.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ ex:26
a sh:SPARQLSelectExecutable, sh:SPARQLExecutable ;
sh:prefixes _:sparql_examples_prefixes ;
schema:target <https://sparql.swisslipids.org/sparql/> ;
rdfs:label "Lipid analyte composition of organisms" ;
rdfs:comment """Returns the list of lipid analytes associated with a list of one or more organisms (NCBI taxonomic IDs).
Output should include the corresponding SwissLipids ID(s) and name(s), and the name(s) and ID(s) of the organisms."""^^rdf:HTML ;
sh:select """SELECT ?TODO WHERE {?TODO a ?TODO} """ .
rdfs:comment "Lipids produced in different organisms" ;
sh:select """SELECT ?swisslipid ?organism {
?swisslipid owl:equivalentClass ?chebi .
SERVICE <https://sparql.rhea-db.org/sparql/> {
?rhea rh:side/rh:contains/rh:compound ?compound .
?compound (rh:chebi|(rh:reactivePart/rh:chebi)|(rh:underlyingChebi/rh:chebi)) ?metabolite .
}
SERVICE <https://sparql.uniprot.org/sparql/> {
?catalyticActivityAnnotation up:catalyticActivity/up:catalyzedReaction ?rhea .
?protein up:annotation ?catalyticActivityAnnotation ;
up:organism ?organism .
}
}""" .
21 changes: 15 additions & 6 deletions swisslipids/27.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@ ex:27
a sh:SPARQLSelectExecutable, sh:SPARQLExecutable ;
sh:prefixes _:sparql_examples_prefixes ;
schema:target <https://sparql.swisslipids.org/sparql/> ;
rdfs:label "Possible lipid structure composition of organisms" ;
rdfs:comment """Returns the list of possible lipid structures associated with a list of one or more organisms (NCBI taxonomic IDs).
Output should include the corresponding SwissLipids ID(s) and name(s), and the name(s) and ID(s) of the organisms.
This query first identifies SwissLipids identifiers for a given list of NCBI taxonomic IDs. It then retrieves the corresponding Isomeric subspecies and returns those.
Extends ex:26"""^^rdf:HTML ;
sh:select """SELECT ?TODO WHERE {?TODO a ?TODO} """ .
rdfs:comment """Find the list of SwissLipids for all organisms and their Isomeric subspecies"""^^rdf:HTML ;
sh:select """SELECT ?swisslipid ?organism {
?swisslipid owl:equivalentClass ?chebi .
SERVICE <https://sparql.rhea-db.org/sparql/> {
?rhea rh:side/rh:contains/rh:compound ?compound .
?compound (rh:chebi|(rh:reactivePart/rh:chebi)|(rh:underlyingChebi/rh:chebi)) ?metabolite .
}
SERVICE <https://sparql.uniprot.org/sparql/> {
?catalyticActivityAnnotation up:catalyticActivity/up:catalyzedReaction ?rhea .
?protein up:annotation ?catalyticActivityAnnotation ;
up:organism ?organism .
}
?swisslipidIsomericSubpecies rdfs:subClassOf ?swisslipid ;
SWISSLIPID:rank SWISSLIPID:Isomeric_Subspecies .
}""" .
16 changes: 0 additions & 16 deletions swisslipids/28.ttl

This file was deleted.

15 changes: 0 additions & 15 deletions swisslipids/29.ttl

This file was deleted.

15 changes: 0 additions & 15 deletions swisslipids/30.ttl

This file was deleted.

15 changes: 0 additions & 15 deletions swisslipids/31.ttl

This file was deleted.

15 changes: 0 additions & 15 deletions swisslipids/32.ttl

This file was deleted.

Loading

0 comments on commit 8def29b

Please sign in to comment.