Desarquivo - dataset 04 grafo de ligações entre entidades Neo4j dataset04

Metadata quality: 1.0/1
Metadata quality:
Data description filled
Resources documented
License filled
Update frequency followed
File formats are open
Temporal coverage filled
Spatial coverage filled
Updated on August 31, 2021 — Creative Commons Attribution 4.0 - CC BY 4.0
This dataset has been published on the initiative and under the responsibility of Miguel Sozinho Ramalho
Published on August 31, 2021 and updated on August 31, 2021

Miguel Sozinho Ramalho

4 datasets
1 reuses

Informations

License
Creative Commons Attribution 4.0 - CC BY 4.0
ID
612e5460078190eed7ba36d1

Temporality

Temporal coverage
2000 to 2019
Frequency
Punctual
Creation date
August 31, 2021
Latest resource update
August 31, 2021

Geographic dimensions

Territorial coverage granularity
Country

Embed

Permalink

Description

Grafo de ligações entre entidades e notícias (neste caso não foi preparado o comando com o neo4j-import mas aconselha-se esse face à opção LOAD CSV para datasets grandes) os dados são os mesmos do dataset 03 b mas, ao importar, são reorganizados de outra forma gerando um nó no grafo para cada notícia.

instruções de importação para neo4j:

USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///people.csv' AS row
MERGE (e:PER {_id: row._id, text: row.text});
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///orgs.csv' AS row
MERGE (e:ORG {_id: row._id, text: row.text});
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///locations.csv' AS row
MERGE (e:LOC {_id: row._id, text: row.text});
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///misc.csv' AS row
MERGE (e:MISC {_id: row._id, text: row.text});



USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///news.csv' AS row
MERGE (n:NEWS {_id: row._id, title: row.title});



USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///connections_1.csv' AS row
MERGE (e1 {_id: row._id1})
MERGE (e2 {_id: row._id2})
WITH row, e1, e2
MERGE (e1)-[:rel{weight: toInteger(row.weight)}]-(e2);

Para mais informações ver: https://github.com/msramalho/desarquivo/blob/master/DATASETS.md

Files 1

Pré-Visualização 1

     


  • Os ficheiros JSON e XML descarregados a partir deste painel de pré-visualização são gerados a partir do ficheiro selecionado e podem não corresponder aos recursos originais alojados na plataforma com o mesmo formato.

Community resources 0

You have built a more comprehensive database than those presented here? This is the time to share it!

Reuses 1

Explore the reuses of this dataset.

Did you use this data ? Reference your work and increase your visibility.

Discussion between the owner and the community about this dataset.