query-cedceac255828ee713ea1279cccecc73
bind, coalesce or concat ???
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?date ?prec ?cal WHERE {
?item p:P569/psv:P569 [
wikibase:timeValue ?date;
wikibase:timePrecision ?prec;
wikibase:timeCalendarModel ?cal
].
?item wdt:P27 wd:Q1005.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cal"):::projected
v1("?date"):::projected
v4("?item"):::projected
v2("?prec"):::projected
a2((" "))
a1((" "))
c7(["wd:Q1005"]):::iri
a1 --"wikibase:timeValue"--> v1
a1 --"wikibase:timePrecision"--> v2
a1 --"wikibase:timeCalendarModel"--> v3
v4 --"p:P569"--> a2
a2 --"p:statement/value/P569"--> a1
v4 --"p:direct/P27"--> c7