The Answer Set Program (ASP) requires downloading DLV-Prolog, which is licensed for free academic use.
- Create a file
classes.txtthat contains the taxonomic heirarchy, or use theclasses.inpho.txtfile that contains the InPhO seed taxonomy. - Create a file
evals.txtthat contains the evaluations - Run
dlv -pfilter=class,isa,ins,link classes.txt evals.txt program.txt 1> output.txt
A loose sketch that assumes a working install of the inpho package and a database backup with the Idea table already populated.
python toinpho.py output.txtgit clone [email protected]:inpho/inphosite.gitcd inphositevirtualenv sandbox --no-site-packagessource sandbox/bin/activategit checkout dynamic-displaypython setup.py develop- Create a
development.inifile:cp template.ini development.ini- Modify the
sqlalchemy.urldirective to match the one in~/.config/inpho/inpho.ini
paster serve development.ini
Mathias Niepert, Cameron Buckner, Colin Allen. Answer Set Programming on Expert Feedback to Populate and Extend Dynamic Ontologies. Proceedings of the 21st International FLAIRS Conference, Coconut Grove, Florida, pages 500-505, AAAI Press, 2008. PDF