- From: Danny Ayers <danny.ayers@gmail.com>
- Date: Wed, 5 Aug 2009 16:15:20 +0200
- To: Pierre-Yves Vandenbussche <pierre-yves.vandenbussche@mondeca.com>
- Cc: semantic-web@w3.org
An alternative might be to put the query online, treat it as a resource, and give it a URI. If the dataset is constant then you could give the result set a URI. 2009/8/4 Pierre-Yves Vandenbussche <pierre-yves.vandenbussche@mondeca.com>: > > 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. > -- http://danny.ayers.name
Received on Wednesday, 5 August 2009 14:16:03 UTC