Hey Marco
Marco K. wrote:
<snip>
Yes, indeed it
would. The only Thing is that this would not be always
easy to understand for the average user (who will use the WYSWIG-Editor)
But generally the above Example would translate to:
Somewhere on a London Xwiki page:
[[UK>United Kingdom>predicate="capital_of"]]
(correct ?)
I highly appreciate the support for semantic links in xwiki. Some
months
ago, I developed an experimental plugin for this. (With the help of the
Graphviz-plugin, I can visualize the relations between pages.) So I have
some made experience, I'd like to share with you:
1.) The semantic links should be persistent, so that they can be queried
fast,
e.g. for lists as in:
http://semantic-mediawiki.org/wiki/Property:Located_in
http://semantic-mediawiki.org/wiki/Special:Properties
Particularly, it should be possible to find all "subject pages" of an
object page (as this is done with persistent backlinks in XWiki).
2.) The predicates / properties should have their own document
so that you can describe the property or define some "meta properties"
there, for example.
Yes. I completely Agree, that would be consistent with the OWL-Way of
referring to Data or Object Properties. That would allow to put axioms
on the Property Page like "P1 owl:sameAs P2" or whatever.
3.) The value of the predicate should IMHO be also a "fully working" link
so that you can navigate to the predicate / property itself. The
semantic link should be visible in either way in the generated HTML (at
least in the tooltip?). Eventually, the predicate-links should also be
stored as backlinks?
The full link would then point to the Property page, or to some property
of a another Ontology. But in the latter case the predicate-Links cannot
be stored as backlinks.
I think it should be possible to write a plugin which would also
attach/embed the rdf representation of the Links into the retrieved html
page, so that it can be used by foreign systems/programs. This would
also apply to the Notation in Wikimodel here:
http://code.google.com/p/wikimodel/wiki/AdvancedStructuralElements
4.) Page Renaming of properties should be possible, so that the semantic
links are updated with the new predicate.
For my plugin, I used the following syntax - inspired by Semantic
MediaWiki [[Space.Predicate::Space.Object]]:
[[Predicat Name>Space.Predicate][Object Name>Space.Object]]
or short
[[Predicate][Object]]
It had the pragmactic advantage with the old xwiki syntax that the
"normal" link parsing and the functions like "Page
renaming/Refactoring"
work furthermore. From the implementation perspective, I only needed to
write a radeox filter that does the following:
1) Read the semantic link and store it in a persistent store
2) Convert [[Predicat Name>Space.Predicate][Object Name>Space.Object]] to
[Object Name>Space.Object].
I configured this filter before the XWikiLinkFilter.
My 2 cents.
It is definitely good to hear that other have successfully used xwiki as
"semantic enriched"-Wiki and it is thus been tested somewhat. Also I
think it is good in terms of Experience.
nice greetings
Jonas