Wikidata:WikiProgetto Chimica Prodotti naturali

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Wikidata:WikiProject Chemistry Natural products and the translation is 100% complete.


Ambito e progetti correlati

Ambito

Questo ProgettoWiki riguarda type of chemical entity (Q113145171): Wikidata metaclass that covers physical entities of interest in chemistry including molecular entities and pure chemical substances o group of stereoisomers (Q59199015): set of several stereoisomers — che possono essere found in taxon (P703): the taxon in which the item can be found taxon (Q16521): group of one or more organism(s), which a taxonomist adjudges to be a unit — nonché informazioni correlate, in particolare bibliographic reference (Q10358455): minimum data needed to identify the literary source of a piece of information. Questi type of chemical entity (Q113145171): Wikidata metaclass that covers physical entities of interest in chemistry including molecular entities and pure chemical substances sono spesso definiti natural product (Q901227): chemical compound or substance produced by a living organism, found in nature.

Progetti Wiki correlati

Cronologia

Il progetto è stato avviato da Adriano Rutz e Pierre-Marie Allard del University of Geneva (Q503473): public research university located in Geneva, Switzerland e a cui si è aggiunto Jonathan Bisson.

L'obiettivo iniziale era quello di costruire un database aperto che raccogliesse i prodotti naturali, le strutture chimiche, gli organismi produttori e un riferimento bibliografico associato che documentasse tali collegamenti. A tal fine, abbiamo raccolto dati tassonomici, chimici e bibliografici da risorse esistenti e li abbiamo standardizzati.

WikiData con i suoi Progetto Chimica, Progetto Tassonomia, Progetto fonti di metadati si adatta allo scopo di questo database di essere disponibile per tutti e collegato ad altre risorse.

Pubblicazioni

I lavori pubblicati relativi al progetto sono elencati di seguito:

  • Adriano Rutz; Maria Sorokina; Jakub Galgonek; et al. (1 March 2021). "The LOTUS Initiative for Open Natural Products Research: Knowledge Management through Wikidata". bioRxiv. bioRxiv 10.1101/2021.02.28.433265. doi:10.1101/2021.02.28.433265. S2CID 235262250 Check |s2cid= value (help). Wikidata Q105742243.View profile on Scholia
  • Adriano Rutz; Maria Sorokina; Jakub Galgonek; et al. (26 May 2022). "The LOTUS initiative for open knowledge management in natural products research". eLife. 11. doi:10.7554/ELIFE.70780. ISSN 2050-084X. PMC 9135406 Check |pmc= value (help). PMID 35616633 Check |pmid= value (help). S2CID 249064853 Check |s2cid= value (help). Wikidata Q112143478.View profile on Scholia

Participants

Umani

[+] Add yourself to the list

The participants listed below can be notified using the following template in discussions:
{{Ping project|Chemistry Natural products}}

Bots

Il bot (realizzato in Kotlin) è in grado di prendere il nostro file, elaborarlo e aggiungerlo all'istanza Wikidata di prova:

Alcuni esempi:

[1]: Esempio di composto (legato a una specie e con un riferimento)

[2]: Esempio di specie

Poiché non abbiamo alcun endpoint SPARQL per questa istanza di Wikidata, non possiamo verificare facilmente se l'entità esiste già, ma il bot supporta le query SPARQL per risolvere le entità ed evitare di creare duplicati.

Funziona bene, è decentemente veloce nonostante le limitazioni di velocità dell'API.

Repositories

L'organizzazione attuale che raggruppa i repository relativi al progetto è: https://github.com/lotusnprod

Struttura dei dati iniziali

