Harold Solbrig wrote: > We’re playing around with the pre-alpha release because we can take > advantage of some of services, pages and other features. We encountered > a problem in the RDF export – the code drop that we got converts > everything to DataTypeProperty, including links (relations) of type > “Page”.
I think I reproduced this, http://ontoworld.org/wiki/SMW_unit_test:Test_ExportRDF What I'm seeing is if the property doesn't specify its type (which in SMW 1.0pre-alpha3 defaults to Type:Page), it exports as owl:ObjectProperty, which seems correct. But if the property says it has_type Type:Page, then it exports as owl:DatatypeProperty as you say, which seems a bug. I filed bug 11076. > We believe that the following change should fix this issue: > > At what is line 640 in this morning’s current version > SMW_SpecialExport.php (printTriples routine), change the “getTypeId()” > (which always returns “_typ” in the new scheme of things to > “getXSDValue()” which seems to return “_wpg” (web page) where appropriate. I'm not sure your change is the best one. getTypeId is supposed to "Return a short string that unambiguously specify the type of this value." Surely that string should be _wpg, not__typ. Also getXSDValue() for e.g. a property of Type:Integer returns the localized string "Integer:", I'm not sure why it doesn't return "Page" instead of _wpg. But SMW_DV_Types.php is new and unclear to me so you could be right! Regards, -- =S Page ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel