⬅️  Back Next ➡️

For completeness, we have added a few initial queries for tuberculosis as well.

Contents:

  1. Translations of the Disease Ontology term DOID:399 (Tuberculosis)
  2. Top 100 authors of publications covering tuberculosis (according to Wikidata)
  3. Genes involved in the immune response to tuberculosis
  4. 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


Contents ↑



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


Contents ↑



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". }
}


Contents ↑



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:



Contents ↑


⬅️  Back Next ➡️