query-dde0dc5d23e716236a0323d476374bd0
Is catalog an instance or a genre?Hi, Everything is in the title but here some more detailed explanation. I added the claim ⟩ (Q780605)exhibition catalogue ⟨ (P136)genre ⟩ Q40220792⟨ is not a genre, which is very true) so I changed it to (Q2352616)catalogue ) but it triggered a constraint violation (as (Q2352616)catalogue (a subclasse of ⟩ (Q780605)exhibition catalogue ⟨ (P31)instance of ⟩ Q40220792⟨ . Even if the second seems better, I'm still unsure as neither of this claims really satisfy me... What would you do ? (P136)genre and only 8 items with (P31)instance of : 202 items with (Q2352616)catalogue PS: here is a crude query to see the current uses of
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?prop (COUNT(?book) AS ?count)
WHERE
{
?book ?prop wd:Q2352616 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?prop
ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?book"):::projected
v4("?count")
v3("?prop"):::projected
c3(["bd:serviceParam"]):::iri
c1(["wd:Q2352616"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 -->v3--> c1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind1[/"count(?book)"/]
v2 --o bind1
bind1 --as--o v4