Skip to content

Commit

Permalink
feat (networks/sp): species vs pathway new examples
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed May 27, 2024
1 parent 4e5e783 commit bdc685c
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
4 changes: 4 additions & 0 deletions networks/species-pathways/cypher/mapping-copilot.cypher
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Create a node of the type Disease and name Diabetes Mellitus

CREATE (:Disease {name: 'Diabetes Mellitus'})

5 changes: 5 additions & 0 deletions networks/species-pathways/sparql/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# UniProt RDF

https://sparql.uniprot.org/uniprot
https://sparql.uniprot.org/pathways
https://sparql.uniprot.org/uniref
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
object, label
http://purl.obolibrary.org/obo/GO_0005737,"cytoplasm"
http://purl.obolibrary.org/obo/GO_0031965,"nuclear membrane"
http://purl.obolibrary.org/obo/GO_0008270,"zinc ion binding"
http://purl.obolibrary.org/obo/GO_0060071,"Wnt signaling pathway, planar cell polarity pathway"
53 changes: 53 additions & 0 deletions networks/species-pathways/sparql/species-pathways-proteins.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,56 @@ WHERE {
?protein up_core:organism taxon:10090 .
}


# Cluster Casein kinase I isoform delta - 100% (UniRef100_Q9DC28)
# ---------------------------------------------------------------

# All subjects and properties related to the cluster

PREFIX up_ref: <http://purl.uniprot.org/uniref/>

SELECT DISTINCT ?subject ?property
WHERE {
?subject ?property up_ref:UniRef100_Q9DC28 .
}

# All properties and objects related to the cluster

PREFIX up_ref: <http://purl.uniprot.org/uniref/>

SELECT DISTINCT ?property ?object
WHERE {
up_ref:UniRef100_Q9DC28 ?property ?object .
}

# The UniParc which this cluster is member of

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX up_core: <http://purl.uniprot.org/core/>
PREFIX up_ref: <http://purl.uniprot.org/uniref/>

SELECT DISTINCT ?uniparc ?label
WHERE {
up_ref:UniRef100_Q9DC28 up_core:member ?uniparc .
?uniparc rdfs:label ?label .
}

-----
uniparc
UPI0000027B20
-----

# All properties and objects related to the UniParc

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX up_core: <http://purl.uniprot.org/core/>
PREFIX up_arc: <http://purl.uniprot.org/uniparc/>

SELECT DISTINCT ?protein ?organism ?scientific_name
WHERE {
up_arc:UPI0000027B20 up_core:sequenceFor ?protein .
?protein rdf:type up_core:Protein .
?protein up_core:organism ?organism .
?organism up_core:scientificName ?scientific_name .
}

0 comments on commit bdc685c

Please sign in to comment.