One other approach I can suggest is to install the Semantic Drilldown extension, then create a general category, maybe called "Stories", that holds all of these "stories" that link to people; then add a filter for the "Person" property for the category.

When you go to browse the data for the "Stories" category, you'll see at the top an alphabetical list of people connected to stories, with a number after each one representing the number of stories they're connected to; clicking on each one will show that set of stories. It's not quite what you wanted, but it might be the closest thing at this point.


On Thu, May 29, 2008 at 8:38 PM, S Page <> wrote:
ablum wrote:
> The short version: How do I get a listing of all values of a property (with
> links to the property page for each).

This is yet another example of the general issue
  "how do you select the pages that are the objects of some property in
a query?"
which most recently came up in the "question on subqueries" thread.
Even though you can easily display these objects in query results, you
can't turn them into the subjects of a a query.  So
  {#ask: [[Person::+]] | ?Person | format=table | ?mainlabel=- }}
will display only a column of the *objects* of your Person relation, but
you're still selecting a bunch of pages that are the *subjects* of the
Person relation.  Your column may have duplicates and you can't set its
order.  If that's OK then you could just link to the Property:Person
page as Yaron Koren suggested.

As Jacques Bergeron answered his own question in the "question on
subqueries" thread, you can create queries that create wiki text that
holds semantic annotation for the inverse property.  But if you don't
want to create a page for the object of a query (e.g. page [[Smith Tim]]
) , then there's nowhere for the inverse property (e.g. [[referred to in
article::Foo]]) to live.

It's a surprisingly hard problem.  SMW annotates pages with facts and
you can do useful things with them.  Sometimes the objects of these
facts are themselves pages, but that doesn't make it easy to work with
them.  I hope this isn't a show-stopper for you.

Has anyone tried Wei Dai's "patch: inline query for inverse relations
and relation wildcard", way back in 2006-12-19?

=S Page

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Semediawiki-user mailing list