Building a Knowledge graph of covid19 on neo4j, from the data of Wikipedia data, Wikidata, by SPARQL querying
If you are working on similar projects, I am happy to help. Contact me by [email protected]
wget http://neo4j.com/artifact.php?name=neo4j-community-3.5.12-unix.tar.gz
tar -xf 'artifact.php?name=neo4j-community-3.5.12-unix.tar.gz'
cd neo4j-community-3.5.12
bin/neo4j start
go to url
http://localhost:7474/
bolt://localhost:7687
user name:neo4j
password neo4j
reset new password to
neo4j1
pip3 install pyspark
pip3 install neo4j
git clone https://github.com/gaoyuanliang/covid19_knowledge_graph.git
cd covid19_knowledge_graph
collect the entities and relationships of covid 19 from wikibase by SPARQL queries at https://query.wikidata.org/
SELECT ?s ?sLabel ?sAltLabel ?st ?stLabel
?rp ?rpLabel
?o ?oLabel ?oAltLabel ?ot ?otLabel
WHERE
{
?s wdt:P361 wd:Q83741704 .
?s ?r ?o .
?s wdt:P31 ?st .
?o wdt:P31 ?ot .
?rp wikibase:directClaim ?r .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
SELECT ?s ?sLabel ?sAltLabel ?st ?stLabel
?rp ?rpLabel
?o ?oLabel ?oAltLabel ?ot ?otLabel
WHERE
{
?o wdt:P361 wd:Q83741704 .
?s ?r ?o .
?s wdt:P31 ?st .
?o wdt:P31 ?ot .
?rp wikibase:directClaim ?r .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
python3 jessica_covid_knowledge_graph.py
go to http://localhost:7474/ to see the results
ongoing
-
building the function to link the news texts to the entities of the covid knowledge graph, by using the open source code of https://github.com/wikilinks/nel/blob/master/notebooks/train.ipynb
-
building the dashboards of the covid events, with map, time, and other attributs
-
building a local Standalone SPARQL search service to speed up the query process https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#Standalone_service
I am actively looking for a data science/AI related job. If you have such an opportunity, thank you so much for contacting me. I am ready for an interview at any time. My email is [email protected]