solutions for semantic web (OWL ontologies, SPARQL, reasoning) and model driven development (metamodel, model design, model transformation, code generation)

TwoUse Discussion Group

| Saturday, February 20, 2010
If you are interested in the TwoUse toolkit, join the Discussion Group on

The TwoUse developers are ready to help you out!

New Version of TwoUse Toolkit is there

| Friday, February 19, 2010
A new version of the TwoUse Toolkit is now available for download.

The new version was rewritten to improve performance and compatibility with linux systems. Moreover, it is more friendly and includes the latest version of SPARQLAS.

Try it today! Get the latest version of Eclipse and install the TwoUse toolkit via update site using the following link:


Querying OWL Ontologies with OWL Syntax

| Sunday, February 14, 2010
Writing SPARQL queries for OWL ontologies can be time-consuming for those who do not do it everyday. Therefore, Mark Schneider has built a handy language, allowing users querying using OWL syntax -- SPARQLAS. These queries are translated into SPARQL queries that can be executed in a SPARQL engine that supports the OWL DL entailment regime, e.g., pellet.

The syntax is simple: You use the OWL Functional Syntax or a shortened version of it, and you can use variables wherever you have an entity (Class, Datatype, ObjectProperty, DataProperty, NamedIndividual) or a literal. You can construct nested expressions that use these variables.


All subclasses of pizza that have as topping some topping with spiciness hot.

In SPARQLAS OWL Functional Syntax:
Namespace ( = <> )
Query (
  SubClassOf ( ?x ObjectIntersectionOf ( Pizza ObjectSomeValuesFrom ( hasTopping ObjectIntersectionOf ( PizzaTopping ObjectSomeValuesFrom ( hasSpiciness Hot ) ) ) ) )

In SPARQLAS Shortened Functional Syntax:
Namespace ( = <> )
Query (
  SubClassOf ( ?x And ( Pizza Some ( hasTopping And ( PizzaTopping Some (hasSpiciness Hot ) ) ) ) )

You can try it in two different ways:

Integrate it in your application

Filling the Gap between Semantic Web and Model Driven Engineering: The TwoUse Toolkit

TwoUse Toolkit is an implementation of current OMG and W3C standards for developing ontology-based
software models and model-based OWL2 ontologies.

For Model Driven Developers
  • Describe your UML Classes using OWL2 class descriptions.
  • Semantically search for classes, properties and instances in your UML model.
  • Extent software design patterns with OWL2 class descriptions
  • Transform your graphical UML models to OWL2 functional syntax
  • Make sense of your modeling by inference explanations
  • Browse classes, subclasses, properties and individuals using the Class Hierarchy Viewer and the Entity Browser.
For OWL Ontology Engineers
  • Graphically model OWL2 ontologies and OWL2 safe rules using OMG UML Profile for OWL and UML Profile for SWRL.
  • Graphically model OWL2 ontologies and OWL2 Safe Rules using the OWL2 Graphical Editor.
  • Graphically model and store ontology design patterns as templates.
  • Transform your graphical models to OWL2 functional syntax
  • Write and safe SPARQL queries using the SPARQL Editor with syntax highlight.
  • Specify and safe OWL2 ontologies using the OWL2 functional syntax with syntax highlight.
Examples, Documentation and More Information