diff options
author | http://lj.rossia.org/users/imz/ <http://lj.rossia.org/users/imz/@web> | 2009-05-16 17:12:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-05-16 17:12:12 -0400 |
commit | 6f8d8ca1e8a0ad52b1febff3bc70bb907a2a2d72 (patch) | |
tree | 6f893371eeac2722a265ccd028852f3ab8ba7fe4 /doc/todo | |
parent | aca5479a3a1a0cfee1285f176f7015a53ed6cf2b (diff) | |
download | ikiwiki-6f8d8ca1e8a0ad52b1febff3bc70bb907a2a2d72.tar ikiwiki-6f8d8ca1e8a0ad52b1febff3bc70bb907a2a2d72.tar.gz |
Referred to a related thing: description logics again.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/pagespec_relative_to_a_target.mdwn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/todo/pagespec_relative_to_a_target.mdwn b/doc/todo/pagespec_relative_to_a_target.mdwn index 4757988e0..00030cce6 100644 --- a/doc/todo/pagespec_relative_to_a_target.mdwn +++ b/doc/todo/pagespec_relative_to_a_target.mdwn @@ -90,8 +90,12 @@ diff -urNX ignorepats ikiwiki/IkiWiki/Plugin/relative.pm ikidev/IkiWiki/Plugin/r [[!tag patch]] -> This looks really interesting. It reminds me of XPath and its conditionals. +> This looks really interesting. It reminds me of [[!wikipedia XPath]] and its conditionals. > Those might actually work well adapted to pagespecs. For instance, to write > "match any page with a child blah", you could just write *[blah] , or if you > don't want to use relative-by-default in the conditionals, *[./blah]. > -- [[JoshTriplett]] + +> And it [[!taglink also_reminds_me|pagespec_in_DL_style]] of [[!wikipedia description logics]]: of course, given the relation `subpage` one could write a description-logic-style formula which would define the class of pages that are ("existentially") in a given relation (`subpage` or `inverse(subpage)*subpage`) to a certain other class of pages (e.g., named "blah") ("existentially" means there must exist a page, e.g., named "blah", which is in the given relation to the candidate). + +> Probably the model behind XPath is similar (although I don't know enough to say this definitely).--Ivan Z. |