pipi wrote:

> I finded some mails about this problem on this mailing list, but didn't
> find answer. If I write in an article a relation-like annotation
> [[relation::Link]], then it links to the Relation::Link article.

It should link to the regular page "Link", and the page's factbox should 
show the relation and the other page.

For example, http://ontoworld.org/wiki/San_Diego has a plain wiki link 
to _San Diego County_, and its factbox has
        _County seat of_        _San Diego County_

You probably don't see any factbox because SMW is not noticing the link.

Something is going wrong with parsing, yet SMW's code is installed. 
Hmm, this sounds like Kelly Jones' problem in 
http://www.mail-archive.com/semediawiki-user@lists.sourceforge.net/msg00349.html
That problem is on an earlier version of MediaWiki, but your 1.9.3 is 
pretty recent.

Maybe you're running some other extension that's getting in the way.

Re-read the INSTALL instructions that are in your local 
mediawiki/extension/SemenaticMediaWiki directory (not an INSTALL on the 
Web that applies to the newer code in Subversion).

Try the other kind of property, an attribute, e.g. [[TestAttr:=some 
value]].  The page should display the factbox with
        _TestAttr_      [Oops! No type defined for attribute]

> When I
> make an ask with tags <ask>[[relation::Link]]</ask>, then I become no
> results, but when I make an ask like this: <ask>[[relation::*]], hten I
> become all the pages (images too!).

[[relation::*]] specifies "show this relation in results".  You need to 
restrict the list of pages somehow, e.g. with [[relation::+]] to only 
show pages that have a value for the relation.  (Since parsing isn't 
working, you won't see anything.)

> The Special:SMWAdmin page says: Your database setup seems to be alright.
> 
> The database tables smw_attributes, smw_relations and smw_specialprops
> are empty (why?).

Parsing problems.  smw_relations should have a relation in it.

> My Wiki's version is 1.9.3 with PHP 5.2 and MySQL 5.0.
> The Semantic MediaWiki's version is 0.6

--
=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
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to