query-efb18c08c5ab2044ccccce8aef6c7e54
P31 on lexemesHi y'all, on lexemes. (P31)instance of I noticed that there is a lot of unexpected value for If we take a look at this query (counting number of values) :
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?instance ?instanceLabel (COUNT(?q) AS ?nb) (SAMPLE(?q) AS ?sample) WHERE {
?q dct:language ?lang ;
wdt:P31 ?instance .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?instance ?instanceLabel
ORDER BY DESC(?nb)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?instance"):::projected
v3("?lang")
v5("?nb")
v2("?q"):::projected
v5("?sample")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"dct:language"--> v3
v2 --"wdt:P31"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind2[/"count(?q)"/]
v2 --o bind2
bind2 --as--o v5
bind3[/"sample(?q)"/]
v2 --o bind3
bind3 --as--o v5