California

From semantic-mediawiki.org

Jump to: navigation, search
California
Population 36,457,549
Area 423,970 sq mi1.09808e+12 m²
1,098,077.259 km²
109,807,725.914 ha
0.00215 earths


California is a state located on the West Coast of the United States.

Contents

Demonstrating Semantic MediaWiki features

Semantic template usage

If you view source of this page you will see that it uses a semantic template to both display the infobox on the right-hand side and annotate this article with properties and a category.

Using an inline query to produce inverted annotation

If you view source of this page you will see that it uses Template:Invert-property to generate wiki text for the property Property:Location of by querying for pages with its inverse Located in::California. See the Germany page for other approaches to inverse relationships.

Using MediaWiki #REDIRECT to implement equivalent names

Another term for California is "The Golden State". In this wiki The Golden Gate is a redirect to the California page, so searching for the property value of one, for example [[Located in::California]], finds the other. See such queries on the San Francisco page.

Personal tools