Tabella dei dati minimi
organism_name organism_db organism_id structure_inchikey structure_inchi structure_smiles reference_title reference_doi
Curcuma longa NCBI 136217 VFLDPWHFBUODDF-FCXRPNKRSA-N InChI=1S/C21H20O6/ c1-26-20-11-14(5-9-18 (20)24)3-7-16(22)13-17 (23)8-4-15-6-10-19(25)21 (12-15)27-2/h3-12,24-25H ,13H2,1-2H3/b7-3+,8-4+ COc1cc(/C=C/C(=O) CC(=O)/C=C/c2ccc (O)c(OC)c2)ccc1O Characterization of powdered turmeric by liquid chromatography-mass spectrometry and gas chromatography-mass spectrometry 10.1016/ 0021-9673 (96)00103-3

Abbiamo aggiunto circa 900.000 voci che assomigliano a quella qui sopra.

User:SCIdude ha creato una voce di prova per dimostrare: [3].

Ciò dimostra che la proprietà richiede anche la dichiarazione inversa.

Queries

Contenuto

Cosa c'era già?

Il 2021-05-15, questa query ha mostrato circa 50 dichiarazioni natural product of taxon (P1582): links a natural product with its source (animal, plant, fungal, algal, etc.) e oltre 1.200 found in taxon (P703): the taxon in which the item can be found, queste ultime per lo più metaboliti umani (escludiamo le droghe grezze, gli oli, ecc.). Più di 100 di tutti i tipi non avevano alcun riferimento. Ora la query va in tilt, data la dimensione dei dati aggiunti.

The following query uses these:

  • Properties: instance of (P31)  View with Reasonator View with SQID, natural product of taxon (P1582)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    SELECT ?item ?itemLabel ?taxonLabel ?artLabel WHERE {
      VALUES ?classes {
        wd:Q113145171 # type of a chemical entity
        wd:Q59199015 # group of stereoisomers
      }
      ?item wdt:P31 ?classes. # instance of
      {
        ?item p:P1582 ?stmt. # natural product of taxon
        ?stmt ps:P1582 ?taxon. # natural product of taxon
        OPTIONAL {
          ?stmt prov:wasDerivedFrom ?ref. 
          ?ref pr:P248 ?art. # stated in
        }
      }
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    }
    LIMIT 10000
    

Quali sono le coppie struttura-organismo disponibili su Wikidata? (esempio limitato a 1mio)

Attualmente restituisce circa 700.000 coppie struttura-organismo referenziate.

The following query uses these:

  • Properties: InChIKey (P235)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: Which are the available referenced structure-organism pairs on Wikidata? (limited to 1mio)
    SELECT DISTINCT ?structure ?taxon ?reference WHERE {
      ?structure p:P235 [];
        p:P703 [
          ps:P703 ?taxon;
                  (prov:wasDerivedFrom/pr:P248) ?reference;
        ] . hint:Prior hint:rangeSafe true.
    }
    LIMIT 1000000
    

<span id="What_are_the_compounds_found_in_Mouse-ear_cress_Arabidopsis thaliana (Q158695)_or_children_taxa?">

Quali sono i composti trovati nel arabetta comune Arabidopsis thaliana (Q158695) o nei taxa figli?

The following query uses these:

  • Properties: parent taxon (P171)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, InChI (P234)  View with Reasonator View with SQID
    #title: What are the compounds found in Mouse-ear cress Arabidopsis thaliana (Q158695) or children taxa?
    SELECT DISTINCT ?structure ?structureLabel ?structure_inchi WHERE {
      VALUES ?taxon {
        wd:Q158695                          # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete
      }
      ?children (wdt:P171*) ?taxon.         # Include children taxa
      ?structure wdt:P703 ?children;        # Get the taxon of the structure
                 wdt:P234 ?structure_inchi. # Get the InChI
      SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
    }
    LIMIT 10000
    

<span id="Which_organisms_are_known_to_contain_beta-sitosterol (Q121802)?">

Quali organismi sono noti per contenere beta-sitosterol (Q121802)?

