query-d67d110b3c3325a02cad7c31d98da4f5
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?title ?inception ?givenName ?familyName ?creatorLabel WHERE {
VALUES ?nationality { wd:Q31 wd:Q55 wd:Q142 } .
?creator wdt:P106 wd:Q1028181.
?creator wdt:P27 ?nationality.
?creator ^wdt:P170 ?item .
?item wdt:P571 ?inception .
?item wdt:P31/wdt:P279* wd:Q838948 .
FILTER(?inception >= "1521-01-01"^^xsd:dat) .
FILTER(?inception <= "1680-01-01"^^xsd:dat) .
OPTIONAL { ?creator wdt:P735 ?givenName } .
OPTIONAL { ?creator wdt:P734 ?familyName } .
OPTIONAL { ?item wdt:P1476 ?title } .
#OPTIONAL { ?item wdt:P17 ?createCountry } .
#OPTIONAL { ?item wdt:P608 wd:Q20980830 } .
#?item wdt:P971 wd:Q37617783.
#?artist wdt:P27 wd:Q26.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,fr,es" } .
}
ORDER BY ASC(?inception)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?creator")
v6("?familyName"):::projected
v5("?givenName"):::projected
v1("?inception"):::projected
v4("?item"):::projected
v2("?nationality")
v7("?title"):::projected
a1((" "))
c10(["wd:Q838948"]):::iri
c4(["wd:Q1028181"]):::iri
c15(["bd:serviceParam"]):::iri
c17(["en,nl,fr,es"]):::literal
f0[["?inception <= s1680-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
f1[["?inception >= s1521-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f1 --> v1
bind2[/VALUES ?nationality/]
bind2-->v2
bind20(["wd:Q31"])
bind20 --> bind2
bind21(["wd:Q55"])
bind21 --> bind2
bind22(["wd:Q142"])
bind22 --> bind2
v3 --"wdt:P106"--> c4
v3 --"wdt:P27"--> v2
v4 --"wdt:P170"--> v3
v4 --"wdt:P571"--> v1
v4 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c10
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P735".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P734".-> v6
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P1476".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end