Infobox: Difference between revisions
m →Wikipedia: improve link title, reformat ref |
Added {{Undue weight}} tag to article (TW) |
||
Line 1: | Line 1: | ||
{{Selfref|For information about infoboxes on Wikipedia, see [[Help:Infobox]].}} |
{{Selfref|For information about infoboxes on Wikipedia, see [[Help:Infobox]].}} |
||
{{Undue weight|date=June 2019}} |
|||
[[File:43185 infobox.jpg|thumb|right|An infobox from [[British Rail Class 43 (HST)|British Rail Class 43]] car 43185 operated by [[First Great Western]]]] |
[[File:43185 infobox.jpg|thumb|right|An infobox from [[British Rail Class 43 (HST)|British Rail Class 43]] car 43185 operated by [[First Great Western]]]] |
||
Revision as of 15:32, 5 June 2019
![]() | This article may lend undue weight to certain ideas, incidents, or controversies. (June 2019) |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/43185_infobox.jpg/220px-43185_infobox.jpg)
An infobox is a template used to collect and present a subset of information about its subject, such as a document. It is a structured document containing a set of attribute–value pairs,[1] and in Wikipedia represents a summary of information about the subject of an article.[2] In this way, they are comparable to data tables in some aspects. When presented within the larger document it summarizes, an infobox is often presented in a sidebar format.
An infobox may be implemented in another document by transcluding it into that document and specifying some or all of the attribute–value pairs associated with that infobox, known as parameterization.
An infobox may be used to improve the appearance of an article on Wikipedia;[3] they are used on similar articles to ensure consistency of presentation by using a common format.[4][2] Originally, infoboxes (and templates in general) were used for page layout purposes.[2] An infobox may be transcluded into an article by specifying the value for some or all of its parameters.[5] The parameter name used must be the same as that specified in the infobox template, but any value may be associated to it.[5] The name is delimited from the value by an equals sign.[5] The parameter name may be regarded as an attribute of the article's subject.[6]
{{Infobox prepared food | name = | image = | imagesize = | caption = | alternate_name = | country = | region = | creator = | course = | type = | served = | main_ingredient = | variations = | calories = | other = }} |
{{Infobox prepared food
| name = Crostata
| image = Crostata limone e zenzero 3.jpg
| imagesize =
| caption = Crostata with lemon ginger filling
| alternate_name =
| country = [[Italy]]
| region = [[Lombardia]]
| creator =
| course = [[Dessert]]
| type = [[Tart]]
| served =
| main_ingredient = Pastry crust, [[jam]] or [[ricotta]], fruit
| variations = ''Crostata di frutta'', ''crostata di ricotta'', many other sweet or savoury variations
| calories =
| other =
}}
|
The infobox Infobox prepared food used on Wikipedia food-related articles, with no values specified for its parameters (attributes). | The same infobox as implemented in the article crostata. Note that values are to the right of the equals sign (=), and that the parameter names are the same as those in the specification for the infobox template. The values are in wiki markup: entries enclosed in square brackets (e.g. - [[Tart]]) will be rendered as a link to the respective Wikipedia article (e.g. - Tart), and the linked file will be transcluded into the article in place of its markup. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Crostata_infobox%2C_February_2018.png/220px-Crostata_infobox%2C_February_2018.png)
On Wikipedia, an infobox is transcluded into an article by enclosing its name and attribute–value pairs within a double set of braces. The MediaWiki software on which Wikipedia operates then parses the document, for which the infobox and other templates are processed by a template processor. This is a template engine which produces a web document and a style sheet used for presentation of the document. This enables the design of the infobox to be separated from the content it manipulates;[2] that is, the design of the template may be updated without affecting the information within it, and the new design will automatically propagate to all articles that transclude the infobox.[4] Usually, infoboxes are formatted to appear in the top-right corner of a Wikipedia article in the desktop view,[3] or at the top in the mobile view.
Placement of an infobox within the wikitext of an article is important for accessibility.[7] A best practice is to place them following disambiguation templates (those that direct readers to articles about topics with similar names) and maintenance templates (such as that marking an article as unreferenced), but before all other content.[8][9]
Baeza-Yates and King say that some editors find templates such as infoboxes complicated,[10] as the template may hide text about a property or resource that the editor wishes to change; this is exacerbated by chained templates, that is templates transcluded within other templates.[10]
As of August 2009, English Wikipedia used about 3,000 infobox templates that collectively used more than 20,000 attributes.[11] Since then, many have been merged, to reduce redundancy. As of June 2013, there were at least 1,345,446 transclusions of the parent Infobox template ,[12] used by some, but not all, infoboxes, on 4,251,127 articles.
The name of an Infobox is typically "Infobox [genre]", however widely used infoboxes may be assigned shorter names, such as "taxobox" for taxonomy.[8]
Machine learning
About 44.2% of Wikipedia articles contained an infobox in 2008,[13] and about 33% in 2010.[14] Automated semantic knowledge extraction using machine learning algorithms is used to "extract machine-processable information at a relatively low complexity cost".[1] However, the low coverage makes it more difficult, though this can be partially overcome by complementing article data with that in categories in which the article is included.[13] The French Wikipedia initiated the project Infobox Version 2 in May 2011.[15][16]
Knowledge obtained by machine learning can be used to improve an article, such as by using automated software suggestions to editors for adding infobox data.[13] The iPopulator project created a system to add a value to an article's infobox parameter via an automated parsing of the text of that article.[11]
DBpedia uses structured content extracted from infoboxes[2] by machine learning algorithms to create a resource of linked data in a Semantic Web; it has been described by Tim Berners-Lee as "one of the more famous" components of the linked data project.[17]
Machine extraction creates a triple consisting of a subject, predicate or relation, and object.[1] Each attribute-value pair of the infobox is used to create an RDF statement using an ontology.[18] This is facilated by the narrower gap between Wikipedia and an ontology than exists between unstructured or free text and an ontology. [19]
The semantic relationship between the subject and object is established by the predicate.[1] In the example infobox, the triple ("crostata", type, "tart") indicates that a crostata is a type of tart. The article's topic is used as the subject, the parameter name is used as the predicate, and the parameter's value as the object.[18][1] Each type of infobox is mapped to an ontology class, and each property (parameter) within an infobox is mapped to an ontology property.[20] These mappings are used when parsing a Wikipedia article to extract data.
Many Wikipedia infoboxes also include microformat markup, making the text rendered on the page readable by software.[21][22]
Notes
- ^ a b c d e Baeza-Yates & King 2009, p. 31.
- ^ a b c d e Liyang 2011, p. 385.
- ^ a b Broughton 2008, p. 357.
- ^ a b Broughton 2008, p. 17.
- ^ a b c Broughton 2008, p. 18.
- ^ Baeza-Yates & King 2009, p. 30.
- ^ Broughton 2008, p. 234.
- ^ a b Broughton 2008, p. 235.
- ^ The English Wikipedia policy about accessibility is specified in the Wikipedia:Manual of Style/Accessibility. The policy about wikitext layout is specified at Wikipedia:Manual of Style/Layout and Wikipedia:Manual of Style/Lead section.
- ^ a b Baeza-Yates & King 2009, p. 345.
- ^ a b Lange, Böhm & Naumann 2010, p. 7.
- ^ "Jarry1250's Toolserver Tools - Template transclusion count". List of Wikimedia projects. 7 June 2013. Retrieved 7 June 2013.
- ^ a b c Baeza-Yates & King 2009, p. 28.
- ^ Lange, Böhm & Naumann 2010, p. 5.
- ^ Geertman, Reinhardt & Toppen 2011, p. 493.
- ^ The project is hosted on the French Wikipedia page Infobox/V2.
- ^ Miller 2008.
- ^ a b Liyang 2011, p. 387.
- ^ Virvou & Matsuura 2012, p. 315.
- ^ Liyang 2011, p. 395.
- ^ Wikipedia:WikiProject Microformats
- ^ Heilman 2009.
References
- Baeza-Yates, Ricardo; King, Irwin, eds. (2009). Weaving services and people on the World Wide Web. Springer. ISBN 9783642005695. LCCN 2009926100.
{{cite book}}
: Invalid|ref=harv
(help) - Broughton, John (2008-07-14). Barber, Nan; Meyers, Peter (eds.). Wikipedia – The Missing Manual. O'Reilly Media. ISBN 9780596553777.
{{cite book}}
: Invalid|ref=harv
(help) - Geertman, Stan; Reinhardt, Wolfgang; Toppen, Fred, eds. (2011). Advancing geoinformation science for a changing world. Vol. 1. Springer. doi:10.1007/978-3-642-19789-5. ISBN 9783642197888. ISSN 1863-2246. LCCN 2011925152.
{{cite book}}
:|work=
ignored (help); Invalid|ref=harv
(help) - Heilman, Chris (2009-01-19). "Retrieving and displaying data from Wikipedia with YQL". Yahoo Developer Network. Yahoo. Archived from the original on 2011-01-27. Retrieved 2009-01-19.
{{cite web}}
: Invalid|ref=harv
(help) - Lange, Dustin; Böhm, Christoph; Naumann, Felix (2010). Extracting Structured Information from Wikipedia Articles to Populate Infoboxes. Universitätsverlag Potsdam. ISBN 9783869560816.
{{cite book}}
:|work=
ignored (help); Invalid|ref=harv
(help) - Yu, Liyang (2011). A Developer’s Guide to the Semantic Web. Springer. doi:10.1007/978-3-642-15970-1. ISBN 9783642159695.
- Miller, Paul (2008-02-07). "Sir Tim Berners-Lee Talks with Talis about the Semantic Web". Transcription by CastingWords. Talis Group. Archived from the original on 2013-05-10. Retrieved 2013-06-02.
{{cite web}}
: Invalid|ref=harv
(help); Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - Virvou, Maria; Matsuura, Saeko, eds. (2012). Knowledge-based Software Engineering: Proceedings of the Tenth Joint Conference on Knowledge-Based Software Engineering. Vol. 240. IOS Press. ISBN 9781614990932. LCCN 2012943674.
{{cite book}}
:|work=
ignored (help); Invalid|ref=harv
(help)
Further reading
- Kiran, Kumar N.; Santosh, G.S.K.; Varma, Vasudeva (June 2011). "Multilingual document clustering using Wikipedia as external knowledge". Multidisciplinary Information Retrieval. Lecture Notes in Computer Science. 6653. Springer Berlin Heidelberg. doi:10.1007/978-3-642-21353-3. ISBN 9783642213533. ISSN 0302-9743.
- Chutiporn, Anutariya; Domingue, John, eds. (2008). The Semantic Web: 3rd Asian Semantic Web Conference, ASWC 2008, Bangkok, Thailand, December 8-11, 2008. Proceedings. Vol. 5367. Springer. ISBN 9783540897033. ISSN 0302-9743.
{{cite book}}
:|work=
ignored (help) - Wu, Fei; Hoffmann, Ralph; Weld, Daniel s. (2008). "Information extraction from Wikipedia: moving down the long tail". Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining. Association for Computing Machinery: 731–739. doi:10.1145/1401890.1401978. ISBN 9781605581934.