The following query uses these:

  • Properties: found in taxon (P703)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID
    #title: Which organisms are known to contain Beta-Sitosterol (Q121802)?
    SELECT DISTINCT ?taxon ?taxon_name WHERE {
      VALUES ?compound {
        wd:Q121802                       # You can remove the Qxxxxxx and hit Ctrl+space, type the first letters and it should autocomplete
      }
      ?compound wdt:P703 ?taxon.         # Found in taxon
      ?taxon wdt:P225 ?taxon_name.       # Get scientific name of the taxon
    }
    LIMIT 10000
    

<span id="Which_organisms_are_known_to_contain_stereoisomers_of_beta-sitosterol (Q121802)?">

Quali organismi sono noti per contenere stereoisomeri di beta-sitosterol (Q121802)?

The following query uses these:

  • Properties: InChIKey (P235)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID
    #title: Which organisms are known to contain stereoisomers of Beta-Sitosterol (Q121802)?
    SELECT ?taxon_name ?compound ?InChIKey WITH {
      SELECT ?queryKey ?srsearch ?filter WHERE {
        VALUES ?queryKey {
          "KZJWDPNRJALLNS-VJSFXXLFSA-N" # beta-sitosterol
        }
        BIND (CONCAT(substr($queryKey,1,14), " haswbstatement:P235") AS ?srsearch)
        BIND (CONCAT("^", substr($queryKey,1,14)) AS ?filter)
      }
    } AS %comps WITH {
      SELECT ?compound ?InChIKey WHERE {
        INCLUDE %comps
                SERVICE wikibase:mwapi {
                  bd:serviceParam wikibase:endpoint "www.wikidata.org";
                                  wikibase:api "Search";
                                  mwapi:srsearch ?srsearch;
                                  mwapi:srlimit "max".
                  ?compound wikibase:apiOutputItem mwapi:title.
                }
        ?compound wdt:P235 ?InChIKey .
        FILTER (REGEX(STR(?InChIKey), ?filter))
        FILTER (?InChIKey != ?queryKey)
      }
    } AS %compounds
    WHERE {
      INCLUDE %compounds
              ?compound (wdt:P703/wdt:P225) ?taxon_name.
    }
    LIMIT 10000
    

Quali composti corrispondenti alla (a) formula(e) molecolare(i) data(e) si trovano in quale(i) organismo(i)?

The following query uses these:

  • Properties: chemical formula (P274)  View with Reasonator View with SQID, canonical SMILES (P233)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID
    #title: Which taxa contain structures corresponding to the following chemical formula?
    SELECT DISTINCT ?structure ?smiles_canonical ?formula ?taxon ?taxon_name WHERE {
      VALUES ?formula {
        "C₉H₁₁Cl₂FN₂O₂S₂" # Use lower case digits ₁₂₃₄₅₆₇₈₉₀
        "C₂₂H₂₂O₉" 
      }
      ?structure wdt:P274 ?formula;
        wdt:P233 ?smiles_canonical;
        wdt:P703 ?taxon.
      ?taxon wdt:P225 ?taxon_name.
    }
    LIMIT 10000
    

Quali composti corrispondenti a una data massa ± 10ppm si trovano in quali organismi?

The following query uses these:

  • Properties: mass (P2067)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID, InChI (P234)  View with Reasonator View with SQID, chemical formula (P274)  View with Reasonator View with SQID
    #title: Which compounds corresponding to a given mass ± 10ppm are found in which organism(s)?
    SELECT DISTINCT ?compound ?mf ?inchi (GROUP_CONCAT(?taxon_name; SEPARATOR = ", ") AS ?organism) WITH {
      SELECT ?compound WHERE {
        VALUES ?query {
          "524.1765"^^xsd:decimal
        }
        VALUES ?ppm {
          "10"^^xsd:decimal
        }
        ?compound wdt:P2067 ?mass.
        FILTER((?mass > (?query - ((?ppm * "0.000001"^^xsd:decimal) * ?query))) && (?mass < (?query + ((?ppm * "0.000001"^^xsd:decimal) * ?query))))
      }
    } AS %compounds WHERE {
      INCLUDE %compounds
      ?compound (wdt:P703/wdt:P225) ?taxon_name;
        wdt:P234 ?inchi;
        wdt:P274 ?mf.
    }
    GROUP BY ?compound ?mf ?inchi
    LIMIT 10000
    

