• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

1 Machine Query Interface Overview
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • mqi -- Python and Other Programming Languge Integration for SWI Prolog
        • Machine Query Interface Overview
          • Installation Steps for Python
          • Installation Steps for Other Languages
          • Prolog Language Differences from the Top Level
          • Embedded Mode: Integrating the Machine Query Interface Into a New Programming Language
          • Standalone Mode: Debugging Prolog Code Used in an Application
          • Machine Query Interface Messages

1.1 Installation Steps for Python

A Python 3.x library that integrates Python with SWI Prolog using the Machine Query Interface is included within the libs directory of the SWI Prolog installation. It is also available using pip install swiplserver. See the Python swiplserver library documentation for more information on how to use and install it from either location.

ClioPatria (version V3.1.1-51-ga0b30a5)