query-177634ab70dc8c46794ed18676514e29
Get Gene Ontology subcellular localization information, with evidence codes, and references for Reelin SELECT distinct ?proteinLabel ?value ?valueLabel ?determination ?determinationLabel ?reference_stated_inLabel ?reference_retrieved ?reference_URL WHERE { ?protein wdt:P352 "P78509" . # get a protein by uniprot id ?protein p:P681 ?statement . # get the cell component statements ?statement ps:P681 ?value . # get the value associated with the statement ?statement pq:P459 ?determination . # get 'determination method' qualifiers associated with the statements # change ?determination to wd:Q23175558 for ISS (Inferred from Sequence or structural Similarity) # or e.g. wd:Q23190881 for IEA (Inferred from Electronic Annotation) #add reference links ?statement prov:wasDerivedFrom/pr:P248 ?reference_stated_in . #where stated ?statement prov:wasDerivedFrom/pr:P813 ?reference_retrieved . #when retrieved ?statement prov:wasDerivedFrom/pr:P854 ?reference_URL SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . } } ORDER BY ?value
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Get Gene Ontology subcellular localization information, with evidence codes, and references for Reelin
SELECT distinct ?proteinLabel ?value ?valueLabel ?determination ?determinationLabel ?reference_stated_inLabel ?reference_retrieved ?reference_URL WHERE {
?protein wdt:P352 "P78509" . # get a protein by uniprot id
?protein p:P681 ?statement . # get the cell component statements
?statement ps:P681 ?value . # get the value associated with the statement
?statement pq:P459 ?determination . # get 'determination method' qualifiers associated with the statements
# change ?determination to wd:Q23175558 for ISS (Inferred from Sequence or structural Similarity)
# or e.g. wd:Q23190881 for IEA (Inferred from Electronic Annotation)
#add reference links
?statement prov:wasDerivedFrom/pr:P248 ?reference_stated_in . #where stated
?statement prov:wasDerivedFrom/pr:P813 ?reference_retrieved . #when retrieved
?statement prov:wasDerivedFrom/pr:P854 ?reference_URL
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
} ORDER BY ?value