Quali pigmenti si trovano in quali taxa, secondo quale riferimento?

The following query uses these:

  • Properties: instance of (P31)  View with Reasonator View with SQID, subclass of (P279)  View with Reasonator View with SQID, DOI (P356)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: Which pigments are found in which taxa, according to which reference?
    # special thanks goes to User:Lmichan for updating this information!
    SELECT DISTINCT ?compound ?compoundLabel ?taxon ?taxonname ?DOI 
    WITH {
      SELECT ?compound WHERE {
        ?compound (wdt:P31*/wdt:P279*) wd:Q161179.  # get pigments
      }
    } AS %compounds
    WITH {
      SELECT ?compound ?P703statement WHERE {
        INCLUDE %compounds
                ?compound p:P703 ?P703statement.    # check for "found in taxon" statements
      }
    } AS %P703statement
    WITH {
      SELECT ?compound ?taxon ?DOI WHERE {
        INCLUDE %P703statement
                ?P703statement ps:P703 ?taxon ;     # get the respective taxa
                prov:wasDerivedFrom / pr:P248 [     # get the reference supporting that statement
                  wdt:P356 ?DOI                     # get the DOI for the reference
                ] .
      }
    } AS %taxa
    WHERE {
      {
        INCLUDE %taxa
    
                ?taxon wdt:P225 ?taxonname .        # get the taxon name
      }
      ?compound rdfs:label ?compoundLabel .         # get compound labels
      FILTER (LANG(?compoundLabel) = "en") .        # filter for English
    }
    ORDER BY ASC(?compoundLabel)
    LIMIT 10000
    

Quali sono gli esempi di organismi in cui sono stati trovati composti in un organismo che condivide lo stesso taxon parentale, ma non l'organismo stesso?

The following query uses these:

  • Properties: InChIKey (P235)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, parent taxon (P171)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID
    #title: What are examples of organisms where compounds were found in an organism sharing the same parent taxon, but not the organism itself?
    SELECT DISTINCT ?compound ?compoundLabel ?taxonname_with_compound ?taxonname_without_compound ?parent_taxon WITH{ 
      SELECT DISTINCT ?compound ?taxon_with_compound ?parent_taxon 
      WHERE {
        ?compound wdt:P235 ?inchikey.
        SERVICE bd:sample { ?compound wdt:P703 ?taxon_with_compound. bd:serviceParam bd:sample.limit 1000 }   
        ?taxon_with_compound wdt:P171 ?parent_taxon.
      }
    } AS %taxon_with_compound 
    WITH
    { 
      SELECT DISTINCT ?taxon_without_compound ?parent_taxon ?compound 
      WHERE {
        INCLUDE %taxon_with_compound
        ?taxon_without_compound wdt:P171 ?parent_taxon.
        FILTER (?taxon_with_compound != ?taxon_without_compound)
      }
    } AS %taxon2 
    WHERE {
      INCLUDE %taxon_with_compound
      INCLUDE %taxon2
      FILTER NOT EXISTS {?compound wdt:P703 ?taxon_without_compound.}
      ?taxon_with_compound wdt:P225 ?taxonname_with_compound.
      ?taxon_without_compound wdt:P225 ?taxonname_without_compound.
      ?compound rdfs:label ?compoundLabel.
      FILTER(LANG(?compoundLabel) = "en").
    }
    LIMIT 10000
    

<span id="Which_Zephyranthes (Q191364)_spp._lack_compounds_known_from_at_least_two_species_in_the_genus?">

Quali Zephyranthes (Q191364) spp. mancano di composti noti in almeno due specie del genere?

