70 likes | 163 Views
The Flora Query Tab. Querying Protégé-2000 With F-Logic Michael Sintek sintek@dfki.uni-kl.de. Flora Query Tab. Flora is an XSB-based F-Logic (Frame Logic): http://www.cs.sunysb.edu/~sbprolog/xsb-page.html Protégé knowledge base is exported as F-Logic program (including axioms)
E N D
The Flora Query Tab Querying Protégé-2000With F-Logic Michael Sintek sintek@dfki.uni-kl.de
Flora Query Tab • Flora is an XSB-based F-Logic (Frame Logic):http://www.cs.sunysb.edu/~sbprolog/xsb-page.html • Protégé knowledge base is exported as F-Logic program (including axioms) • queries can now be executed in an XSB/Flora “sub-process” • list of answers is shown in Protégé (if answers are instances) • can also be used to model constraints (queries must/must not fail if knowledge base is consistent/inconsistent) • views can be defined in a powerful way • download Flora Tab from:http://www.dfki.uni-kl.de/~sintek/FloraTab/FloraTab.zip
Simple Example query run query results Flora interaction
Transformation of Protégé Classes and Instances Into F-Logic • classes:'Newspaper'::':THING'['Prototype'=>'Prototype_Newspaper'; 'Contents'=>>'Content'; 'Date'=>string; number_of_pages=>integer]. • instances:instance_00083:'Newspaper'['Contents’->>{instance_00035,instance_..., ...}; 'Prototype'->instance_00078; number_of_pages->148; 'Date'->'08/23/97']. subclass of type =>, -> single valued =>>, ->> multiple valued instance of values
Parameters and Axioms axioms parameter
Views: Definition view definition:newspapers and their authors