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

Showing posts with label sparql. Show all posts
Showing posts with label sparql. Show all posts

UML + OWL Ontology and SPARQL

| Wednesday, July 28, 2010
This demo of the TwoUse Toolkit shows UML class diagram, OWL ontology and SPARQL to dynamically classify instances at runtime. We model the variations of the class SalesOrder with the web ontology language, namely USSalesOrder and GermanSalesOrder. Later, we write a query operation that asks for the most specific type of the contextual object.

Improving Software Design Patterns with UML, OWL and SPARQL

| Sunday, July 11, 2010
We deal with problems in common design patterns and proposes OWL to remedy these issues. We exploit the TwoUse approach, which integrates OWL and UML class diagrams to overcome drawbacks of the Strategy Pattern, that are also extensible to the Abstract Factory Pattern.

UML, OWL and SPARQL with TwoUse Toolkit - Demo

| Friday, June 25, 2010



Since MDE and OWL provide complementary benefits, contemporary software development should make use of both approaches. This demo presented at the Sixth European Conference on Modeling Foundations and Applications enlightens the improvements from an integrated approach.

The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

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.

Example

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

In SPARQLAS OWL Functional Syntax:
Namespace ( = <http://www.co-ode.org/ontologies/pizza/pizza.owl#> )
Query (
  SubClassOf ( ?x ObjectIntersectionOf ( Pizza ObjectSomeValuesFrom ( hasTopping ObjectIntersectionOf ( PizzaTopping ObjectSomeValuesFrom ( hasSpiciness Hot ) ) ) ) )
)

In SPARQLAS Shortened Functional Syntax:
Namespace ( = <http://www.co-ode.org/ontologies/pizza/pizza.owl#> )
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