The following query uses these:

  • Properties: found in taxon (P703)  View with Reasonator View with SQID, parent taxon (P171)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID, instance of (P31)  View with Reasonator View with SQID, subclass of (P279)  View with Reasonator View with SQID
    #title: Which Zephyranthes (Q191364) spp. lack compounds known from at least two species in the genus?
    PREFIX target: <http://www.wikidata.org/entity/Q191364> # Zephyranthes
    SELECT DISTINCT ?compound ?compoundLabel ?taxon_with_compound ?another_taxon_with_compound ?taxon_without_compound WITH { 
      SELECT DISTINCT ?compound ?taxon_YES_1 ?taxon_YES_2 
      WHERE {
        ?compound wdt:P703 ?taxon_YES_1 .
        ?compound wdt:P703 ?taxon_YES_2 .
        ?taxon_YES_1 wdt:P171 target: .
        ?taxon_YES_2 wdt:P171 target: .
        FILTER (?taxon_YES_2 != ?taxon_YES_1)
      }
    } AS %taxa_with_compound 
    WITH
    { 
      SELECT DISTINCT ?taxon_NO ?compound 
      WHERE {
        INCLUDE %taxa_with_compound
        ?taxon_NO wdt:P171 target: .
        FILTER (?taxon_YES_1 != ?taxon_NO)
      }
    } AS %taxon_without_compond 
    WHERE {
      INCLUDE %taxa_with_compound
      INCLUDE %taxon_without_compond
      FILTER NOT EXISTS { ?compound wdt:P703 ?taxon_NO .}
      VALUES ?classes {
        wd:Q113145171
        wd:Q59199015
      }
      ?taxon_YES_1 wdt:P225 ?taxon_with_compound .
      ?taxon_YES_2 wdt:P225 ?another_taxon_with_compound .
      ?taxon_NO wdt:P225 ?taxon_without_compound .
      ?compound (wdt:P31*/wdt:P279*) ?classes .
      ?compound rdfs:label ?compoundLabel.
      FILTER(LANG(?compoundLabel) = "en").
    }
    LIMIT 10000
    

Quanti composti sono strutturalmente simili ai composti etichettati come antibiotici? I risultati sono raggruppati in base al taxon parentale dell'organismo in cui sono stati trovati.

The following query uses these:

  • Properties: subclass of (P279)  View with Reasonator View with SQID, subject has role (P2868)  View with Reasonator View with SQID, MeSH descriptor ID (P486)  View with Reasonator View with SQID, canonical SMILES (P233)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, parent taxon (P171)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID
    #title: How many compounds are structurally similar to compounds labeled as antibiotics? Results are grouped by the parent taxon of the organism they were found in.
    PREFIX sachem: <http://bioinfo.uochb.cas.cz/rdf/v1.0/sachem#> # prefixes needed for structural similarity search
    PREFIX idsm: <https://idsm.elixir-czech.cz/sparql/endpoint/>
    SELECT ?parent_taxon ?parent_taxon_name (COUNT(DISTINCT ?compound) AS ?count) WHERE {
      SERVICE idsm:wikidata {
        VALUES ?CUTOFF {
          "0.9"^^xsd:double
        }
        SERVICE <https://query.wikidata.org/bigdata/namespace/wdq/sparql> {
          VALUES ?MESH {
            "D000900"
          }
          ?antibiotic ((wdt:P279*)/wdt:P2868/wdt:P486) ?MESH;
            wdt:P233 ?smiles.
        }
        ?compound sachem:similarCompoundSearch _:b40.
        _:b40 sachem:query ?smiles;
          sachem:cutoff ?CUTOFF.
      }
      hint:Prior hint:runFirst "true"^^xsd:boolean.
      ?compound wdt:P703/wdt:P171 ?parent_taxon.
      ?parent_taxon wdt:P225 ?parent_taxon_name.
    }
    GROUP BY ?parent_taxon ?parent_taxon_name
    ORDER BY DESC (?count)
    

