Since P143 is primarily a "reference type" property, it should be used when
the reference node is the subject (with a few exceptions apparently). The
query only evaluates the arity of the reference nodes as objects. So, the
results for P143 are expected.
On 8 Dec 2015 1:09 pm, "Addshore"
Addshore added a comment.
I am still confused, Running this for https://phabricator.wikimedia.org/P143
gives the following:
nrefs count
0 920
1 8
TASK DETAIL
https://phabricator.wikimedia.org/T117234
EMAIL PREFERENCES
Christopher added a comment.
I think that you may have missed the point. I added the $property variable in
the above query to indicate that this has to be run for **every** property.
p:https://phabricator.wikimedia.org/P227 is a random example.
TASK DETAIL
Christopher added a comment.
So basically a clever adaptation as to what I suggested in
https://phabricator.wikimedia.org/T119775 to get statements referenced to the
Wikipedias. It works, but seems a very hacky approach around the core problem
of not having a way to ask how many references a
Addshore added a comment.
So a rough version of my approach can be seen at
https://github.com/wikimedia/analytics-limn-wikidata-data/blob/master/graphite/sparql/references.php
Firstly get all properties that should be used as references
SELECT ?s WHERE {?s wdt:P31/wdt:P279* wd:Q18608359}
And
Christopher added a blocking task: T120166: Semantically define arity of
statement -> reference relations.
TASK DETAIL
https://phabricator.wikimedia.org/T117234
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Christopher
Cc: Lydia_Pintscher,
Addshore added a comment.
Also, for reference I have just created
https://phabricator.wikimedia.org/T119182 which covers the notes for the
general topic of data completeness
TASK DETAIL
https://phabricator.wikimedia.org/T117234
EMAIL PREFERENCES
Addshore added a blocked task: T119182: Track Wikidata data completeness .
TASK DETAIL
https://phabricator.wikimedia.org/T117234
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Christopher, Addshore
Cc: Lydia_Pintscher, StudiesWorld, Addshore,
Lydia_Pintscher added a project: Wikidata.
Lydia_Pintscher added a subscriber: Lydia_Pintscher.
TASK DETAIL
https://phabricator.wikimedia.org/T117234
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Christopher, Lydia_Pintscher
Cc: Lydia_Pintscher,