Hi, I have a feature suggestion for SMW for different "classes" of recursion depth for queries that return embedded content with or without semantic links, e.g., $maxRecursionDepth = 1, but $maxRecursionDepthNonSemantic = 2. This allows using queries to embed content with clickable links, but prevents the embedding page from inheriting properties from the embedded pages. I have a basic static implementation working, i.e., depths are fixed, but I do not currently have the ability to make the depths changeable on a per-query basis.
I believe that something similar can be done with <onlyinclude> on the page to be embedded, or even creating parallel content with inheritable and non-inheritable versions on different pages, but those are rather binary solutions that always apply to the content to be embedded (and in the case of parallel content, could double the content size and at least double the number of semantic links). The approach I am suggesting would allow users to specify on a per-query basis whether or not properties will get inherited and to what depth, without any changes to the content aside from queries. Is there any interest in seeing the full suggestion/justification and the code (plus outlines for what I have not been able to do), or do I have a unique use that is more suited to private development? Please let me know. Thanks, Alex -- Alex M. Hendler ontolawgy(tm) LLC http://ontolawgy.com ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel