query-6b0f3a7a7ac00d45f68155ea2e06ee22
Kleine und kleinste Sträucher.(Q144940)Viscum album Mistel: .(Q165166)Daphne mezereum Seidelbast: .(Q93235)Vaccinium vitis-idaea Preiselbeere: .(Q5413585)Vaccinium myrtillus Heidelbeere, Blaubeere: .(Q13541716)Rubus fruticosus Brombeere: .(Q12252383)Rubus idaeus Himbeere:
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX v: <http://www.wikidata.org/prop/statement/>
SELECT ?species (YEAR(?year) AS ?toy) ?speciesLabel ?speciesName ?genusLabel ?genusName ?familyLabel ?familyName ?orderLabel ?orderName WHERE {
VALUES ?species {wd:Q12252383 wd:Q13541716 wd:Q5413585 wd:Q93235 wd:Q165166 wd:Q144940}
?species wdt:P105 wd:Q7432 .
?species wdt:P225 ?speciesName .
?species wdt:P171* ?genus .
?genus wdt:P105 wd:Q34740 .
?genus wdt:P225 ?genusName .
?genus wdt:P171* ?family .
?family wdt:P105 wd:Q35409 .
?family wdt:P225 ?familyName .
?family wdt:P171* ?order .
?order wdt:P105 wd:Q36602 .
?order wdt:P225 ?orderName .
SERVICE wikibase:label {bd:serviceParam wikibase:language "de"}
FILTER(?order NOT IN (wd:Q14107023, wd:Q5794838, wd:Q2697797))
FILTER(?family NOT IN (wd:Q1450881, wd:Q145544))
OPTIONAL{?species p:P166 ?award . ?award v:P166 wd:Q91885056 . ?award pq:P585 ?year . FILTER(?year NOT IN ("2022-00-00"^^xsd:dat))}
}
ORDER BY ?orderLabel ?familyLabel ?genusLabel ?speciesLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v14("?award")
v5("?family")
v2("?familyLabel"):::projected
v12("?familyName"):::projected
v10("?genus")
v3("?genusLabel"):::projected
v11("?genusName"):::projected
v6("?order")
v1("?orderLabel"):::projected
v13("?orderName"):::projected
v8("?species"):::projected
v4("?speciesLabel"):::projected
v9("?speciesName"):::projected
v15("?toy")
v7("?year"):::projected
c17(["de"]):::literal
c12(["wd:Q35409"]):::iri
c20(["wd:Q91885056"]):::iri
c8(["wd:Q7432"]):::iri
c11(["wd:Q34740"]):::iri
c15(["bd:serviceParam"]):::iri
c13(["wd:Q36602"]):::iri
f0[["?family != 'wd:Q1450881'?family != 'wd:Q145544'"]]
f0 --> v5
f1[["?order != 'wd:Q14107023'?order != 'wd:Q5794838'?order != 'wd:Q2697797'"]]
f1 --> v6
bind2[/VALUES ?species/]
bind2-->v8
bind20(["wd:Q12252383"])
bind20 --> bind2
bind21(["wd:Q13541716"])
bind21 --> bind2
bind22(["wd:Q5413585"])
bind22 --> bind2
bind23(["wd:Q93235"])
bind23 --> bind2
bind24(["wd:Q165166"])
bind24 --> bind2
bind25(["wd:Q144940"])
bind25 --> bind2
v8 --"p:direct/P105"--> c8
v8 --"p:direct/P225"--> v9
v8 --"p:direct/P171"--> v10
v10 --"p:direct/P105"--> c11
v10 --"p:direct/P225"--> v11
v10 --"p:direct/P171"--> v5
v5 --"p:direct/P105"--> c12
v5 --"p:direct/P225"--> v12
v5 --"p:direct/P171"--> v6
v6 --"p:direct/P105"--> c13
v6 --"p:direct/P225"--> v13
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v8 -."p:P166".-> v14
v14 --"p:statement/P166"--> c20
v14 --"p:qualifier/P585"--> v7
end
bind3[/"year-from-dateTime(?year)"/]
v7 --o bind3
bind3 --as--o v15