cldellow added a comment.

  Alternatively, I tried the XML dumps. It seems like the record was present 
there, if that's useful information:
  
    $ wget 
https://dumps.wikimedia.org/wikidatawiki/latest/wikidatawiki-latest-pages-articles-multistream6.xml-p4469005p5969004.bz2
    $ bzcat 
wikidatawiki-latest-pages-articles-multistream6.xml-p4469005p5969004.bz2 | grep 
Q5085764
    [ ... spew of XML, ultimately containing this JSON for that record: 
https://gist.github.com/cldellow/eed20dc70bd13f24b32c1d8d4728a0f7 ]
  
  Unfortunately, for my use case I'm trying to find all records with a lat/long 
(property P625 <https://phabricator.wikimedia.org/P625>) and a Wikipedia 
reference (property P4656 <https://phabricator.wikimedia.org/P4656>) -- and it 
seems like the XML dumps don't have the P4656 
<https://phabricator.wikimedia.org/P4656> property in them. :(
  
  That might be expected, as 
https://www.wikidata.org/wiki/Wikidata:Database_download says this about the 
XML dumps:
  
  > The format of the JSON data embedded in the XML dumps is subject to change 
without notice, and may be inconsistent between revisions. It should be treated 
as opaque binary data. It is strongly recommended to use the JSON or RDF dumps 
instead, which use canonical representations of the data!

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

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

To: cldellow
Cc: Aklapper, cldellow, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to