Quali organismi contengono scheletri indolichi? Contate le occorrenze, raggruppate e ordinate i risultati in base al taxon di origine.

The following query uses these:

  • Properties: parent taxon (P171)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID
    #title: Which organisms contain at least 100 indolic scaffolds? Results ordered by parent taxon.
    PREFIX sachem: <http://bioinfo.uochb.cas.cz/rdf/v1.0/sachem#> # prefixes needed for structural similarity search
    PREFIX idsm: <https://idsm.elixir-czech.cz/sparql/endpoint/>
    SELECT ?parent_taxon ?parent_taxon_name (COUNT(DISTINCT ?compound) AS ?count) WHERE {
      SERVICE idsm:wikidata {
        VALUES ?SUBSTRUCTURE {
          "C12=C(C=CC=C2)C=CN1" # indolic scaffold
        }
        ?compound sachem:substructureSearch [
          sachem:query ?SUBSTRUCTURE
        ].
      } hint:Prior hint:runFirst "true"^^xsd:boolean.
      ?compound p:P703 ?statement.
      ?statement ps:P703/wdt:P171 ?parent_taxon.
      ?parent_taxon wdt:P225 ?parent_taxon_name.
    }
    GROUP BY ?parent_taxon ?parent_taxon_name
    HAVING (?count > 100)
    ORDER BY DESC (?count)
    

<span id="Which_compounds_with_known_bioactivities_were_isolated_from_Actinomycetes (Q62606918),_between_2014_and_2019,_with_related_organisms_and_references?">

Quali composti con bioattività note sono stati isolati da Actinomycetes (Q62606918), tra il 2014 e il 2019, con organismi correlati e riferimenti?

The following query uses these:

  • Properties: parent taxon (P171)  View with Reasonator View with SQID, taxon name (P225)  View with Reasonator View with SQID, InChI (P234)  View with Reasonator View with SQID, subject has role (P2868)  View with Reasonator View with SQID, MeSH descriptor ID (P486)  View with Reasonator View with SQID, title (P1476)  View with Reasonator View with SQID, publication date (P577)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: Which compounds with known bioactivities were isolated from Actinomycetes (Q62606918), between 2014 and 2019, with related organisms and references?
    SELECT ?organism ?organism_name ?compound ?compound_inchi (GROUP_CONCAT(DISTINCT ?meshLabel; SEPARATOR = "|") AS ?bioactivities) ?isolation_reference ?reference_title WHERE {
      ?organism (wdt:P171*) wd:Q62606918;
        wdt:P225 ?organism_name.
      ?compound wdt:P234 ?compound_inchi;
        p:P703 ?statement;
        (wdt:P2868/wdt:P486) ?meshId.
      ?mesh wdt:P486 ?meshId;
        rdfs:label ?meshLabel.
      FILTER(LANGMATCHES(LANG(?meshLabel), "EN"))
      ?statement ps:P703 ?organism;
        prov:wasDerivedFrom ?ref.
      ?ref pr:P248 ?isolation_reference.
      ?isolation_reference wdt:P1476 ?reference_title;
        wdt:P577 ?reference_date.
      FILTER(((YEAR(?reference_date)) >= 2014 ) && ((YEAR(?reference_date)) <= 2019 ))
    }
    GROUP BY ?organism ?organism_name ?compound ?compound_inchi ?isolation_reference ?reference_title
    LIMIT 100000
    

<span id="Which_compounds_labelled_as_terpenoids (Q426694)_were_found_in_Aspergillus (Q335130)_spp.,_between_2010_and_2020,_with_related_references?">

Quali composti etichettati come terpenoids (Q426694) sono stati trovati in Aspergillus (Q335130) spp. tra il 2010 e il 2020, con i relativi riferimenti?

