yihlamur
yihlamur

Reputation: 382

How to use DL Query programmatically

I would like to know whether I can use DL Query in Protege programatically. Is it possible to enter a query in Java and retrieve individuals like how it is done in SQL?

E.g. query is hasCalorificContentValue value 723 and I would like to retrieve an individual called QuattroFormaggio.

Upvotes: 0

Views: 1405

Answers (1)

fgibson
fgibson

Reputation: 176

If you have an OWL file then you can use the OWLAPI to programatically access, edit and query your ontology without having to use Protege. On the OWLAPI examples page there are code examples that describe how you would encode your query.

Upvotes: 3

Related Questions