Write a parser script for a big JSON file

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

WikiData is project which attempts to collect data about everything in our world. Basically, it will contain information of people, cities, countries, foods, atoms, stars, everything.

You can download their entire database from here in JSON format:

[login to view URL]:Database_download#JSON_dumps_(recommended)

All entries in this database are based on a Q code. The Q code is an unique index number of the specific item. For example, [login to view URL] is the entry for a famous person.

We are interested of WikiData's data on people. For example that of [login to view URL]

Your job is to write a script in any language you want, that will analyze the downloaded WikiData database file(s) and output an SQL insert file.

The script must extract 6 things of entries of people:

1) Person's full name,

2) Person's given name (= first name),

3) Person's family name,

4) Person's gender,

5) Person's country of citizenship,

6) Person's native language.

So, for the same person [login to view URL] These values would be:

1) Full name = Manuel José Bonnet Locarno

2) Given name = Manuel

3) Family name = Bonnet

4) Gender = M

5) Country of citizenship = Colombia

6) Native language = Spanish

And this data would be added to the output SQL file as follows:

INSERT IGNORE INTO wikidata (q_code, full_name, first_name, family_name, gender, country, language) VALUES ("Q5993357", "Manuel José Bonnet Locarno", "Manuel", "Bonnet", "M', "Colombia", "Spanish");

The next found person from the WikiData database file(s) would generate a new line to the output SQL file, and so on, and so on.

Please have the script show some kind of progress indication. For example, the number of rows or entries in the database and the current index or row currently being analyzed, so when running the script, you could see the progress.

The script must ignore all other types of entries than persons. Also, if the person's data is missing any of the 6 data fields (full name, given name, family name, gender, country of citizenship, or native language), skip that person.

The purpose of this task is to be able to run the script, and it will generate a huge SQL file which will insert the person data (name / gender / country / language) to database.

In your bid, please state what language you would use to write this. Scripting language such as Perl, PHP or Python would be preferred.

JSON Perl PHP Python

Project ID: #17802874

About the project

32 proposals Remote project Active 5 years ago

32 freelancers are bidding on average $190 for this job

rajeshsonisl

Hi there, This is a couple of days worth of work. Can begin immediately. I have a 99% project completion rate and a 4.99 reputation (out of max 5.0 from more than 1140 projects from a period of 12 years. Thank More

$777 USD in 10 days
(996 Reviews)
8.8
rinsadsl

Hi there I can build this script to import the people data into the database. I can make it using PHP. Looking forward to working with you. Thanks Rinsad

$220 USD in 3 days
(1101 Reviews)
9.1
gangabass

I have worked with huge (> 100Gb) files before that's why I'm sure you'll be impressed with my work. I can provide you Perl or Python script that will parse JSON and generate SQL file.

$140 USD in 2 days
(666 Reviews)
7.9
zhangyingtai

Hello sir I am a qualified python developer with 8 years of professional experience of web scraping. I can download all json file and make a parser for the json file. I am interested in this project and can start th More

$250 USD in 3 days
(129 Reviews)
7.7
vano101

Hello I have couple of years of experience with Python and about 1,5 years of experience with PHP I have ideas how to write parser of big JSON file.

$76 USD in 3 days
(381 Reviews)
6.6
kkc1985612

Hi Dear. I am an expert in parsing of Json, XML. I will provide a great result to you in your deadline. Regards. Mi.

$250 USD in 3 days
(44 Reviews)
5.9
kaloyan13

I will use PHP with JsonDumpReader library. Can do the job in a day. Thank you......................

$100 USD in 2 days
(90 Reviews)
5.7
stivens

Hello, I can do this in PHP. Just need to clarify a few things. The script must accept the JSON file(s) then decode the content and output an SQL file with insert statements? Do you have a sample JSON file for referenc More

$180 USD in 5 days
(30 Reviews)
5.3
shyarakishor1234

Hey My Dear Friend I will build your script in Perl Technology. I have found your requirement regarding build a script which parse json data and build csv file and store that same data in MYSQL Table and i am app More

$222 USD in 1 day
(35 Reviews)
5.2
Peterpay

i can do this for you without any problems i'm an expert in data extraction and performance applications.

$250 USD in 3 days
(24 Reviews)
5.1
ebonk

Hi, I haven't deal with large json files before. It takes about 12hrs for me to download 40gb compressed json file from wikidata. But i know how to parse and process large xml and json data using python without havi More

$222 USD in 3 days
(15 Reviews)
4.9
wobits

Hello, my name is Wolfgang Backhaus, I am a software developer and system engineer from Germany. I have read Your interesting project offer and want to apply for it. I am a seasoned Perl developer (20+ years) More

$100 USD in 3 days
(8 Reviews)
5.0
dslc

I propose to implement a solution in the Perl language. My tentative plan would be as follows: 1) Create a Linux virtual machine (with large disk size - e.g. > 40 GB) for this task + download and extract JSON dump. More

$60 USD in 3 days
(9 Reviews)
4.4
kchwistek

Hi, I can do it for you. My approach will be: 1) download the WIKIDATA JSON dump. 2) use wikidata-filter to extract only human data 3) write a parser of the provided data in PERL to extract required data and format More

$150 USD in 5 days
(9 Reviews)
4.4
Priyanshu1

Hi Do you want to download all the data as json and then process it or do you want to download it one by one ?? Do you need the script to run 24X7 ?? I will do it in php using mysql(if you have no preference). A lot More

$250 USD in 10 days
(5 Reviews)
4.0
CanadianCoder

Hello, I feel like I can help you get this work done. It should only take a few days at most. I have a lot of relevant experience which would make this quick and painless. Feel free to ask me any questions before makin More

$75 USD in 3 days
(20 Reviews)
3.9
BernardoLima

Hello! I'm an experienced developer and can complete this project for you! Message me so we can discuss and start it! :)

$222 USD in 3 days
(7 Reviews)
2.6
skriyaz09

I have been working as a software developer for more than 3 years and have good experience in handling JSON data with python.

$100 USD in 4 days
(8 Reviews)
3.3
prbangalipona

Hi, Do you need quality work? You may give me a small Try to test my skills. I am expert on PHP, Laravel, WordPress Divi, Elementor, Generatepress, Enfold Theme. I can do this job. Lets talk more details about More

$155 USD in 10 days
(2 Reviews)
1.5
UKgetITdone

Hi, I would be using Python as language to process these JSON dumps. I assume you are just looking for program/script that can do this task and not the extracted data. Thanks

$166 USD in 20 days
(1 Review)
0.9