The following query uses these:

  • Properties: InChIKey (P235)  View with Reasonator View with SQID, InChI (P234)  View with Reasonator View with SQID, instance of (P31)  View with Reasonator View with SQID, subclass of (P279)  View with Reasonator View with SQID, parent taxon (P171)  View with Reasonator View with SQID, title (P1476)  View with Reasonator View with SQID, publication date (P577)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: Which compounds labelled as terpenoid (Q426694) were found in Aspergillus (Q335130) spp., between 2010 and 2020, with related references?
    SELECT ?compound ?compound_inchi (GROUP_CONCAT(DISTINCT ?isolation_reference; SEPARATOR = "|") AS ?isolation_references) (GROUP_CONCAT(DISTINCT ?reference_title; SEPARATOR = "|") AS ?references_titles) WHERE {
      VALUES ?taxon {
        wd:Q335130
      }
      VALUES ?chemical_class {
        wd:Q426694
      }
      ?compound wdt:P235 ?compound_id;
        wdt:P234 ?compound_inchi;
        ((wdt:P31|wdt:P279)/(wdt:P279*)) ?compound_class;
        p:P703 ?statement.
      ?statement (ps:P703/(wdt:P171*)) ?taxon;
        (prov:wasDerivedFrom/pr:P248) ?isolation_reference.
      ?isolation_reference wdt:P1476 ?reference_title;
        wdt:P577 ?reference_date.
      FILTER(((YEAR(?reference_date)) >= 2010 ) && ((YEAR(?reference_date)) <= 2020 ))
      FILTER(?compound_class = ?chemical_class)
    }
    GROUP BY ?compound ?compound_inchi
    

Quante coppie struttura-organismo sono state citate da alcuni autori? (Qui, due chimici dei prodotti naturali di alto livello sono confrontati con il defunto Ferdinand Bohlmann)

The following query uses these:

  • Properties: author (P50)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: How many structures found in taxon have been referenced by certain authors? (Here, two senior natural products chemists are compared to the late Ferdinand Bohlmann)
    #defaultView:BarChart
    SELECT ?authors_namesLabel (COUNT(DISTINCT(?compound)) AS ?count) WHERE {
      ?compound p:P703/prov:wasDerivedFrom/pr:P248 ?art.  # Get the references
      VALUES ?authors_names {
        wd:Q56084663                                      # JLW
        wd:Q40259636                                      # GFP
        wd:Q1405133                                       # A german chemist of the 20th century ... Ferdinand Bohlmann
      }
      ?art wdt:P50 ?authors_names.                        # Limit to references containing the author
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    }
    GROUP BY ?authors_namesLabel
    ORDER BY DESC (?count)
    

Quali sono le coppie struttura-organismo disponibili su Wikidata, per le quali è disponibile un ID struttura PDB?

The following query uses these:

  • Properties: PDB structure ID (P638)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID, InChIKey (P235)  View with Reasonator View with SQID
    #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)
    

Quali sono le coppie struttura-organismo disponibili su Wikidata, per le quali è disponibile un codice di riferimento CSD?

The following query uses these:

  • Properties: CSD Refcode (P11375)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID
    #title: Which are the available structures found in taxon on Wikidata, for which a CSD Refcode is available?
    SELECT DISTINCT ?structure (COUNT(DISTINCT ?csd_id) AS ?count) (GROUP_CONCAT(DISTINCT ?csd_id; SEPARATOR = ", ") AS ?csd) WHERE {
      ?structure p:P703 [];
                 wdt:P11375 ?csd_id.
    }
    GROUP BY ?structure
    ORDER BY DESC (?count)
    

Quali sono le coppie struttura-organismo disponibili su Wikidata, per le quali è disponibile un numero di registro CAS? (limitato a 1mio)

Se si utilizza questa ricerca, si prega di citare Andrea Jacobs; Dustin Williams; Katherine Hickey; et al. (13 May 2022). "CAS Common Chemistry in 2021: Expanding Access to Trusted Chemical Information for the Scientific Community". Journal of Chemical Information and Modeling. doi:10.1021/ACS.JCIM.2C00268. ISSN 1549-9596. Wikidata Q111987319.View profile on Scholia

