Ontology competency questions in Logical English

ontology-questions-le.le · Turtle ontology · output · proof · check · playground


The question

What questions could help review the schema of a research catalog? The ontology declares studies, replications, datasets and properties that link them.

Historical background

Grüninger and Fox used competency questions to express what an ontology should enable users to ask. Here the schema is the input and the rules derive candidate questions for review. Grüninger and Fox, Methodology for the Design and Evaluation of Ontologies

What we tell eyemind

RDF property bindings read class, subclass, object-property, domain, range and inverse declarations from Turtle. Each generated question starts with a kind, followed by its IRI slots. The answer shape says what a later query or review should return. W3C OWL 2 Primer

What eyemind concludes

The catalog generates six questions. For example, the subclass assertion suggests asking what distinguishes a replication from a study. The domain and range of ex:uses suggest asking which study–dataset pairs are linked by that property.

struct('le:answer', 'questions', 'research catalog', ['distinguish', iri('https://example.org/research-catalog#Replication'), iri('https://example.org/research-catalog#Study')], 'definition')

What the proof establishes

The proof is checked against the catalog and its question rules. It verifies which suggestions follow from the schema declarations.

Try it

node bin/eyemind.js examples/ontology-questions-le.le examples/data/ontology-questions-le.ttl
node bin/eyemind.js --check-proof examples/proof/ontology-questions-le.js examples/ontology-questions-le.le examples/data/ontology-questions-le.ttl

Add ex:Review a owl:Class. to the Turtle file and see its instance question appear.