Hey Cindy,
Thanks for the extension.
Can you please elaborate on this:
Displaying the Result of a Semantic Query as a Five Star Rating[edit]
Below are several more advanced examples that illustrate how this extension can be used.
Consider the case where users can review a wiki page. In this example, each review is itself a wiki page in category Reviews. Each review page has a property, Item, that is a link to the page being reviewed. Each review page also has a property, Rating, that has a value between 1 and 5 (with 0 being reserved for the case where no rating is assigned).
On the page being reviewed, the page's average rating can be displayed by the following query:
{{#rating:{{#ask:[[Category:Reviews]][[Item::{{FULLPAGENAME}}]]|?Rating|format=average}}}}
What is "review page has a property" here?
Is it the same as that of creating a property with a type, for templates?
How can I provide a link to page being reviewed to the property Item?
Also, what is {{FULLPAGENAME}}, is it any variable or the full name of the page that has to be reviewed?
Thanks for your time!