Examples, examples, examples! You’ve asked for it and here it is. We’ve put together a bank of runnable, annotated examples for a variety of tasks using Ergo which illustrate various advanced features of Ergo Suite and augments the examples found in the Ergo Suite Tutorial. It’s called the Ergo Examples Bank. Each folder contains an ‘About’ document explaining the example as well as the example files themselves with both data and rules. Current examples in the bank include:
- Connecting Ergo to SQL databases. Shows how to connect to different SQL data bases, populate them from external sources, and issue distributed queries.
- Defeasible reasoning. Illustrates the use of defeasible reasoning in Ergo.
- RDF and OWL. Examples illustrating import of RDF and OWL statements into Ergo.
- Querying SPARQL endpoints. Examples of querying various SPARQL endpoints and processing the results in Ergo in non-trivial ways.
- Importing tabular data. A howto on importing comma-separated (csv), tab-separated (tsv), and more general delimiter-separated (dsv) data.
- Importing XML. A howto on importing XML data into Ergo.
- Working with JSON. Examples of importing, exporting, and working with JSON data.
- Doing input and output as a pro. Examples showing how to read data from files, write out to files, and more — without pain!
This is a living document and more categories of examples will be added. Suggestions from users on how to improve the examples or what additional examples would be of interest as well as user-contributed examples are welcome! Please email us at info@coherentknowledge.com with your thoughts and ideas. The examples could be both of the HOWTO type as well as domain-specific (e.g., e-commerce, e-learning).