[Pellet-users] Support for gMonth?

Hannes Gräuler lordi at styleliga.org
Mon Mar 10 20:35:31 UTC 2008


Hi,

below you can find a simple test ontology.

Asking pellet for XCollection's instances, I get X returned.
If I try to get Y by asking for YCollection's instances,
I get no results.

Any hints?

Hannes


@prefix xsd:        <http://www.w3.org/2001/XMLSchema#> .
@prefix spec:       <http://www.w3.org/2002/12/cal/icalSpec#> .
@prefix rdfs:       <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl:        <http://www.w3.org/2002/07/owl#> .
@prefix cal:        <http://www.w3.org/2002/12/cal/ical#> .
@prefix owl11:      <http://www.w3.org/2006/12/owl11#> .
@prefix owl11xml:   <http://www.w3.org/2006/12/owl11-xml#> .
@prefix dc:         <http://purl.org/dc/elements/1.1/> .
@prefix dt:         <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix daml:       <http://www.daml.org/2001/03/daml+oil#> .
@prefix :           <http://localhost/test#> .

:number a owl:DatatypeProperty .
:month a owl:DatatypeProperty .

:X a owl:Thing;
     :number 2 .

:Y a owl:Thing;
     :month "--01"^^xsd:gMonth .

:XCollection
     a owl:Class;
     owl:equivalentClass
     [
         a owl:Restriction ;
         owl:onProperty :number ;
         owl:hasValue 2
     ] .

:YCollection
     a owl:Class;
     owl:equivalentClass
     [
         a owl:Restriction ;
         owl:onProperty :month ;
         owl:hasValue "--01"^^xsd:gMonth
     ] .



More information about the Pellet-users mailing list