query-ff0ac68e4a74c21c5b65ee0c8b2d2fae
Zeitstrahl Eigentümer Objekte
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Zeitstrahl der EigentümerInnen des Radfächers
#defaultView:Timeline{"hide":["?startTime","?endTime"]}
SELECT ?owner ?ownerLabel ?startTime ?endTime (CONCAT(STR(YEAR(?startTime))," bis ", STR(YEAR(?endTime))) AS ?zeitraum) ?ownerImage WHERE {
wd:Q123059170 p:P127 ?ownerStmt.
?ownerStmt ps:P127 ?owner.
OPTIONAL { ?ownerStmt pq:P1319 ?startTime. }
OPTIONAL { ?ownerStmt pq:P1326 ?endTime. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?owner wdt:P18 ?ownerImage. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?endTime"):::projected
v2("?owner"):::projected
v5("?ownerImage"):::projected
v1("?ownerStmt")
v3("?startTime"):::projected
v6("?zeitraum")
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c1(["wd:Q123059170"]):::iri
c1 --"p:P127"--> v1
v1 --"p:statement/P127"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:qualifier/P1319".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:qualifier/P1326".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P18".-> v5
end
bind0[/"concat(str(year-from-dateTime(?startTime)),' bis ',str(year-from-dateTime(?endTime)))"/]
v3 --o bind0
v4 --o bind0
bind0 --as--o v6