Markus Krötzsch wrote:
> Also, SMW can *export* your queries now: click on the "RDF feed" link on a 
> concept 
> page to see the machine-readable version of the query. The OWL format that we 
> use for export can nicely capture many SMW queries, and OWL tools can 
> actually read these descriptions and reuse them externally. So SMW now cannot 
> just export your wiki data, but also conceptual information about your topic.

The SMW query is:
[[Category:Event]] [[Start date::> Jan 1 2008]] [[Start date::< Dec 31 2008]]

Here is the OWL class description of the query.  I don't see how it limits the
range of dates.  Does OWL have support for class restrictions on greater 
than/less than on literals?

<owl:Class 
rdf:about="http://semanticweb.org/id/Concept-3ASemantic_Web_events_2008";>
   <rdfs:label>Semantic Web events 2008</rdfs:label>
   <swivt:page 
rdf:resource="http://semanticweb.org/wiki/Concept:Semantic_Web_events_2008"/>
   <rdfs:isDefinedBy 
rdf:resource="http://semanticweb.org/wiki/Special:ExportRDF/Concept:Semantic_Web_events_2008"/>
   <rdfs:subClassOf>
     <owl:Class>
       <owl:intersectionOf rdf:parseType="Collection">
         <owl:Class rdf:about="http://semanticweb.org/id/Category-3AEvent"/>
         <owl:Restriction>
           <owl:onProperty 
rdf:resource="http://semanticweb.org/id/Property-3AStart_date"/>
           <owl:someValuesFrom 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
         </owl:Restriction>
         <owl:Restriction>
           <owl:onProperty 
rdf:resource="http://semanticweb.org/id/Property-3AStart_date"/>
           <owl:someValuesFrom 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
         </owl:Restriction>
       </owl:intersectionOf>
     </owl:Class>
   </rdfs:subClassOf>
</owl:Class>


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to