Anonymous

SPARQL examples: Difference between revisions

From clb-lod
No edit summary
Line 91: Line 91:
order by desc(?number_of_creator_statements)
order by desc(?number_of_creator_statements)
</sparql>
</sparql>
=== How many NKCR creators don't were not found on Wikidata? ===
=== How many NKCR creators were not found on Wikidata? ===
This gives the number of NKCR-disambiguated authors not found on Wikidata.
This gives the number of NKCR-disambiguated creators vs. the number of these found on Wikidata.
<sparql Tryit="1">
<sparql Tryit="1">
PREFIX clbwb: <https://clb-lod.wikibase.cloud/entity/>
PREFIX clbwb: <https://clb-lod.wikibase.cloud/entity/>
Line 109: Line 109:
   ?wikibase_item clbdp:P5 clbwb:Q5;
   ?wikibase_item clbdp:P5 clbwb:Q5;
                 clbdp:P8 ?nkcr .
                 clbdp:P8 ?nkcr .
   optional {?wikibase_item clbdp:P1 ?wikidata .}
   optional {?wikibase_item clbdp:P1 ?wikidata .}}
</sparql>
</sparql>
=== How many creator statements are not reconciled? ===
=== How many creator statements are not reconciled? ===
This returns the number of creator statements (all roles) that do not point to a creator item (but to name literals instead)
This returns the number of creator statements (all roles) that do not point to a creator item (but to name literals instead)