whyis-author-affiliation-agent

Author and Affiliation retrieval for Whyis


License
MIT
Install
pip install whyis-author-affiliation-agent==0.0.1

Documentation

whyis_author_affiliation_agent

Installation

  • install whyis using this command

    WHYIS_BRANCH=master bash < <(curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/install.sh)
    
  • whyis will be installed in /apps/whyis

  • In your knowledge graph directory, add the author affiliation agent to the list of inferencers in your config.py file:

    • Add the following import line: import whyis_author_affiliation_agent.affiliation_agent as aa
    • Add the following line to the inferencers item in the Config dictionary constructor: "AffiliationAgent": aa.AffiliationAgent()
  • Run authoraffiliationsetup -e email [-u arcgis_username -p arcgis_password -r referer] to set up your credentials for requesting author and affiliation data.

    • The ArcGIS username and password are optional, but without them you may be unable to retrieve affiliation location data
    • The referer flag is optional
  • Run authoraffiliationtest to test the installation is working properly

  • Reload your knowledge graph to run the inferencer over it