The following query uses these:

  • Properties: found in taxon (P703)  View with Reasonator View with SQID, CAS Registry Number (P231)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID, retrieved (P813)  View with Reasonator View with SQID
    #title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio)
    SELECT DISTINCT ?structure ?cas ?date WHERE {
      {
        ?structure p:P703 [];                        # Found in taxon
                   p:P231 ?casStatement .            # Get the CAS Registry Number
      }
      {
        ?casStatement ps:P231 ?cas .
        OPTIONAL {
          ?casStatement prov:wasDerivedFrom ?casReference .
          { ?casReference pr:P248 wd:Q18907859 . }
          UNION
          { ?casReference pr:P248 wd:Q911173 . }
          OPTIONAL { ?casReference pr:P813 ?date . }
        }
      }
    }
    LIMIT 1000000
    

Quali strutture chimiche trovate nel taxon sono state riassegnate? Elenco di SMILES deprecati e attuali

The following query uses these:

  • Properties: canonical SMILES (P233)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID, reason for deprecated rank (P2241)  View with Reasonator View with SQID, reason for preferred rank (P7452)  View with Reasonator View with SQID
    #title: Which chemical structures found in taxon were reassigned (Q116482192)? List deprecated and actual SMILES
    SELECT ?item ?valueDeprecated ?valueNew ?referenceOld ?referenceNew WHERE {
      ?item p:P233 ?st, ?st2.
      ?st ps:P233 ?valueDeprecated;
        wikibase:rank wikibase:DeprecatedRank;
        pq:P2241 wd:Q116482192;
        (prov:wasDerivedFrom/pr:P248) ?referenceOld.
      ?st2 ps:P233 ?valueNew;
        wikibase:rank wikibase:PreferredRank;
        pq:P7452 wd:Q116482192;
        (prov:wasDerivedFrom/pr:P248) ?referenceNew.
      FILTER(?referenceOld != ?referenceNew)
    }
    LIMIT 100000
    

Manutenzione

Quali sono le coppie struttura-organismo disponibili su Wikidata? (con P1582 e non P703 che stiamo usando)

Questa ricerca ha restituito 21 risultati il 2022-02-24.

The following query uses these:

  • Properties: instance of (P31)  View with Reasonator View with SQID, natural product of taxon (P1582)  View with Reasonator View with SQID, stated in (P248)  View with Reasonator View with SQID
    #title: Which are the available referenced structure-organism pairs on Wikidata? (with P1582 and not P703 we are using)
    SELECT DISTINCT (REPLACE(STR(?item), ".*Q", "Q") AS ?qid) (REPLACE(STR(?taxon), ".*Q", "Q") AS ?P703) (REPLACE(STR(?art), ".*Q", "Q") AS ?S248) WHERE {
      VALUES ?classes {
        wd:Q113145171
        wd:Q59199015
      }
      ?item wdt:P31 ?classes.
      {
        ?item p:P1582 ?stmt.
        ?stmt ps:P1582 ?taxon;
          prov:wasDerivedFrom ?ref.
        ?ref pr:P248 ?art.
      }
    }
    LIMIT 1000
    

Quali sono le coppie struttura-organismo non referenziate disponibili su Wikidata? (limitato a 10)

The following query uses these:

  • Properties: InChIKey (P235)  View with Reasonator View with SQID, found in taxon (P703)  View with Reasonator View with SQID
    #title: Which are the available non-referenced structure-organism pairs on Wikidata? (limited to 10)
    SELECT ?statement WHERE {
      [ p:P235 [];
        p:P703 ?statement; ]
      MINUS { ?statement prov:wasDerivedFrom []. }
    }
    LIMIT 10
    

Discussioni

Qui si tengono alcuni scambi e discussioni riguardanti, ad esempio, l'uso di mappature appropriate o di proprietà specifiche.