The Answer Set Program (ASP) requires downloading DLV-Prolog, which is licensed for free academic use.
- Create a file
classes.txt
that contains the taxonomic heirarchy, or use theclasses.inpho.txt
file that contains the InPhO seed taxonomy. - Create a file
evals.txt
that 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.txt
git clone git@github.com:inpho/inphosite.git
cd inphosite
virtualenv sandbox --no-site-packages
source sandbox/bin/activate
git checkout dynamic-display
python setup.py develop
- Create a
development.ini
file:cp template.ini development.ini
- Modify the
sqlalchemy.url
directive 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