W3C home > Mailing lists > Public > semantic-web@w3.org > February 2010

Re: Querying OWL Ontologies with OWL Syntax

From: Michael Lang(Jr.) <michaelallenlang@gmail.com>
Date: Mon, 22 Feb 2010 11:24:07 -0500
Message-ID: <59c1f5621002220824u5def3c14i4fdb5b78405754b0@mail.gmail.com>
To: Fernando Silva Parreiras <parreiras@uni-koblenz.de>
Cc: semantic-web@w3.org, "Mike Lang Sr." <mlang@revelytix.com>, Bob Scanlon <rscanlon@revelytix.com>
At Revelytix, we have not run into a lot of use cases where an OWL query
language (which I think is what Sergio is describing), however we are fairly
certain that we will in the near future.  While I'm sure that Mark and
Sergio have done good work, we try our best to use standards wherever
possible.

Does anyone know if the W3C has plans to create an OWL query language or to
add native OWL support to SPARQL?

Mike Lang
Ontology Architect
Revelytix, Inc.

phone: 410-584-0009 (office)
          443-928-3782 (cell)
skype: michael.allen.lang.jr


On Mon, Feb 22, 2010 at 10:44 AM, Fernando Silva Parreiras <
parreiras@uni-koblenz.de> wrote:

> Querying OWL Ontologies with OWL Syntax
> ----------------------------------
>
> Writing SPARQL queries for OWL can be time-consuming for those who do not
> do it everyday. Therefore, Mark Schneider has built a handy language,
> allowing users to write queries 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
> ----------------------------------
>
> * Web: A HTML client with many examples is available on
> http://twouse.west.uni-koblenz.de/services/sparqlas2sparql.php
>
> * TwoUse Toolkit: The query language is distributed as part of the TwoUse
> toolkit. More information on http://twouse.googlecode.com/
>
>
> Integrate it in your application
> ----------------------------------
>
> * Web Service. Translating SPARQLAS into SPARQL is available as web service
> under http://twouse.west.uni-koblenz.de:8080/services/sparqlas2sparql?wsdl.
>
> * Standalone: The standalone bundle for java is available on
> http://code.google.com/p/twouse/downloads/list
>
>
> With best regards,
>
> Fernando Silva Parreiras
> TwoUse Development Team
> http://west.uni-koblenz.de/twouse
> SIG Software Web
> Institute for Web Science Technologies
> University of Koblenz-Landau
> Universitaetstrasse 1, B114
> 56070 Koblenz
> +49 (0)261 287 2786
> http://west.uni-koblenz.de
>
>
>
>
Received on Monday, 22 February 2010 16:32:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:34 GMT