This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# script simples, para testar a extracao de dados de um documento xml | |
# a partir de uma sugestao em outro contexto, de machine learning, no stackoverflow | |
# respondendo a questao 6378350 | |
# versao modificada do testeRBIE-7 | |
# | |
import codecs | |
import pprint | |
import xml.etree.ElementTree as ET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
from py2neo import neo4j, cypher | |
from py2neo import node, rel | |
# calls database service of Neo4j | |
# | |
graph_db = neo4j.GraphDatabaseService("http://localhost:7474/db/data/") | |
# |