Semantic Mediawiki: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Line 15: Line 15:
http://semantic-mediawiki.org/wiki/Help:Inline_queries
http://semantic-mediawiki.org/wiki/Help:Inline_queries


working single page example
===working single page example===
* a {{#show:Semantic Mediawiki|?Is In Office}}
* a {{#show:Semantic Mediawiki|?Is In Office}}
* b {{#show:Shirley Kiesman|?HasPhoneNr‎}}
* b {{#show:Shirley Kiesman|?HasPhoneNr‎}}
* c {{#show:Health Sciences Center Office|?HasPhoneNr‎}}
* c {{#show:Health Sciences Center Office|?HasPhoneNr‎}}


all collectors with office:
===all collectors with office===
{{#ask: [[Category: Data Collector]]   
{{#ask: [[Category:Data Collector]]   
| ?Is In Office  
| ?Is In Office  
| format=ul
| format=ul
}}
}}


HSC collectors with office
===HSC collectors with office===
{{#ask: [[Category: Data Collector]] [[Is In Office::Health Sciences Center Office]]  
{{#ask: [[Category:Data Collector]] [[Is In Office::Health Sciences Center Office]]  
| ?Is In Office  
| ?Is In Office  
}}
===phone nrs===
can't do this with categories, it delves into subcategories
{{#ask: [[+Category:Offices]]
| ?HasPhoneNr
}}
}}



Revision as of 16:19, 8 July 2015

We may start using this. If so, it should have very limited visibility to collectors, so don't worry about reviewing this for now.

set in-text annotation

see

create the corresponding property page

Querying

http://semantic-mediawiki.org/wiki/Help:Inline_queries

working single page example

  • a
  • b
  • c 204 787-1912

all collectors with office

HSC collectors with office

phone nrs

can't do this with categories, it delves into subcategories


See also

    • 59:00 - #smwdoc