Hi, see below
Hello Xwikians,
Vincent Massol wrote:
On Aug 30, 2008, at 11:56 PM, Artem Melentyev wrote:
Jonas von Malottki wrote:
Hello Devs,
by reading that another Question crossed my mind: Have you ever thought of giving XWiki also some semantic capabilities?
I mean the Idea of Semantic Wikis is not new: http://en.wikipedia.org/wiki/Semantic_wiki
In Xwiki you could just put a Link in a 2-tuple form for letting it fulfil the "subject - predicate - object"-Association, with the Subject as the Site where the link is set and the Object the Site where the link is pointing to, so only the predicate is missing.
And sometimes I really think it could make Sense. Especially in Xwiki where you could exploit Information stored that way directly via Scripts and Applications developed in XWiki itself. The question is not relevant to this topic (Query Language), so you'd better to start new tread. But anyway, there are some effort, I think nepomuk.semanticdesktop.org as possible example. But I don't know much on it. About links, this question to Vincent: can we add some meta data to link? So we can use these links later for semantic needs? :) for example (semantic-mediawiki) http://semanticweb.org/wiki/London : [[capital of::England]] "capital of" is predicate, England is target page.
The answer is yes. I was about to send a proposal to modify links since I have that need internally in order to support linking to images. The idea is to have this new format:
[[label>reference>property1=value1 property2 = value2...]]
For now the "known" properties would be target and image: [[label>reference>target="_new" image="myimage.png"]]
But it supports any number of properties.
Will that fit your use case?
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 ?)
The subject, London, is implied in your example. I don't think this is good. What about: [[London>LondonURL>capitalOf="ukURL"]] but the predicate is not uniquely identified by a namespace. It would be nice to be able to write: [[London>LondonURL>o:capitalOf="ukURL"]] where "o" is defined elsewhere, as the URI of the ontology defining the capitalOf predicate, but I'm not sure this will be supported. In your example I think you're trying to represent a triple using the link syntax. If you are interested in searching for the capital of UK then a better solution would be to store the triples in a knowledge base (as objects attached to a page for instance) and then just bind the "London" string to the London concept using the link syntax.
In OWL the Fact would be expressed via the triple: "London"-URL "capital of"-URL "UK"-URL All URL whould point to Concepts, while the Capital of Url would point to a Concept that is of the type "Object Property". http://en.wikipedia.org/wiki/Web_Ontology_Language
The thing why this came to my mind was, that at some point you would like to ask the Wiki: "What is the capital of UK?". Or in corporate environments maybe: "Who is responsible for Product A?" Surely there has to be done a lot more, specifically in the query language.
There are some Research Prototypes in Semantic Wikis, whilst the most appealing Java one seems to be IkeWiki for me now http://ikewiki.salzburgresearch.at/ Another even more structured system is freebase: http://www.freebase.com/view/en/xwiki Maybe it can give a short hinge what is possible and feasible.
While I thought Nepomuk just used XWiki for a "CMS" it turns out that they also do research on the topic but I still cannot find any XWiki "branch" there.
Greetings Jonas
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs