query-aabea63faaba782e0c7562e8d98be713
TODO
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 ?item ?itemLabel ?itemP577val1
where
{
{
select ?item (count(?itemP577val1) as ?count) where
{
?item wdt:P31 wd:Q571.
?item wdt:P577 ?itemP577val1 .
} group by ?item having (?count>1) } ?item wdt:P577 ?itemP577val1 .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]" .}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?item"):::projected
v3("?itemP577val1"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en,#91;AUTO_LANGUAGE#93;"]):::literal
c3(["wd:Q571"]):::iri
f0[["?count > '1^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P31"--> c3
v2 --"wdt:P577"--> v3
bind2[/"count(?itemP577val1)"/]
v3 --o bind2
bind2 --as--o v4
v2 --"wdt:P577"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end