Mapping en:Infobox football match: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
m (basic props)
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
TODO: [http://en.wikipedia.org/wiki/Template:Infobox_football_match Infobox football match] is also used for rugby games. We should probably use a [[Template:ConditionalMapping|ConditionalMapping]] here.
{{TemplateMapping
{{TemplateMapping
| mapToClass = FootballMatch
| mapToClass = FootballMatch
Line 4: Line 6:
{{PropertyMapping | templateProperty = title | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = title | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = date | ontologyProperty = date }}
{{PropertyMapping | templateProperty = date | ontologyProperty = date }}
{{PropertyMapping | templateProperty = team1 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = team2 | ontologyProperty = team }}
{{PropertyMapping | templateProperty = stadium | ontologyProperty = location }}
{{PropertyMapping | templateProperty = stadium | ontologyProperty = location }}
{{PropertyMapping | templateProperty = city | ontologyProperty = location }}
{{PropertyMapping | templateProperty = city | ontologyProperty = city }}
{{PropertyMapping | templateProperty = previous | ontologyProperty = previousEvent }}
{{PropertyMapping | templateProperty = previous | ontologyProperty = previousEvent }}
{{PropertyMapping | templateProperty = next | ontologyProperty = followingEvent }}
{{PropertyMapping | templateProperty = next | ontologyProperty = followingEvent }}
}}
}}

Latest revision as of 05:43, 15 March 2012

TODO: Infobox football match is also used for rugby games. We should probably use a ConditionalMapping here.

This is the mapping for the Wikipedia template Infobox football match. Find usages of this Wikipedia template here.

Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.

Read more about mapping Wikipedia templates.

Template Mapping (help)
map to class FootballMatch

Mappings




Property Mapping (help)
template property title
ontology property foaf:name




Property Mapping (help)
template property date
ontology property date




Property Mapping (help)
template property team1
ontology property team




Property Mapping (help)
template property team2
ontology property team




Property Mapping (help)
template property stadium
ontology property location




Property Mapping (help)
template property city
ontology property city




Property Mapping (help)
template property previous
ontology property previousEvent




Property Mapping (help)
template property next
ontology property followingEvent