computes the concepts of a knowledge graph according to the theory of Graph-FCA, an extension of Formal Concept Analysis (FCA) for knowledge graphs (e.g., RDF graphs, conceptual graphs, power context families). The application takes as input the description of a knowledge graph in a text file, and returns the set of concepts either as a .dot file or as a text file. A number of options allow to control the production of concepts.

Please log in to perform a job with this app.


  1. upload the .p text file describing your knowledge graph (see demo and examples on Bitbucket)
  2. specify options if you like (see below)
  3. launch the application
  4. click on the SVG output file to visualize concepts

Graph-FCA options

[-quad] [-nodiag] [-l <int>] [-n <int>] [-k <int>] [-maxsize <int>] [-ext] [-injective] [-minsupp <int>] [-supp] [-txt|-dot]

  • -l maximum number of generation levels
  • -n maximum number of variables in generated patterns
  • -k maximum arity of generated concepts (default 1)
  • -quad use quadratic mode for generation
  • -nodiag excludes patterns including diagonal alignment
  • -txt show concepts as text in terminal
  • -dot show concepts as graphs using SVG format
  • -ext print extents for each node
  • -injective show only injective mappings in solutions
  • -minsupp filter concepts by minimum support (default 1)
  • -supp print only concept support rather than object list
  • -maxsize filter concepts by maximum size (nb. nodes)
  • -help Display this list of options
  • --help Display this list of options

Source code

An open source repository is available on Bitbucket. It also contains a few examples (input and output).


  • Sébastien Ferré, Peggy Cellier. Graph-FCA in Practice. In Int. Conf. Conceptual Structures (ICCS), LNCS 9717, pages 107-121, 2016. Springer. PDF
  • Sébastien Ferré. A Proposal for Extending Formal Concept Analysis to Knowledge Graphs. In Int. Conf. Formal Concept Analysis (ICFCA), LNCS 9113, pages 271-286, 2015. Springer. PDF

In input :

% British royal family

Charles & William & Harry & Georges : [ male ],
Diana & Kate & Charlotte : [ female ],
William & Harry : [ parent Charles & Diana ],
Georges & Charlotte : [ parent William & Kate ].

In output :


26/07/2016 : Version 1.0, initial version

How to use our REST API :

Think to check your private token in your account first. You can find more detail in our documentation tab.

This app id is : 132

This curl command will create a job, and return your job url, and also the average execution time

files and/or dataset are optionnal, think to remove them if not wanted
curl -H 'Authorization: Token token=<your_private_token>' -X POST
-F job[webapp_id]=132
-F job[param]=""
-F job[queue]=standard
-F files[0]=@test.txt
-F files[1]=@test2.csv
-F job[file_url]=<my_file_url>
-F job[dataset]=<my_dataset_name>

Then, check your job to get the url files with :

curl -H 'Authorization: Token token=<your_private_token>' -X GET<job_id>