Tuberculosis
⬅️ Back | Next ➡️ |
For completeness, we have added a few initial queries for tuberculosis as well.
Contents:
- Translations of the Disease Ontology term DOID:399 (Tuberculosis)
- Top 100 authors of publications covering tuberculosis (according to Wikidata)
- Genes involved in the immune response to tuberculosis
- Concatenated list of tuberculosis genes
Translations of the Disease Ontology term DOID:399 (Tuberculosis)
#title: Translations of the Disease Ontology term DOID:399 (Tuberculosis)
SELECT ?English ?language ?label WHERE {
?disease wdt:P699 "DOID:399";
rdfs:label ?English;
rdfs:label ?label .
BIND(LANG(?label) as ?languageCode)
?wdLanguage wdt:P424 ?languageCode;
rdfs:label ?language .
FILTER EXISTS {?wdLanguage wdt:P31?/wdt:P279+ wd:Q17376908}
FILTER (LANG(?English)="en")
FILTER (LANG(?language)="en")
} ORDER BY ?language
Top 100 authors of publications covering tuberculosis (according to Wikidata)
#title: Top 100 authors of publications covering tuberculosis (according to Wikidata)
#defaultView:BubbleChart
SELECT ?author ?authorLabel (COUNT(?author) AS ?counts) WHERE {
?item wdt:P31 wd:Q13442814 ;
wdt:P50 ?author ;
wdt:P921 wd:Q12204 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?author ?authorLabel
ORDER BY desc(?counts)
LIMIT 100
Genes involved in the immune response to tuberculosis
#title: Genes involved in the immune response to tuberculosis
SELECT ?gene ?geneLabel ?scholia WHERE {
?item wdt:P31 wd:Q4915012 ;
wdt:P527 ?gene ;
wdt:P1050 wd:Q12204 .
?gene wdt:P31 wd:Q7187 .
BIND(uri(CONCAT("https://scholia.toolforge.org/gene/",REPLACE(str(?gene), "http://www.wikidata.org/entity/", ""))) as ?scholia)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Concatenated list of tuberculosis genes
This list can also be shortened and entered into https://string-db.org to provide a network interaction visualization:
#title: Concatenated list of tuberculosis genes
SELECT (GROUP_CONCAT(?geneLabel; SEPARATOR=" ") as ?geneList) WHERE {
?item wdt:P31 wd:Q4915012 ;
wdt:P527 ?gene ;
wdt:P1050 wd:Q12204 .
?gene wdt:P31 wd:Q7187 .
?gene rdfs:label ?geneLabel.
FILTER(LANG(?geneLabel) = "en")
}
STRING Network Interactions
The list of genes from above can be entered here to visualize the network interactions from https://string-db.org:
⬅️ Back | Next ➡️ |