Christopher added a comment.

You can get reference hashes for objects using the 
http://www.wikidata.org/prop/reference/ predicate.

For example,

  PREFIX wd: <http://www.wikidata.org/entity/>
  PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  PREFIX prov: <http://www.w3.org/ns/prov#>
  
  SELECT (count(distinct(?s)) AS ?scount) WHERE {
    ?wds wdt:P31 wd:Q10876391 . 
    ?wdref <http://www.wikidata.org/prop/reference/P143> ?wds . 
    ?s prov:wasDerivedFrom ?wdref .
  }

This returns a count of 16,266,065 references to all the Wikipedias (from 
http://wdm-rdf.wmflabs.org)


TASK DETAIL
  https://phabricator.wikimedia.org/T119775

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Christopher
Cc: Christopher, Smalyshev, Aklapper, Addshore, StudiesWorld, jkroll, 
Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to