Yaron Koren wrote:
> If what you're loooking for is just a simple way to display who Joe's
> father is on Joe's page, you only need put the following:
>
> <ask>[[Has Son::Joe]]</ask>
True, and if you're doing this on multiple genealogy pages or in a
template, you can make this more general with
<ask>[[Has Son::{{PAGENAME}}]]</ask>
It's a useful technique; I made a {{Located in}} template that you can
put on pages to show everything that Is located in the current article.
See http://ontoworld.org/wiki/Canada
What would be useful is a general "Here's every relation where this
article is the object" query, or more loosely "Here are all facts
involving this article in other articles") so you don't have to know the
inverse or implied relationships in advance. Special:SearchTriple can
do this, e.g.
http://ontoworld.org/wiki/Special:SearchTriple?object=Canada&do=Search+Relations
but I can't get inline queries to do it. I tried things like
<ask>[[:+]][[*::{{PAGENAME}}]]</ask>
> That "ask" tag is the special feature of Semantic MediaWiki that
> allows for inline querying, and thus extracting inverse relationships.
Yes, but I think Mr. Purl was hoping for SMW to *reason* implicit facts
about articles from the nature of particular relations.
--
=S Page
After all our reasons why
All the reasons were a lie
After all the reasons love was cast aside
Can't find the reasons
Wanna love you all night
(Earth, Wind and Fire)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Semediawiki-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user