[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-05-30 Thread Andrawaag
Andrawaag created this task. Andrawaag added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION I am comparing the JSON output of Wikidata's API, with its RDF equivalent. The RDF contains URI's which contains hash values, which are visible in the JSON o

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-06 Thread Addshore
Addshore added a project: wdwb-tech. TASK DETAIL https://phabricator.wikimedia.org/T283997 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Aklapper, Andrawaag, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZ

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-28 Thread Addshore
Addshore updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T283997 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Aklapper, Andrawaag, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic,

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-28 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. I don’t think we make any guarantees about these hash values… the RDF Dump Format explicitly says that the hashes of reference (`wdref:`) and full value nodes (`wdv:`) have no guarantee

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-28 Thread Addshore
Addshore closed this task as "Resolved". Addshore claimed this task. Restricted Application added a project: User-Addshore. TASK DETAIL https://phabricator.wikimedia.org/T283997 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Lucas_Werkme

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-29 Thread Andrawaag
Andrawaag added a comment. I wasn't looking for guarantees about the hash values. They have a value a sanity check in a[[ https://github.com/Wikidata/triplify-json | reverse engineering project ]] we are doing to reproduce the Wikidata/Wikibase RDF outside wikibase itself. We need this to

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-29 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Well, I don’t think being able to reproduce those hashes externally was a design goal for Wikibase… I’m not sure what else I can say about your question that you couldn’t also get from looking at the code directly: name=Reference.php public

[Wikidata-bugs] [Maniphest] T283997: How are the hash values in Wikidata rdf generated?

2021-06-29 Thread Andrawaag
Andrawaag added a comment. You are completely right, the same hashes are not needed to apply EntitySchema's on memory ingestion to Wikidata. I need the hashes as a sanity check that my script created the exact same RDF as being produced by Wikidata natively. So the hashes are only needed in