Rosetta Code talk:Add a Task: Difference between revisions

Content added Content deleted
(→‎Semantic annotations?: At a first pass, yes.)
Line 18: Line 18:
: Hm. I'll try to explain it better here, so the page body can be updated in a more clear fashion after it's been vetted and I'm sure I really know what I'm talking about. (I'm not entirely clear on it myself, I just know a couple ways the feature can be used/abused to RC's benefit.) Semantic properties take the form of ''''<nowiki>[[property name::this page's relationship to that property.]]</nowiki>'''. I don't know what happened to the semantic notations on the delegate page. It's possible I never committed my changes to that page while I was writing this one. For a list of current properties and their usage, check out [[Special:Properties]]. It might also help to look at [[smw:Help:Properties and types]]. --[[User:Short Circuit|Michael Mol]] 21:16, 9 November 2010 (UTC)
: Hm. I'll try to explain it better here, so the page body can be updated in a more clear fashion after it's been vetted and I'm sure I really know what I'm talking about. (I'm not entirely clear on it myself, I just know a couple ways the feature can be used/abused to RC's benefit.) Semantic properties take the form of ''''<nowiki>[[property name::this page's relationship to that property.]]</nowiki>'''. I don't know what happened to the semantic notations on the delegate page. It's possible I never committed my changes to that page while I was writing this one. For a list of current properties and their usage, check out [[Special:Properties]]. It might also help to look at [[smw:Help:Properties and types]]. --[[User:Short Circuit|Michael Mol]] 21:16, 9 November 2010 (UTC)
:: Ok, if I understand right: properties are like regular wikilinks but with an (invisible) prefix for consumption by computer programs. They are typically used in templates. --[[User:Rdm|Rdm]] 21:25, 9 November 2010 (UTC)
:: Ok, if I understand right: properties are like regular wikilinks but with an (invisible) prefix for consumption by computer programs. They are typically used in templates. --[[User:Rdm|Rdm]] 21:25, 9 November 2010 (UTC)
::: At a first pass, yes. Note that the prefix and suffix become related, as well as the page the link is created on. Additionally, it's possible (and desirable in a number of places on RC) to create the prefix/suffix/page association without a visisble component. Finally, the wiki software itself consumes those associations, allowing us to use [[smw:Help:Semantic search|semantic searches]] to do interesting things. (Such as dynamically creating task page and example listings based on task properties, or (eventually) replacing MultiCategorySearch as the mechanism we use for the 'unimplemented in X' pages, and, even farther, 'unimplemented using Y' pages where Y is some concept (language, paradigm, library or other tool) as desired.) --[[User:Short Circuit|Michael Mol]] 21:35, 9 November 2010 (UTC)