query-17081b198961abea665b06984ecab827
Propertiesinstance of (P31)sex or gender (P21)country of citizenship (P27)occupation (P106)field of work (P101)date of birth (P569)date of death (P570)family name (P734)given name (P735)
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 ?item ?itemLabel ?firstnameLabel ?lastnameLabel ?itemDescription ?nationalityLabel ?occupationLabel ?birthdate ?deathdate ?domainLabel ?linkcount WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,fr,de,en,es,it". }
?item wdt:P31 wd:Q5, ?instance;
wdt:P21 wd:Q6581072, ?gender;
wdt:P27 wd:Q31, ?nationality;
wdt:P106 ?occupation;
wikibase:sitelinks ?linkcount.
{
?article schema:about ?item;
schema:inLanguage "nl";
schema:isPartOf <https://nl.wikipedia.org/>.
}
FILTER(?occupation IN (wd:Q33999, wd:Q4070300, wd:Q805221, wd:Q2490358, wd:Q5716684, wd:Q10800557, wd:Q1954956, wd:Q2865819, wd:Q2259451, wd:Q3387717, wd:Q713200, wd:Q15214752,
wd:Q3391743, wd:Q158852, wd:Q487596, wd:Q7042855, wd:Q1414443, wd:Q3282637, wd:Q2526255, wd:Q12902372, wd:Q3024424, wd:Q245068, wd:Q1323191, wd:Q8178443, wd:Q1823479, wd:Q2500638, wd:Q4610556, wd:Q639669, wd:Q183945, wd:Q2865819, wd:Q486748, wd:Q2217284, wd:Q2629392, wd:Q26209195, wd:Q28389, wd:Q2707485, wd:Q488205, wd:Q2405480, wd:Q11481802, wd:Q10798782, wd:Q1075651, wd:Q3766177, wd:Q177220))
OPTIONAL { ?item wdt:P101 ?domain. }
OPTIONAL { ?item wdt:P569 ?birthdate. }
OPTIONAL { ?item wdt:P570 ?deathdate. }
OPTIONAL { ?item wdt:P734 ?lastname. }
OPTIONAL { ?item wdt:P735 ?firstname. }
}
ORDER BY (?itemLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v8("?article")
v10("?birthdate"):::projected
v11("?deathdate"):::projected
v9("?domain")
v13("?firstname")
v5("?gender")
v4("?instance")
v3("?item"):::projected
v1("?itemLabel"):::projected
v12("?lastname")
v7("?linkcount"):::projected
v6("?nationality")
v2("?occupation")
c52(["wd:Q31"]):::iri
c59([https://nl.wikipedia.org/]):::iri
c46(["#91;AUTO_LANGUAGE#93;,nl,fr,de,en,es,it"]):::literal
c57(["nl"]):::literal
c50(["wd:Q6581072"]):::iri
c44(["bd:serviceParam"]):::iri
c48(["wd:Q5"]):::iri
list0c3(["wd:Q805221"]):::iri
list0c27(["wd:Q4610556"]):::iri
list0c41(["wd:Q3766177"]):::iri
list0c6(["wd:Q10800557"]):::iri
list0c9(["wd:Q2259451"]):::iri
list0c29(["wd:Q183945"]):::iri
list0c40(["wd:Q1075651"]):::iri
list0c7(["wd:Q1954956"]):::iri
list0c13(["wd:Q3391743"]):::iri
list0c28(["wd:Q639669"]):::iri
list0c38(["wd:Q11481802"]):::iri
list0c17(["wd:Q1414443"]):::iri
list0c22(["wd:Q245068"]):::iri
list0c11(["wd:Q713200"]):::iri
list0c36(["wd:Q488205"]):::iri
list0c15(["wd:Q487596"]):::iri
list0c19(["wd:Q2526255"]):::iri
list0c14(["wd:Q158852"]):::iri
list0c10(["wd:Q3387717"]):::iri
list0c37(["wd:Q2405480"]):::iri
list0c1(["wd:Q33999"]):::iri
list0c23(["wd:Q1323191"]):::iri
list0c16(["wd:Q7042855"]):::iri
list0c24(["wd:Q8178443"]):::iri
list0c35(["wd:Q2707485"]):::iri
list0c18(["wd:Q3282637"]):::iri
list0c34(["wd:Q28389"]):::iri
list0c5(["wd:Q5716684"]):::iri
list0c30(["wd:Q486748"]):::iri
list0c2(["wd:Q4070300"]):::iri
list0c25(["wd:Q1823479"]):::iri
list0c20(["wd:Q12902372"]):::iri
list0c4(["wd:Q2490358"]):::iri
list0c12(["wd:Q15214752"]):::iri
list0c26(["wd:Q2500638"]):::iri
list0c31(["wd:Q2217284"]):::iri
list0c32(["wd:Q2629392"]):::iri
list0c21(["wd:Q3024424"]):::iri
list0c42(["wd:Q177220"]):::iri
list0c33(["wd:Q26209195"]):::iri
list0c8(["wd:Q2865819"]):::iri
list0c39(["wd:Q10798782"]):::iri
list0c1 --o f0
list0c2 --o f0
list0c3 --o f0
list0c4 --o f0
list0c5 --o f0
list0c6 --o f0
list0c7 --o f0
list0c8 --o f0
list0c9 --o f0
list0c10 --o f0
list0c11 --o f0
list0c12 --o f0
list0c13 --o f0
list0c14 --o f0
list0c15 --o f0
list0c16 --o f0
list0c17 --o f0
list0c18 --o f0
list0c19 --o f0
list0c20 --o f0
list0c21 --o f0
list0c22 --o f0
list0c23 --o f0
list0c24 --o f0
list0c25 --o f0
list0c26 --o f0
list0c27 --o f0
list0c28 --o f0
list0c29 --o f0
list0c8 --o f0
list0c30 --o f0
list0c31 --o f0
list0c32 --o f0
list0c33 --o f0
list0c34 --o f0
list0c35 --o f0
list0c36 --o f0
list0c37 --o f0
list0c38 --o f0
list0c39 --o f0
list0c40 --o f0
list0c41 --o f0
list0c42 --o f0
f0[[" in "]]
f0 --> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c44 --"wikibase:language"--> c46
end
v3 --"wdt:P31"--> c48
v3 --"wdt:P31"--> v4
v3 --"wdt:P21"--> c50
v3 --"wdt:P21"--> v5
v3 --"wdt:P27"--> c52
v3 --"wdt:P27"--> v6
v3 --"wdt:P106"--> v2
v3 --"wikibase:sitelinks"--> v7
v8 --"schema:about"--> v3
v8 --"schema:inLanguage"--> c57
v8 --"schema:isPartOf"--> c59
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P101".-> v9
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P569".-> v10
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P570".-> v11
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P734".-> v12
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P735".-> v13
end