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

E.2 Software support to keep track of license conditions
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • SWI-Prolog License Conditions and Tools
        • Software support to keep track of license conditions
          • license/0
          • license/2
          • license/1
          • PL_license()
          • known_licenses/0
    • Packages
Availability:built-in
Sourcelicense(+LicenseId, +Component)
Register the fact that Component is distributed under a license identified by LicenseId. Known license identifiers can be listed using known_licenses/0. A new license can be registered as a known language using a declaration like below. The second argument defines the category if the license, which is one of gpl, lgpl, permissive or proprietary.
:- multifile license:license/3.

license:license(mylicense, permissive,
                [ comment('My personal license'),
                  url('http://www.mine.org/license.html')
                ]).

:- license(mylicense).
ClioPatria (version V3.1.1-40-g9d9e003)