Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 ./bin/iepy_rules_runner.py -> Relation 'xxxx' not found #135

Open
bladechen opened this issue Aug 4, 2017 · 2 comments
Open

python3 ./bin/iepy_rules_runner.py -> Relation 'xxxx' not found #135

bladechen opened this issue Aug 4, 2017 · 2 comments

Comments

@bladechen
Copy link

hi, i got quit frustrated with this tool.
i have copy the example rules.py to the project directory, but when i executepython3 ./bin/iepy_rules_runner.py, it tells me
'Relation 'was born' not found'

drwxrwxr-x 2 ubuntu ubuntu   4096 Aug  4 12:08 bin/
-rw-rw-r-- 1 ubuntu ubuntu    468 Aug  4 10:54 extractor_config.json
-rw-rw-r-- 1 ubuntu ubuntu  15462 Aug  4 12:01 godfather.csv
-rw-r--r-- 1 ubuntu ubuntu 456704 Aug  4 12:33 hello.sqlite
-rw-rw-r-- 1 ubuntu ubuntu     19 Aug  4 10:54 __init__.py
-rw-rw-r-- 1 ubuntu ubuntu    116 Aug  4 12:32 ll
drwxrwxr-x 2 ubuntu ubuntu   4096 Aug  4 12:36 __pycache__/
-rw-rw-r-- 1 ubuntu ubuntu   3868 Aug  4 12:36 rules.py
-rw-rw-r-- 1 ubuntu ubuntu     63 Aug  4 11:34 sample.csv
-rw-rw-r-- 1 ubuntu ubuntu    967 Aug  4 10:54 settings.py
@bladechen
Copy link
Author

any suggestions on this problem, i have looked the doc more than 10 tens, but still get stuck here.

@veheart
Copy link

veheart commented Aug 22, 2017

it must run this command python bin/iepy_rules_runner.py PER_BIRTH_DATE, the PER_BIRTH_DATE is the relation defined in the rules.py, namely the "was born", at the same time, you must build the relation PER_BIRTH_DATE on the web( I do it first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants