Dear Alex, thanks for reminding me. I have now fixed the problem (SVN revision 111233). Updating the single file ./includes/export/SMW_Exporter.php should suffice. I have not found a bug report about this; if there is one then it would be good if you could point me to it s I can close it.
The reason for the problem was that no sortkeys had been stored for subobjects in RDF. But sortkeys are necessary to properly order results (even if the order is arbitrary, this is important for displaying, e.g., the "first" 10 results). The order will now be based on the parent page name, followed by the subobject name (whether set by the user or selected internally by SMW or some extension). The sortkey will be stored properly for all future updates now; this means that existing data will need to be rewritten to get the required information (by editing the affected pages or by using SMW's update feature on Special:SMWAdmin). Cheers Markus On 02/02/12 13:45, Alex M. Hendler (public) wrote: > Hi, > > I have also noticed the same issue that Giovanni raised a few weeks > ago: I get completely blank replies when querying for subobjects using > 4store 1.1.4, SMW 1.7.0, and MW 1.18.1. This also affects Internal > Objects using the Semantic Internal Objects extension that came > packaged in the 2012-01-09 Semantic Bundle. > > If I revert to default datastore, subobject and internal object > queries work as expected. > > Any ideas? Unfortunately, I cannot reproduce on the Referata > scratchpad because it doesn't seem to be using 4store. > > Thanks, > Alex > -- > Alex M. Hendler > http://ontolawgy.com > > > On Wed, Jan 4, 2012 at 9:42 PM, solab<i...@solab.eu> wrote: >> Hi all, >> >> FYI: >> I use the following subobject query: {{#ask: [[Sandbox#street]]| >> ?street name |?postcode|?city}} >> >> On my installation the query gives some results only if the default >> store is not a rdf store. >> >> Tested with MW 1.18 / SMW 1.17 and 4store (the only rdf store i managed >> to run with SMW). >> >> Is this a known issue or it has something to do with my installation? >> >> >> Cheers >> Giovanni >> >> >> >> On 2011-12-08 18:34, solab wrote: >>> Hi all >>> >>> I was trying the new SMW 1.17beta subobject feature on the Sandbox page >>> >>> {{#subobject:street >>> | street name= voltastrasse >>> | postcode=8000 >>> | city=zurich >>> | country=ch >>> }} >>> >>> Then i started to do some queries: >>> >>> Query 1 {{#ask: [[has subobject::+]]}} ok return Sandbox >>> >>> Query 2 {{#ask: [[Sandbox#street]]| ?street name |?postcode|?city}} >>>> ok return the values of the properties >>> >>> Query 3 {{#ask: [[street name::+]] }} ok return Sandbox#street >>> >>> But how do i get the pages/object with subobject "street" ? >>> >>> I tried with {{#ask:[[street::+]]|?}} expecting something like >>> Sandbox#_anInternalId but the return is empty >>> >>> Any Idea or doc? >>> >>> Cheers >>> Giovanni >> >> >> ------------------------------------------------------------------------------ >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >> infrastructure or vast IT resources to deliver seamless, secure access to >> virtual desktops. With this all-in-one solution, easily deploy virtual >> desktops for less than the cost of PCs and save 60% on VDI infrastructure >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >> _______________________________________________ >> Semediawiki-devel mailing list >> Semediawiki-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel