Contents
Semantic search[edit]
It's not clear if the "|+index=1" printout parameter will work as described or not (based on the "Limitations" paragraph. Some tests indicate that it's not working: http://sandbox.semantic-mediawiki.org/wiki/U.S.A._test_query
- Hi, it would be best to use the mailing list to address this issue. Practically nobody is watching this page. Thank you and cheers --[[kgh]] 16:05, 16 November 2011 (CET)
SIO example error?[edit]
should
{{set_internal:is museum in city |has name={{{1}}} |has opening time={{{2|}}} |has closing time={{{3|}}} }}
be
{{#set_internal:is museum in city |has name={{{1}}} |has opening time={{{2|}}} |has closing time={{{3|}}} }}
???
- Yes indeed. I just fixed this. Thank you for tracking this. Cheers --[[kgh]] 01:15, 2 January 2012 (CET)
Subobject[edit]
The extension page for Semantic Internal Objects tells me that there's now a built-in functionality that does much the same thing: Help:Adding subobjects. Perhaps that could be noted in the "Alternatives" section? -- Sekoia 02:28, 29 June 2012 (CEST)
- Heiya Sekoia, good point. Thank you for noticing this. I have just added this to the "Alternatives" section. Cheers --[[kgh]] 15:55, 29 June 2012 (CEST)
not working as intended with multiple fields of same type[edit]
If you create a property of type “Record” with 3 fields that are all numbers, then using a command like {{#set:HPrec=2;1;3}}
seems not to work as intended.
See these pages for live examples:
The actual data that gets set seems to become 2 (2, 2)
, am i doing something wrong or is this a known bug?
Due to these kind of bugs with records im forced to use properties of type string and code my own functions to treat them as records with fields...
This is/was on SMW v1.7.1 (version on wiki)
--TriMoon 20:31, 13 July 2012 (CEST)
- I recommend to send this to the user mailing list and to increase the attention this issue gets. Cheers --[[kgh]] 00:20, 14 July 2012 (CEST)
Defining Record Types[edit]
The text for this page, particularly the opening paragraph and the Help:Type Record/Archive#Declaration and usage section, is misleading. The Property: page for a Record type property uses the has fields special property, but in SMW 1.7 the fields are defined with other non-record properties, not property types. This feels like a fairly extensive rewrite to Help:Type Record/Archive, but I don't know enough about the correct record type behavior to update the page with confidence. I stumbled across Semantic_MediaWiki_1.6.0#Type:Record and through trial and error was able to get my Record property to work, but this was fairly opaque. And during an upgrade from SMW 1.5 to 1.7, alarming.
Dethomas 22:49, 16 July 2012 (CEST)
- Indeed parts of this page are outdated and should be rewritten. Thank you for noticing this. I will probably to this within the next couple of days. Apropos, always check the release pages before upgrading a semantic wiki in any case. Cheers --[[kgh]] 23:11, 16 July 2012 (CEST)
- Done. --[[kgh]] 01:33, 20 July 2012 (CEST)
- Thanks for updating, i hoped it would resolve my issue posted above but seems its still unusable for what i intended as you can't use same type more than once...
- At least this rewrite will eliminate most problems new ppl to SMW would encounter that try to use Records.
- --TriMoon (talk) 00:34, 1 August 2012 (CEST)
- [View source↑]
- [History↑]