Semantic Mediawiki: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) m →Querying: m |
||
| 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
- http://semantic-mediawiki.org/wiki/Help:Properties_and_types
- http://semantic-mediawiki.org/wiki/Help:In-text_annotation
- http://semantic-mediawiki.org/wiki/Help:Semantic_templates
create the corresponding property page
- http://semantic-mediawiki.org/wiki/Help:Property_declaration
- http://semantic-mediawiki.org/wiki/Help:Special_properties
- http://semantic-mediawiki.org/wiki/Help:List_of_datatypes
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
- general documentation: http://semantic-mediawiki.org/wiki/Category:Semantic_MediaWiki_documentation
- software that was installed: https://www.mediawiki.org/wiki/Semantic_Bundle
- explanations in a video: https://www.youtube.com/watch?v=CDf4R5A5C78
- 40:40 concept of SMW
- 41:35 in templates
- 43:50ish - property explanation
- 51:40 - concept of "concepts"
- 59:00 - #smwdoc
- 59:00 - #smwdoc