query-d2d6934597ac4fdb6e90cdc3caa8b189

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?regex (COUNT(?regex) AS ?count) 
(GROUP_CONCAT(DISTINCT ?propertyLabel) AS ?propertyLabels)
WHERE {
  ?property wikibase:propertyType wikibase:ExternalId; 
            wdt:P1793 ?regex .
  SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
} 
GROUP BY ?regex
ORDER BY DESC (?count) ?regex ?propertyLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v4("?property") v3("?propertyLabel"):::projected v5("?propertyLabels") v2("?regex"):::projected c5(["bd:serviceParam"]):::iri c7(["en"]):::literal c2(["wikibase:ExternalId"]):::iri v4 --"wikibase:propertyType"--> c2 v4 --"wdt:P1793"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind2[/"count(?regex)"/] v2 --o bind2 bind2 --as--o v5 bind3[/"?propertyLabel"/] v3 --o bind3 bind3 --as--o v5