query-510d01eac20f68196aec5bf31cdf6e33

rq turtle/ttl

ORCID duplicates (Magnus Manske) SELECT ?orcid (count(DISTINCT ?q) AS ?cnt) (group_concat(?q) AS ?authors) { ?q wdt:P496 ?orcid } GROUP BY ?orcid HAVING (?cnt>1)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#ORCID duplicates (Magnus Manske)
SELECT ?orcid (count(DISTINCT ?q) AS ?cnt) (group_concat(?q) AS ?authors) { ?q wdt:P496 ?orcid } GROUP BY ?orcid HAVING (?cnt>1)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?authors") v4("?cnt") v3("?orcid"):::projected v2("?q"):::projected f0[["?cnt > '1^^xsd:integer'"]] f0 --> v4 v2 --"wdt:P496"--> v3 bind3[/"count(?q)"/] v2 --o bind3 bind3 --as--o v4 bind4[/"?q"/] v2 --o bind4 bind4 --as--o v4