Hi everyone!

I'd like to export a wiki page to RDF/OWL (using Special:ExportRDF), and include in the generated OWL the definitions of the properties used in the related pages.

For instance, page p1 has a relation with p2, and page p2 uses the property x.
If I use Special:ExportRDF to export p1 and select the options ."Recursively export all related pages..." and "Recursively export all related pages...", the definition of the individual p2 and the value of property x will be there:
<swivt:Subject rdf:about="http://athena.zagile.com/zWiki/index.php/Special:URIResolver/Joaoolavo1-2FExperience-2F0">
<property:x rdf:datatype="http://www.w3.org/2001/XMLSchema#string">asdfasdfasdf</property:x>

But what is missing is the definition of the (datatype) property x. If I export page p2 it'll be there, but exporting p1 it won't. The definition (in OWL) is something like:
<owl:DatatypeProperty rdf:about="http://www.example.com/wiki/index.php/Special:URIResolver/Property-3AX">
<rdfs:label>Property x</rdfs:label>
<swivt:page rdf:resource="http://www.example.com/wiki/index.php/Property:X"/>
<rdfs:isDefinedBy rdf:resource="http://www.example.com/wiki/index.php/Special:ExportRDF/Property:X"/>

Is there any way to *really* export recursively all related pages, as the pages of the properties?
Maybe another gold lost in the code...

João Olavo Baião de Vasconcelos
Bacharel em Ciência da Computação
Mestrado em Informática @ UFES