> On 7/16/07, *Kelly Jones* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I've now created a test site for a semantic MediaWiki that lets you > put the triple (x,R,y) anywhere, not just on page x:
Neat. Perhaps you can add SemArbTri details to http://www.mediawiki.org/wiki/Extension_Matrix > http://semarbtri.kgprog.com/wiki/index.php/Main_Page > > The code is available: > > http://semarbtri.kgprog.com/SemArbTri.txt > > The syntax for a triple is "[[x::R::y]]" (or just "[[R::y]]" if you're > already on page x). David Karger wrote: > Suppose I put [[x::r::y]] on a page. Does it appear on page x? On page > y? (Disclaimer: I only skimmed the code.) On both, and on the create_page (the one that has the definition). Looking at the code, semanticTable() renders a table showing every relation where the current page is the source, target, or the create_page. > Can I edit it in either of those places? You would follow the link to the create_page to edit there. > What happens if I do? You just get multiple instances of the relation, which will all show up in the semanticTable. Emanuele D'Arrigo wrote: > Is this integrated in Semantic MediaWiki > or is it a separate extension? Separate. > If not, and given that SMW also uses > triples, although using the article's name as "x", shouldn't be easy > for you to integrate your idea in SMW? Somewhat easy (http://en.wikipedia.org/wiki/SMOP :-) ). SMW 0.7's 'smw_relations' table is similar to this extension's 'semantics' table, but the former doesn't have the create_page column. (I'm not sure about the latest development version of SMW.) SMW is obviously more elaborate, with RDF export, namespaces for relations and attributes, semantic query, inline queries, semantic browser, etc. -- =S Page ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Semediawiki-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-user
