586
edits
Line 3,626: | Line 3,626: | ||
<sparql tryit="1"> | <sparql tryit="1"> | ||
#title:nearly all items without P12 (instance of) | #title:nearly all items without P12 (instance of) | ||
#NB: | #NB: the query will only find items that have at least one statement; this excludes a small number of Qs and a larger number (~35) of Ps. | ||
#see separate query to find items without any statements | #see separate query to find items without any statements | ||
Line 3,643: | Line 3,643: | ||
wikibase:statementProperty ?ps. | wikibase:statementProperty ?ps. | ||
# ?prop wikibase:propertyType wikibase:WikibaseItem. # limit to P & Q Items. not necessary; only the claim is needed. | # ?prop wikibase:propertyType wikibase:WikibaseItem. # limit to P & Q Items. not necessary; only the claim is needed. | ||
# weirdness: it still causes some things that are definitely WikibaseItem to be dropped and idk why. | |||
FILTER NOT EXISTS {?item bnwdt:P12 ?instance .} | FILTER NOT EXISTS {?item bnwdt:P12 ?instance .} |
edits