Difference between revisions of "Ask"
Josef.Noll (Talk | contribs) (→email list) |
Josef.Noll (Talk | contribs) (→email list) |
||
Line 73: | Line 73: | ||
=== email list === | === email list === | ||
− | {{#ask: [[-User.Project::IoTSec]] [[Partner::+]]|mainlabel=- |?Prename= |?Name= |?email= |sep = < > }} | + | {{#ask: [[-User.Project::IoTSec]] [[Partner::+]]|mainlabel=- |?Prename= |?Name= |?email= |sep = < > |format=list }} |
== Example == | == Example == |
Revision as of 07:33, 9 September 2015
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
Contents
Explanation of Semantic MediaWiki ask function
see also Test-Ask for invers properties
help page
http://semantic-mediawiki.org/wiki/Help:Selecting_pages, including " ::>, ::! "
output to vcard
Warning: exports all users on this wiki ... further results
for errors, see Josef_Noll
Example
{{#ask:[[Category::User]] |?=search for users# |?User |?Date |?Title |format=broadtable |limit=5 |offset=1 |link=all |sort=User count |order=descending |headers=plain |mainlabel=search for users |intro=results |outro=done |searchlabel=… further results |default=no results found |class=sortable wikitable smwtable }} <!--- ask with OR connection, as used in Template:User ---> {{#ask: [[Supervisor::{{SUBJECTPAGENAME}}]] OR [[Lecturer::{{SUBJECTPAGENAME}}]] OR [[User::{{SUBJECTPAGENAME}}]] OR [[{{SUBJECTPAGENAME}}]] ommit main label: | mainlabel=- | {{#show: Berlin | ?population }}
Tips and Tricks
Recommendation from Neill: I always hide the raw page name as much as possible and use aliases so queries return more user friendly links.
{{#set:Page Link=[[{{FULLPAGENAME}}|{{{Page Title|}}}]]}} where Page Title is usually a field in the form. Sometimes I prepend with a section ID {{#set:Page Link=[[{{FULLPAGENAME}}|{{{Section ID|}}}-{{{Page Title|}}}]]}}
Then in the queries I return Page Link and use mainlabel=- to suppress the raw page name field.
{{#ask: |?Page Link .. .. |mainlabel=- }}
Note:
- <section id="main"> <!-- main page content goes in here --> </section>
- define Page Link as a Special:Property
email list
Adam (Szekeres < > adam.szekeres@ntnu.no) < > Ali (Khalighi < > ali.khalighi@fresnel.fr) < > Anders (Føyen < > anders.foyen@microsoft.com) < > Ane (Solesvik Oppedal < > ane.solesvik.oppedal@oslomedtech.no) < > Atle (Årnes) < > Audun (Andersen < > audun.andersen@e2u.no) < > Beate (Due < > beate.due@hio.no) < > Bernt A. (Bremdal < > bernt@xalience.com) < > Bjarne Tarjei (Haugen < > bjarne.tarjei.haugen@movation.no) < > Bozo (Krstajic < > bozok@ac.me) < > Brice (Morin < > brice.morin@sintef.no) < > Christian (Johansen < > cristi@ifi.uio.no) < > Christian (Resell < > chrifres@ifi.uio.no) < > Dang Ha (The Hien < > dang.hien@esmartsystems.com) < > Danica (Radovanović < > danica@basicinternet.org) < > David (Aleksandersen < > david.aleksandersen@smartsimulation.no) < > Davide (Roverso < > davide.roverso@esmartsystems.com) < > Dieter (Hirdes < > dieter.hirdes@ncesmart.com) < > Einar (Snekkenes < > einar.snekkenes@ntnu.no) < > Elahe (Fazeldehkordi < > elahe.fazeldehkordi@its.uio.no) < > Elin (Sundby Boysen < > e.s.boysen@gmail.com) < > Erik (Åsberg < > erik.asberg@esmartsystems.com) < > Gard (Jenssen < > gard@smartebyernorge.no) < > Gard (Støe Valla) < > Geir Arne (Rimala < > gar@eyenetworks.no) < > Gerben (Kuijpers < > gku@kamstrup.com) < > GETINET (ESHETE < > getina15@student.uia.no) < > Grete H. (Coldevin < > Grete.Coldevin@smartgrids.no) < > György (Kálmán < > gyorgy.kalman@its.uio.no) < > Habtamu (Abie < > habtamu.abie@nr.no) < > Hamed (Arshad < > hamedar@ifi.uio.no) < > Hanne Cecilie (Geirbo < > hannege@ifi.uio.no) < > Hans Jørgen (Furre Nygårdshaug < > hans.nyg@gmail.com) < > Heidi (Tuiskula < > heidi.tuiskula@smartinnovationnorway.com) < > Heidi (Vildskog < > heidi.vildskog@spydeberg.kommune.no) < > Henning (Maagerud < > hm@forskningsradet.no) < > Håkon (Duus < > hakondu@ncesmart.com) < > Idun (Lyngstad < > ily@rcn.no) < > Igor (Radusinovic < > igorr@ac.me) < > Inge (Andersson < > inge.andersson@tieto.com) < > Ivar (Rummelhoff < > Ivar.Rummelhoff@nr.no) < > Jan Pedro (Tumusok < > jpt@eyenetworks.no) < > Jan Richard (Aspheim) < > Janne (Hagen < > janh@nve.no) < > Janusz (Gorski < > jango@pg.edu.pl) < > Jayaprakash (Rajasekharan < > jayaprakash.rajasekharan@ncesmart.com) < > Johanna (Johansen < > johanna@johansenresearch.info) < > Jon (Haar < > jon.haar@kamstrup.com) < > Josef (Noll < > josef.noll@its.uio.no) < > Kaniz Fatema (Tuly < > kftuly@yahoo.com) ... further results
Example
ongoing projects, based on [[Category:Project]] [[Due_date::> {{#expr:{{#time: Y|now}}}}]]
- CURRENTYEAR is 2024, CURRENTTIME is 05:16, LOCALTIME is 05:16
- date: 25 Februar 2016 or "now": 27 Sep 2024
- see all time examples in: Help:Extension:ParserFunctions
recent pages
- TEK9110 (Modification dateThis property is a special property in this wiki. 24 September 2024 15:12:51)
- Diaa Jadaan (Modification dateThis property is a special property in this wiki. 24 September 2024 14:42:40)
- Diaa.jadaan (Modification dateThis property is a special property in this wiki. 24 September 2024 14:42:31)
- Tips and strategies on how to publish research papers in reputable journals 2024/09/19 (Modification dateThis property is a special property in this wiki. 19 September 2024 13:10:12)
- File:202409 ResearchPaper AASTU Noll.pdf (Modification dateThis property is a special property in this wiki. 19 September 2024 13:10:05)
- (Modification dateThis property is a special property in this wiki. 19 September 2024 13:09:44)
- Nurture Seminar at AASTU 19Sep2024 (Modification dateThis property is a special property in this wiki. 19 September 2024 08:37:14)
- (Modification dateThis property is a special property in this wiki. 19 September 2024 08:35:51)
- Nurture Seminar Sep2024 Hawassa (Modification dateThis property is a special property in this wiki. 16 September 2024 05:07:35)
- Connecting the Future for Schools and Communities 2024/09/16 (Modification dateThis property is a special property in this wiki. 16 September 2024 04:59:47)
- ... further results
pages from 2013
- Main page (Modification dateThis property is a special property in this wiki. 21 December 2013 22:17:09)
- Oulu (Modification dateThis property is a special property in this wiki. 21 December 2013 16:34:48)
- UiO (Modification dateThis property is a special property in this wiki. 21 December 2013 16:29:05)
- UNIK (Modification dateThis property is a special property in this wiki. 20 December 2013 14:51:30)
- FreeSecEDU UiO (Modification dateThis property is a special property in this wiki. 20 December 2013 14:49:19)
- FreeSecEDU (Modification dateThis property is a special property in this wiki. 20 December 2013 14:19:11)
- PM (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:47)
- Output (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:24)
- Email (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:21)
- Partner Abbreviation (Modification dateThis property is a special property in this wiki. 20 December 2013 14:17:56)
- ... further results
recent pages in slideshow
Note: format=slideshow is supported in this version, and shown in:
recent pages, random
[[modification date::+]] shows only pages that exist (not deleted ones)
The part "{{{ns}}}" of the query was not understood. Results might not be as expected.
Variables
- ARTICLEPAGENAME, TALKPAGENAME
- see more http://en.wikipedia.org/wiki/Help:Magic_words