query-af177b902847a47f12c953308e035cb6
Not that much results but still:
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?born ?died
{
?item wdt:P570 ?died .
{ ?item wdt:P19/wdt:P17 wd:Q213 } UNION { ?item wdt:P20/wdt:P17 wd:Q213 }
FILTER( YEAR(?died) < 1500 ) .
OPTIONAL { ?item wdt:P569 ?born }
?item (p:P569|p:P570)/pq:P31 wd:Q26961029
SERVICE wikibase:label { bd:serviceParam wikibase:language "cs,en" } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?born"):::projected
v1("?died"):::projected
v2("?item"):::projected
a1((" "))
a2((" "))
a3((" "))
c15(["cs,en"]):::literal
c11(["wd:Q26961029"]):::iri
c5(["wd:Q213"]):::iri
c13(["bd:serviceParam"]):::iri
f0[["year-from-dateTime(?died) < '1500^^xsd:integer'"]]
f0 --> v1
v2 --"p:direct/P570"--> v1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v2 --"p:direct/P20"--> a2
a2 --"p:direct/P17"--> c5
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"p:direct/P19"--> a1
a1 --"p:direct/P17"--> c5
end
union0r <== or ==> union0l
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P569".-> v3
end
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v2 --"p:P570"--> a3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"p:P569"--> a3
end
union1r <== or ==> union1l
end
a3 --"p:qualifier/P31"--> c11
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end