query-6e0c94cad2aa2f144baf4435349ffd32
14:29, 8 October 2022 (UTC)) talk (Simon VilleneuveIt didn't work. I want to know witch mistake-s I've done. : This seems to work. Simon Villeneuve@
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select distinct ?item (count(distinct ?auteur) as ?count) where
{?item wdt:P31 wd:Q13442814 ; wdt:P50 ?auteur .}
group by ?item having (?count=1)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?auteur"):::projected
v4("?count")
v2("?item"):::projected
c3(["wd:Q13442814"]):::iri
f0[["?count = '1^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P31"--> c3
v2 --"wdt:P50"--> v3
bind2[/"count(?auteur)"/]
v3 --o bind2
bind2 --as--o v4