[Question] How to define class instances by intention, in OWL (with a SPARQL query)

Hello,

I'm currently working on dynamic collection definition and try to express it
in OWL format.

I would like to specify a class for which all instances are defined in
intention by a query. The only way I found is to put a property "query"
which has a literal value and contained the query.
As far as i know, this representation, by the mean of OWL restriction, is
not possible (i may be wrong) .

Example : The class of native places of 19th century romantic composers, as
retrieved by the following SPARQL Query on dbpedia

      SELECT ?x
      WHERE
          {
          ?c  dbpprop:birthPlace  ?x.
          ?c a <http://dbpedia.org/class/yago/RomanticComposers>.
          ?c  dbpprop:birth  ?b.
          ?c  dbpprop:death ?d.
          FILTER (?b > 1800)
          FILTER (?d <1900)
           }


Is there a way to define in OWL, membership of a class with a query ?

Thank you,

Pierre-Yves.

Received on Wednesday, 5 August 2009 11:43:38 UTC