query-109923ba60ffae5d5a9c90ba98543829

rq turtle/ttl

PropertiesEntrez Gene ID (P351)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?count {
    {
        SELECT ?item (COUNT(?value) AS ?count) {
            ?item wdt:P351 ?val .
        } GROUP BY ?item
    } .
    FILTER(?count > 1) .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" } .
} ORDER BY DESC(?count) LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count"):::projected v2("?item"):::projected v3("?val") v4("?value") c4(["bd:serviceParam"]):::iri c6(["en,en"]):::literal f0[["?count > '1^^xsd:integer'"]] f0 --> v5 v2 --"wdt:P351"--> v3 bind2[/"count(?value)"/] v4 --o bind2 bind2 --as--o v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end