query-1519e3859475a94b69926d02b849d117
? It showed up in this query: (Q1351781)2010 United States elections : Is this not a dupe of GZWDer (flood): @Oravrattas@
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 bd: <http://www.bigdata.com/rdf#>
SELECT * WHERE {
{
SELECT ?time (COUNT(?time) AS ?cnt) WHERE {
?noun wdt:P31 wd:Q26252880.
OPTIONAL { ?noun wdt:P585 ?time. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?time
}
?noun wdt:P31 wd:Q26252880.
?noun wdt:P585 ?time.
FILTER(?cnt > 1 )
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?cnt"):::projected
v2("?noun"):::projected
v3("?time"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q26252880"]):::iri
f0[["?cnt > '1^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P31"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P585".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind2[/"count(?time)"/]
v3 --o bind2
bind2 --as--o v4
v2 --"wdt:P31"--> c3
v2 --"wdt:P585"--> v3