query-931e1cee00a185df0173a3d35cf4db4e

rq turtle/ttl

Laubbäume.(Q146110)Populus tremula Zitterpappel, Espe, Aspe: .(Q147064)Populus nigra Schwarzpappel: .(Q157641)Alnus incana Grauerle: .(Q156904)Alnus glutinosa Schwarzerle: .(Q156895)Betula pendula Hängebirke: .(Q156907)Fraxinus excelsior Esche: .(Q165424)Prunus padus Traubenkirsche: .(Q165137)Prunus avium Vogelkirsche, Süßkirsche: .(Q149332)Pyrus pyraster Wildbirne, Holzbirne: .(Q47161)Malus sylvestris Wildapfel, Holzapfel: .(Q156831)Tilia platyphyllos Sommerlinde: .(Q147487)Ulmus minor Feldulme, Feldrüster: .(Q26899)Aesculus hippocastanum Roßkastanie: .(Q156944)Acer pseudoplatanus Bergahorn: .(Q158785)Acer campestre Feldahorn: .(Q26745)Acer platanoides Spitzahorn: .(Q158776)Carpinus betulus Hainbuche, Weißbuche: .(Q146149)Fagus sylvatica Rotbuche: .(Q158608)Quercus petraea Traubeneiche, Wintereiche: .(Q165145)Quercus robur Stieleiche, Sommereiche:

Use at

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:Q165145 wd:Q158608 wd:Q146149 wd:Q158776 wd:Q26745 wd:Q158785 wd:Q156944 wd:Q26899 wd:Q147487 wd:Q156831 wd:Q47161 wd:Q149332 wd:Q165137 wd:Q165424 wd:Q156907 wd:Q156895 wd:Q156904 wd:Q157641 wd:Q147064 wd:Q146110}
  ?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:Q165145"]) bind20 --> bind2 bind21(["wd:Q158608"]) bind21 --> bind2 bind22(["wd:Q146149"]) bind22 --> bind2 bind23(["wd:Q158776"]) bind23 --> bind2 bind24(["wd:Q26745"]) bind24 --> bind2 bind25(["wd:Q158785"]) bind25 --> bind2 bind26(["wd:Q156944"]) bind26 --> bind2 bind27(["wd:Q26899"]) bind27 --> bind2 bind28(["wd:Q147487"]) bind28 --> bind2 bind29(["wd:Q156831"]) bind29 --> bind2 bind210(["wd:Q47161"]) bind210 --> bind2 bind211(["wd:Q149332"]) bind211 --> bind2 bind212(["wd:Q165137"]) bind212 --> bind2 bind213(["wd:Q165424"]) bind213 --> bind2 bind214(["wd:Q156907"]) bind214 --> bind2 bind215(["wd:Q156895"]) bind215 --> bind2 bind216(["wd:Q156904"]) bind216 --> bind2 bind217(["wd:Q157641"]) bind217 --> bind2 bind218(["wd:Q147064"]) bind218 --> bind2 bind219(["wd:Q146110"]) bind219 --> 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