query-0ca00bd1de5e8bd5a250ff2abdbd0ba7
Propertiesinstance of (P31)country of citizenship (P27)sex or gender (P21)occupation (P106)subclass of (P279)ZooBank ID for name or act (P1746)BHL creator ID (P4081)Stuttgart Database of Scientific Illustrators ID (P2349)Zürich Herbaria collector ID (P10168)IPNI author ID (P586)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?articleEN  ?articleNL ?BHL_identificatiecode_voor_auteur ?ZooBank_identificatiecode ?DSI_identificatiecode ?Z_rich_Herbaria_identificatiecode_voor_verzamelaar ?IPNI_identificatiecode_voor_auteur WHERE {
  ?item wdt:P31 wd:Q5.
  ?item wdt:P27 wd:Q29999.
  ?item wdt:P21 wd:Q6581072.
  { ?item (wdt:P106/(wdt:P279*)) wd:Q864503. }
  UNION
  { ?item (wdt:P106/(wdt:P279*)) wd:Q1907198. }
  UNION
  { ?item (wdt:P106/(wdt:P279*)) wd:Q3055126. }
     UNION
  { ?item (wdt:P106/(wdt:P279*)) wd:Q2374149. }
  UNION
  { ?item (wdt:P106/(wdt:P279*)) wd:Q350979. }
  OPTIONAL {
    ?articleNL schema:about ?item;
      schema:isPartOf <https://nl.wikipedia.org/>.
  }
  OPTIONAL {
    ?articleEN schema:about ?item;
      schema:isPartOf <https://en.wikipedia.org/>.
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,nl". }
  OPTIONAL { ?item wdt:P1746 ?identifier. }
  OPTIONAL { ?item wdt:P4081 ?BHL_identificatiecode_voor_auteur. }
  OPTIONAL { ?item wdt:P2349 ?DSI_identificatiecode. }
  OPTIONAL { ?item wdt:P10168 ?Z_rich_Herbaria_identificatiecode_voor_verzamelaar. }
  OPTIONAL { ?item wdt:P586 ?IPNI_identificatiecode_voor_auteur. }
  }
Query found at
- https://www.wikidata.org/wiki/User:AHendriksen-collecties/vrouwelijke_Nederlandse_biologen
- https://www.wikidata.org/wiki/Wikidata:Naturalis
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v5("?BHL_identificatiecode_voor_auteur"):::projected 
  v6("?DSI_identificatiecode"):::projected 
  v8("?IPNI_identificatiecode_voor_auteur"):::projected 
  v7("?Z_rich_Herbaria_identificatiecode_voor_verzamelaar"):::projected 
  v3("?articleEN"):::projected 
  v2("?articleNL"):::projected 
  v4("?identifier")
  v1("?item"):::projected 
  a1((" "))
  a2((" "))
  a3((" "))
  a4((" "))
  a5((" "))
  c13(["wd:Q350979"]):::iri 
  c6(["wd:Q6581072"]):::iri 
  c21(["#91;AUTO_LANGUAGE#93;,en,nl"]):::literal 
  c17([https://en.wikipedia.org/]):::iri 
  c19(["bd:serviceParam"]):::iri 
  c2(["wd:Q5"]):::iri 
  c9(["wd:Q864503"]):::iri 
  c12(["wd:Q2374149"]):::iri 
  c4(["wd:Q29999"]):::iri 
  c11(["wd:Q3055126"]):::iri 
  c16([https://nl.wikipedia.org/]):::iri 
  c10(["wd:Q1907198"]):::iri 
  v1 --"wdt:P31"-->  c2
  v1 --"wdt:P27"-->  c4
  v1 --"wdt:P21"-->  c6
  subgraph union0[" Union "]
  subgraph union0l[" "]
    style union0l fill:#abf,stroke-dasharray: 3 3;
    subgraph union1[" Union "]
    subgraph union1l[" "]
      style union1l fill:#abf,stroke-dasharray: 3 3;
      subgraph union2[" Union "]
      subgraph union2l[" "]
        style union2l fill:#abf,stroke-dasharray: 3 3;
        subgraph union3[" Union "]
        subgraph union3l[" "]
          style union3l fill:#abf,stroke-dasharray: 3 3;
          v1 --"wdt:P106"-->  a5
          a5 --"wdt:P279"-->  c13
        end
        subgraph union3r[" "]
          style union3r fill:#abf,stroke-dasharray: 3 3;
          v1 --"wdt:P106"-->  a4
          a4 --"wdt:P279"-->  c12
        end
        union3r <== or ==> union3l
        end
      end
      subgraph union2r[" "]
        style union2r fill:#abf,stroke-dasharray: 3 3;
        v1 --"wdt:P106"-->  a3
        a3 --"wdt:P279"-->  c11
      end
      union2r <== or ==> union2l
      end
    end
    subgraph union1r[" "]
      style union1r fill:#abf,stroke-dasharray: 3 3;
      v1 --"wdt:P106"-->  a2
      a2 --"wdt:P279"-->  c10
    end
    union1r <== or ==> union1l
    end
  end
  subgraph union0r[" "]
    style union0r fill:#abf,stroke-dasharray: 3 3;
    v1 --"wdt:P106"-->  a1
    a1 --"wdt:P279"-->  c9
  end
  union0r <== or ==> union0l
  end
  subgraph optional0["(optional)"]
  style optional0 fill:#bbf,stroke-dasharray: 5 5;
    v2 -."schema:about".->  v1
    v2 --"schema:isPartOf"-->  c16
  end
  subgraph optional1["(optional)"]
  style optional1 fill:#bbf,stroke-dasharray: 5 5;
    v3 -."schema:about".->  v1
    v3 --"schema:isPartOf"-->  c17
  end
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c19 --"wikibase:language"-->  c21
  end
  subgraph optional2["(optional)"]
  style optional2 fill:#bbf,stroke-dasharray: 5 5;
    v1 -."wdt:P1746".->  v4
  end
  subgraph optional3["(optional)"]
  style optional3 fill:#bbf,stroke-dasharray: 5 5;
    v1 -."wdt:P4081".->  v5
  end
  subgraph optional4["(optional)"]
  style optional4 fill:#bbf,stroke-dasharray: 5 5;
    v1 -."wdt:P2349".->  v6
  end
  subgraph optional5["(optional)"]
  style optional5 fill:#bbf,stroke-dasharray: 5 5;
    v1 -."wdt:P10168".->  v7
  end
  subgraph optional6["(optional)"]
  style optional6 fill:#bbf,stroke-dasharray: 5 5;
    v1 -."wdt:P586".->  v8
  end