# ClioPatria... a few questions regarding its state and capabilities

**URL:** <https://swi-prolog.discourse.group/t/cliopatria-a-few-questions-regarding-its-state-and-capabilities/5471>\
**Category:** Tools\
**Created:** [June 6, 2022, 10:10pm UTC](https://swi-prolog.discourse.group/t/cliopatria-a-few-questions-regarding-its-state-and-capabilities/5471 "2022-06-06T22:10:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartyStache](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/martystache/32/4416_2.png) [@MartyStache](https://swi-prolog.discourse.group/u/MartyStache)\
**Post date:** [June 6, 2022, 10:10pm UTC](https://swi-prolog.discourse.group/t/cliopatria-a-few-questions-regarding-its-state-and-capabilities/5471/1 "2022-06-06T22:10:04Z")

</div>

Greetings!

I am part of (and providing thought leadership to) a team designing/developing a ‘DevOps’ Semantic Web Stack for the Electric Utility/MBSE space: a cloud-based/neutral tool to:

- Curate/extend a core ontology
- Manage ontology representations of enterprise and partner data catalogs
- Align (map) them contextually using Profiles and Notation 3 (N3) Rules
- Annotate anything with anything and,
- Git, govern and capture provenance of all by treating models as code.

The idea of ClioPatria as a platform/backend/store to support this is very compelling. We have tested it out a bit through http://, pengines, swish, etc. It ticks a LOT of boxes. As a result, we have/need the following questions/help:

- What is its development state?
- Is it still is use today?
- Is there anything that has superseded it? I know there’s been some work on WebProlog, but not sure if is ready for prime-time.
- Should we not use it? Why?

- **Reasoning:** I have run across documentation that speaks about native reasoning (all the way back to dissertation), but cannot find examples on how/where to perform this (e.g., via pengines, http, etc.) with stock ClioPatria functionality. e.g., is there a full example inclusive of fact(s), rule and query for doing this with Cliopatria where the rule is persisted in the db??? Maybe I am not be looking in the right places?

- **N3 Rule Persistence and Retrieval via Pengine (_Eye Reasoner_):** We plan on using the [Eye Reasoner](http://eulersharp.sourceforge.net/) also written in Prolog (+1 bonus!). I do, however, have a _hard requirement_ to persist N3 rules not as files, but graphs, individually and in sets (as named graphs).

- **Python RDFLib Prolog Store using Pengines:** It seems logical to me for accessibility and broader adoption of Prolog to consider a Prolog store (ala an instance of ClioPatria) for Python’s RDFlib

- Lastly, if N3 rules _can_ be stored in the db, does the implementation of SPARQL or SeRQL support querying (or for that matter INSERT/UPDATE!!)

Aside from the items listed above and given our requirements, are there other options? Our big requirement is the need for N3 persistence. There are not many choices out there (that I have discovered…). We are open to suggestions.

I would like to do what I can to help reinvigorate Prolog as a language and I see a great opportunity through N3. The W3C N3 community recently [published an early draft of the Notation3 specification](https://w3c.github.io/N3/spec/) demonstrating renewed commitment to the language.

Any and all pointers, tips, advice, help is appreciated. I am very excited about being a new member of the SWI-Prolog community and hope in some small way I can make a difference in helping to promote such a great language!

Thanks!

Tim Duval  
github: _MartyStache_  
[https://www.linkedin.com/in/tim-duval11/](https://www.linkedin.com/in/tim-duval11/)
