Hello,
How can I add a column to an #ask query that displays a property of a page
displayed in one of the other columns but not directly available in the
category of page I am querying? And even more distant: how about a property
of a page pointing to a page already displayed in one of the other query
columns?
I'm playing with different data models to store bibliographic information,
notes, and argumentation. For example:
A star (*) signifies a property that can hold multiple values
SOURCE
HasFullTitle (string)
HasYear (number)
HasType (string)
HasAuthor* (page)
HasQuote* (page)
QUOTE
HasPage (number)
HasTag* (page)
ASSERTION
(no properties yet)
QALINK (quote to assertion)
HasQuote* (page)
HasAssertion* (page)
HasPosition (string:for,against,other)
HasMemo (string)
I currently have this query in the Assertion templates:
{{#ask: [[Category:QAlink]][[HasAssertion::{{PAGENAME}}]]
| ?HasQuote
| ?HasPosition
| ?HasMemo
}}
But, I want to add:
1. a column for the HasPage of the QUOTE in the HasQuote cell
2. columns for the HasAuthor & HasFullTitle of the SOURCE that has the
QUOTE in its HasQuote property
Any ideas?
Thank you,
-david
|