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.
.ptext file describing your knowledge graph (see demo and examples on Bitbucket)
[-quad] [-nodiag] [-l <int>] [-n <int>] [-k <int>] [-maxsize <int>] [-ext] [-injective] [-minsupp <int>] [-supp] [-txt|-dot]
-lmaximum number of generation levels
-nmaximum number of variables in generated patterns
-kmaximum arity of generated concepts (default 1)
-quaduse quadratic mode for generation
-nodiagexcludes patterns including diagonal alignment
-txtshow concepts as text in terminal
-dotshow concepts as graphs using SVG format
-extprint extents for each node
-injectiveshow only injective mappings in solutions
-minsuppfilter concepts by minimum support (default 1)
-suppprint only concept support rather than object list
-maxsizefilter concepts by maximum size (nb. nodes)
-helpDisplay this list of options
--helpDisplay this list of options
An open source repository is available on Bitbucket. It also contains a few examples (input and output).
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
This app id is : 132
This curl command will create a job, and return your job url, and also the average execution timefiles 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 email@example.com -F firstname.lastname@example.org -F job[file_url]=<my_file_url> -F job[dataset]=<my_dataset_name> https://allgo.inria.fr/api/v1/jobs
Then, check your job to get the url files with :
curl -H 'Authorization: Token token=<your_private_token>' -X GET https://allgo.inria.fr/api/v1/jobs/<job_id>