query-7f3ec8356d091fdb1a5675178fb40427
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT ?item ?p ?pred ?val WHERE {
?node wikibase:timeValue ?val .
FILTER( HOURS( ?val ) + MINUTES( ?val ) + SECONDS( ?val ) != 0 ) .
?st prov:wasDerivedFrom? [ ?pred ?node ]; wikibase:rank [] .
?item ?p ?st .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?item"):::projected
v2("?node")
v6("?p"):::projected
v3("?pred"):::projected
v4("?st")
v1("?val"):::projected
a2((" "))
a1((" "))
f0[["hours-from-dateTime(?val) + minutes-from-dateTime(?val) + seconds-from-dateTime(?val) != '0^^xsd:integer'"]]
f0 --> v1
v2 --"wikibase:timeValue"--> v1
a1 -->v3--> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v4 --"prov:wasDerivedFrom"--> a1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
end
union0r <== or ==> union0l
end
v4 --"wikibase:rank"--> a2
v5 -->v6--> v4