• 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.2 Installation Steps for Other Languages

In general, to use the Machine Query Interface with any programming language:

  1. Install SWI Prolog itself on the machine the application will run on.
  2. Ensure that the system path includes a path to the swipl executable from that installation.
  3. Check if your SWI Prolog version includes the MQI by running‘swipl mqi --help`
  4. Make sure the application (really the user that launches the application) has permission to launch the SWI Prolog process. Unless your system is unusually locked down, this should be allowed by default. If not, you'll need to set the appropriate permissions to allow this.
  5. Install (or write!) the library you'll be using to access the MQI in your language of choice.

ClioPatria (version V3.1.1-51-ga0b30a5)