query-91da276feb698e6c01a9f69ea9c3636a
title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count) title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count) title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count) title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count) title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count) title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available? SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE { ?structure p:P703 []; p:P235 []; # To exclude proteins wdt:P638 ?pdb_id. } GROUP BY ?structure ORDER BY DESC (?count)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
#title: Which are the available structures found in taxon on Wikidata, for which a PDB structure ID is available?
SELECT DISTINCT ?structure (COUNT(DISTINCT ?pdb_id) AS ?count) (GROUP_CONCAT(DISTINCT ?pdb_id; SEPARATOR = ", ") AS ?pdb) WHERE {
?structure p:P703 [];
p:P235 []; # To exclude proteins
wdt:P638 ?pdb_id.
}
GROUP BY ?structure
ORDER BY DESC (?count)
Query found at
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/de
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/en
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/fr
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/it
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/nl
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/ru