flowchart LR
A(("Subject")) -->|"Predicate"| B(("Object"))
“Knowledge Graphs for Plant and Microbiome Multiomics” Symposium, Wageningen
October 14, 2025
Slide adapted from Pierre-Marie Allard
Slide adapted from Pierre-Marie Allard
Slide adapted from Pierre-Marie Allard
Slide adapted from Pierre-Marie Allard
Slide adapted from Pierre-Marie Allard
Plant taxonomy would be the most useful guide to man in his search for new industrial and medicinal plants
de Candolle (1816)
For more information, see Rutz et al. (2019)
For more information, see Rutz et al. (2022)
For more information, see Waagmeester et al. (2020)
flowchart LR
A(("Subject")) -->|"Predicate"| B(("Object"))
flowchart LR
A((Wikidata)) -->|"instance of"| B(("Knowledge base"))
flowchart LR
A(("wd:Q2013")) -->|"wdt:P31"| B(("wd:Q33002955"))
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
flowchart LR
A((<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Wikidata-logo-en.svg"; width="10" />)) -->|"instance of"| B(("Knowledge base"))
A -->|"Language used"| C((Multilingual))
flowchart LR
A((<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Wikidata-logo-en.svg"; width="10" />)) -->|"instance of"| B(("Knowledge base"))
A -->|"Language used"| C((Multilingual))
D((Privacy policy)) -->|"Language used"| C((Multilingual))
E((<img src="https://upload.wikimedia.org/wikipedia/commons/2/20/YouTube_2024.svg"; width="10" />)) -->|"Privacy policy URL"| D
F(("Youtuber")) --> |"Named after"| E
G((<img src="https://upload.wikimedia.org/wikipedia/commons/6/60/NikkiedeJager2020-2.jpg"; width="10" />)) --> |"Occupation"| F
flowchart LR
A((<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/Wikidata-logo-en.svg"; width="10" />)) -->|"instance of"| B(("Knowledge base"))
A -->|"Language used"| C((Multilingual))
D((Privacy policy)) -->|"Language used"| C((Multilingual))
E((<img src="https://upload.wikimedia.org/wikipedia/commons/2/20/YouTube_2024.svg"; width="10" />)) -->|"Privacy policy URL"| D
F(("Youtuber")) --> |"Named after"| E
G((<img src="https://upload.wikimedia.org/wikipedia/commons/6/60/NikkiedeJager2020-2.jpg"; width="10" />)) --> |"Occupation"| F
G --> |"Place of Birth"| H(("Wageningen"))
I((<img src="https://upload.wikimedia.org/wikipedia/commons/6/6a/WUR_forum_building.JPG"; width="10" />)) --> |"Headquarters location"| H(("Wageningen"))
Link to the query: https://w.wiki/Ff2k On 2025-10-13: 66 results
Link to the query: https://w.wiki/Ff2o On 2025-10-13: 1,278,986 results
Note
More info at https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry/Guidelines/Basic_metaclasses_and_relations and Willighagen et al. (2025)
Link to the query: https://w.wiki/Ff35 On 2025-10-13: 3,794,152 results
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?ncbi_id ?gbif_id WHERE {
?item wdt:P31 wd:Q16521; # taxon
wdt:P685 ?ncbi_id. # NCBI ID
OPTIONAL {
?item wdt:P846 ?gbif_id # GBIF ID
}
MINUS {
?item wdt:P9157 ?ott_id # Open Tree of Life ID
}
}Link to the query: https://qlever.dev/wikidata/Q8VmpN On 2025-10-13: 95,112 results
Link to the query: https://qlever.dev/wikidata/QHkhai
| ?p | ?count |
|---|---|
| P703 | 457,217 |
| P1582 | 30 |
| P2849 | 28 |
| P138 | 17 |
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Referenced compound-taxon pairs on Wikidata.
SELECT DISTINCT ?compound ?compound_inchikey ?taxon ?taxon_name ?reference WHERE {
?compound wdt:P235 ?compound_inchikey; # get the inchikey
p:P703[ # statement found in taxon
ps:P703 ?taxon; # get the taxon
prov:wasDerivedFrom [
pr:P248 ?reference ] # get the reference
].
?taxon wdt:P225 ?taxon_name. # get the taxon scientific name
}Link to the query: https://w.wiki/FfPJ On 2025-10-13: 675,781 results
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT
?structure ?structure_smiles ?structure_inchikey
WHERE {
VALUES ?organism {
wd:Q43084 # Piper nigrum
}
?organism_child (wdt:P171*) ?organism.
?structure wdt:P233 ?structure_smiles;
wdt:P235 ?structure_inchikey;
(p:P703/ps:P703) ?organism_child.
}Link to the query: https://w.wiki/FfPL On 2025-10-13: 433 results
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT
?structure ?structure_smiles ?structure_inchikey
WHERE {
VALUES ?organism {
wd:Q156522 # Piperaceae
}
?organism_child (wdt:P171*) ?organism.
?structure wdt:P233 ?structure_smiles;
wdt:P235 ?structure_inchikey;
(p:P703/ps:P703) ?organism_child.
}Link to the query: https://w.wiki/FfPR On 2025-10-13: 1,872 results
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT
?structure ?structure_smiles ?structure_inchikey
WHERE {
VALUES ?organism {
wd:Q846071 # magnoliids
}
?organism_child (wdt:P171*) ?organism.
?structure wdt:P233 ?structure_smiles;
wdt:P235 ?structure_inchikey;
(p:P703/ps:P703) ?organism_child.
}Link to the query: https://w.wiki/FfPWL On 2025-10-13: 9,774 results
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT
?structure ?structure_smiles ?structure_inchikey
WHERE {
VALUES ?organism {
wd:Q846071 # magnoliids
}
VALUES ?taste {
wd:Q1517187 # bitterness
}
?organism_child (wdt:P171*) ?organism.
?structure wdt:P233 ?structure_smiles;
wdt:P235 ?structure_inchikey;
wdt:P1552 ?taste;
(p:P703/ps:P703) ?organism_child.
}Link to the query: https://w.wiki/Ffb6 On 2025-10-13: 117 results
Jose, Maharshi, and Jha (2021)
Link to the query: https://lotus.nprod.net/lotus-sparql-examples/examples/NPs/wd_nps_bioactivity_scholarly_subgraph.html On 2025-10-13: 571 results
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Which taxa have children (or themselves) with known chemicals, genes, and proteins? (search)
SELECT ?child ?child_name (COUNT(DISTINCT ?g) AS ?genome) (COUNT(DISTINCT ?m) AS ?metabolome) (COUNT(DISTINCT ?p) AS ?proteome) WHERE {
{ ... }
}
GROUP BY ?child ?child_name
HAVING (((?genome > 0 ) || (?metabolome > 0 )) || (?proteome > 0 ))Link to the query: https://adafede.github.io/sparql-examples/examples/Omics/wd_omics_search.html
Author display: https://www.wikidata.org/wiki/User:Ricordisamoa/WikidataTrust.js
Chemical depiction: https://www.wikidata.org/wiki/User:Egon_Willighagen/cdkdepict_gadget.js
Note
Exmaple how to load gadgets https://www.wikidata.org/wiki/User:AdrianoRutz/common.js
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#title: Pigments found in taxa, with reference.
# special thanks goes to User:Lmichan for updating this information!
SELECT DISTINCT ?compound ?compoundLabel ?taxon ?taxonname ?DOI WHERE {
?compound p:P703 ?P703statement;
((wdt:P31*)/(wdt:P279*)) wd:Q161179.
?P703statement ps:P703 ?taxon;
(prov:wasDerivedFrom/pr:P248) ?ref.
SERVICE <https://query-scholarly.wikidata.org/sparql> {
?ref wdt:P356 ?DOI.
}
?taxon wdt:P225 ?taxonname.
?compound rdfs:label ?compoundLabel.
FILTER((LANG(?compoundLabel)) = "en")
}
ORDER BY (?compoundLabel)
LIMIT 10000Link to the query: https://lotus.nprod.net/lotus-sparql-examples/examples/NPs/wd_nps_known_pigments_scholarly_subgraph.html On 2025-10-13: 6,099 results
Link to some examples: https://idsm.elixir-czech.cz/sparql#
PREFIX sio: <http://semanticscience.org/resource/>
PREFIX chebi: <http://purl.obolibrary.org/obo/chebi/>
PREFIX sachem: <http://bioinfo.uochb.cas.cz/rdf/v1.0/sachem#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rh: <http://rdf.rhea-db.org/>
PREFIX CHEBI: <http://purl.obolibrary.org/obo/CHEBI_>
# select mass spectra of compounds that occurre in reactions which involves CHEBI:29985
SELECT ?COMPOUND ?SPECTRUM WHERE
{
# use Rhea to select compounds occurring in reactions in which CHEBI:29985 occurs
SERVICE <https://sparql.rhea-db.org/sparql>
{
SELECT DISTINCT ?CHEBI WHERE
{
?rhea rdfs:subClassOf rh:Reaction .
?rhea rh:side/rh:contains/rh:compound ?compound .
?rhea rh:side/rh:contains/rh:compound ?compound1 .
?compound (rh:chebi|(rh:reactivePart/rh:chebi)|(rh:underlyingChebi/rh:chebi)) CHEBI:29985.
?compound1 rh:chebi ?CHEBI
}
}
# select InChI descriptors of the ChEBI compounds found
?CHEBI chebi:inchi ?INCHI.
# select all spectra and corresponding input compounds
?EXPERIMENT sio:SIO_000230 ?COMPOUND. # has input
?EXPERIMENT sio:SIO_000229 ?SPECTRUM. # has output
?SPECTRUM sio:SIO_000300 ?MSVALUE. # has value
# filter out compounds having the propper InChI descriptors
?COMPOUND sio:SIO_000008 ?DESCRIPTOR. # has attribute
?DESCRIPTOR rdf:type sio:CHEMINF_000113. # InChI descriptor
?DESCRIPTOR sio:SIO_000300 ?INCHI. # has value
}Note
More info at Galgonek and Vondrášek (2024)
Slides under CC BY-SA 4.0