query-6b4c1805c92db8d15baeef0901a8e1f3

rq turtle/ttl

Occupation/genre/field of work/movement and how to deal with intersections. (P101)field of work & (P136)genre , (P195)collection Hi everyone, I'm looking into how to apply ? (Q21600439)landscape painter to monitor this. This is the current situation, but is this also something we agree on? Should we replace obvious intersections like Wikidata:WikiProject sum of all paintings/Intersected painters. We have (Q21600439)landscape painter and not things like (Q1028181)painter . Here we currently use (P106)occupation Let's start with ? Two queries (P101)field of work or (P136)genre As for the genre. I'm confused. Should we use

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#>
SELECT ?genre ?genreLabel (COUNT(?item) AS ?count) {
  ?item wdt:P106 wd:Q1028181 .
  ?item wdt:P136 ?genre .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  } GROUP BY ?genre ?genreLabel 
ORDER BY DESC(?count) LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v3("?genre"):::projected v2("?item"):::projected c2(["wd:Q1028181"]):::iri c5(["bd:serviceParam"]):::iri c7(["en"]):::literal v2 --"wdt:P106"--> c2 v2 --"wdt:P136"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?item)"/] v2 --o bind1 bind1 --as--o v4