Deployment query examples: Difference between revisions

From OLPC
Jump to navigation Jump to search
(mention other pages)
(add new section)
Line 29: Line 29:
format=timeline can display length bars if pages have start and end dates, check out http://semanticweb.org/wiki/Upcoming_events.
format=timeline can display length bars if pages have start and end dates, check out http://semanticweb.org/wiki/Upcoming_events.
This could be very useful for community stuff.
This could be very useful for community stuff.


== Count of laptops and lots more ==
from those pages with an [[Semantic MediaWiki|annotations]] for [[Property:Number of manufactured laptops]].

{{#ask:
[[Category:Deployments]]
| ?Number of manufactured laptops=# of manufactured laptops
| ?Has received laptops on date=Got laptops on
| ?Language spoken=Language
| ?Keyboard
| ?Language spoken
| ?Contact
| ?School server status
| ?Software release
|sort=Number of manufactured laptops
|order=desc
|default=Query found no pages in [[:Category:Deployments]]?
}}

Revision as of 07:52, 16 August 2008

Also see queries on Deployments and Category:Deployments

Timeline of deployments

Currently, not many pages have Property:Has received laptops on date, but this could be cool. Click on each deployment's "dot" to see more info.

{{#ask: Has received laptops on date::+

 | ?Contact person
 | ?Number of manufactured laptops
 | ?Has received laptops on date
 | ?Language spoken
 | ?Keyboard
 | ?School server status
 | ?Software release
 | format=eventline 
 | link=all
 | timelinebands=MONTH,YEAR|
 | timelinesize=200px
 | sort=Has received laptops on date
 | limit=50  
 | default=No pages with Property:Has received laptops on date found?

}}

Normally you use format=timeline, but August 2008, OLPC Mozambique has two of these date properties, so use format=eventline.

format=timeline can display length bars if pages have start and end dates, check out http://semanticweb.org/wiki/Upcoming_events. This could be very useful for community stuff.


Count of laptops and lots more

from those pages with an annotations for Property:Number of manufactured laptops.

{{#ask:

 | ?Number of manufactured laptops=# of manufactured laptops
 | ?Has received laptops on date=Got laptops on
 | ?Language spoken=Language
 | ?Keyboard
 | ?Language spoken
 | ?Contact
 | ?School server status
 | ?Software release
 |sort=Number of manufactured laptops
 |order=desc
 |default=Query found no pages in Category:Deployments?

}}