- changed status to resolved
Mouse proteins encoded by human genes
Issue #55
resolved
There are 29 mouse proteins encoded by human genes
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
SELECT ?gene ?uniprot ?protein_aff ?total WHERE {
{
SELECT distinct ?uniprot (count(?uniprot) as ?total) WHERE {
?gene wdt:P703 wd:Q83310 ;
wdt:P279 wd:Q7187 ;
wdt:P688 ?protein .
?protein wdt:P352 ?uniprot ;
wdt:P703 wd:Q5 .
}
Group BY ?uniprot
}
?protein_aff wdt:P352 ?uniprot .
?gene wdt:P688 ?protein_aff ;
wdt:P703 wd:Q5 .
FILTER (?total > 1)
}
ORDER BY ?gene
Comments (4)
-
-
reporter - changed status to open
This is not solved, 143 human genes still encode for mouse proteins:
PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX p: <http://www.wikidata.org/prop/> PREFIX v: <http://www.wikidata.org/prop/statement/> SELECT distinct ?gene ?protein WHERE { ?gene wdt:P703 wd:Q5 ; wdt:P688 ?protein . ?protein wdt:P703 wd:Q83310 . }
-
-
- changed status to resolved
Provided query.wikidata.org is correct, this issue seems to be fixed
- Log in to comment
https://query.wikidata.org/#PREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%20%0APREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX%20p%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2F%3E%0APREFIX%20v%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fstatement%2F%3E%0A%0ASELECT%20%3Fgene%20%3Funiprot%20%3Fprotein_aff%20%3Ftotal%20WHERE%20%7B%0A%20%20%7B%0A%20%20SELECT%20distinct%20%3Funiprot%20(count(%3Funiprot)%20as%20%3Ftotal)%20WHERE%20%7B%0A%20%20%20%20%3Fgene%20wdt%3AP703%20wd%3AQ83310%20%3B%0A%20%20%20%20%20%20%20%20%20%20wdt%3AP279%20wd%3AQ7187%20%3B%0A%20%20%20%20%20%20%20%20%20%20wdt%3AP688%20%3Fprotein%20.%20%0A%20%20%20%20%3Fprotein%20wdt%3AP352%20%3Funiprot%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP703%20wd%3AQ5%20.%0A%20%20%20%20%7D%0A%20%20%20%20Group%20BY%20%3Funiprot%0A%20%20%7D%0A%0A%20%20%3Fprotein_aff%20wdt%3AP352%20%3Funiprot%20.%0A%20%20%3Fgene%20wdt%3AP688%20%3Fprotein_aff%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP703%20wd%3AQ5%20.%0A%0A%20%20FILTER%20(%3Ftotal%20%3E%201)%0A%20%7D%0A%20ORDER%20BY%20%3Fgene