query-7d4a7e32ee4a8c9bb5d8aaa19ea91d4e

rq turtle/ttl

Fonction par fréquence tinyurl.com/jhh3csr

Use at

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#>
PREFIX schema: <http://schema.org/>

SELECT (COUNT(?item) AS ?count) ?fonction ?fonctionLabel WHERE {
  ?item wdt:P31 wd:Q5.
  ?item wdt:P39 ?fonction.
  ?article schema:about ?item.
  ?article schema:isPartOf <https://fr.wikisource.org/>.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
} GROUP BY ?fonction ?fonctionLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article") v4("?count") v2("?fonction"):::projected v1("?item"):::projected c8(["bd:serviceParam"]):::iri c6([https://fr.wikisource.org/]):::iri c2(["wd:Q5"]):::iri c10(["fr"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P39"--> v2 v3 --"schema:about"--> v1 v3 --"schema:isPartOf"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v4