Skip to content
Shahim Essaid edited this page Feb 2, 2015 · 1 revision

Combing OPPL and OWLTools

Introduction

OPPL (Ontology Pre-Processing Language) is an abstract formalism that allows for manipulating ontologies written in OWL.

The OWLTools command line and OPPL can be combined for powerful transformations

Details

Type

owltools --oppl -h

for full details

You can use the --dry-run option to view results

Example

owltools go.owl --oppl -i my_transform.oppl -o file://``pwd`/go-transformed.owl

You can also pass in the OPPL directly

owltools go.owl --oppl 'OPPL CODE HERE' -o file://``pwd`/go-transformed.owl

But you need to be careful about escaping strings