1 / 76

Semantic Mapping with MediaWiki

Semantic Mapping with MediaWiki. Jeroen De Dauw. Presentation outline. Introduction to MediaWiki Introduction to Semantic MediaWiki Questions Maps Semantic Maps Questions. MediaWiki. MediaWiki. MediaWiki. Key features. MediaWiki. MediaWiki. MediaWiki. Key features

amos
Télécharger la présentation

Semantic Mapping with MediaWiki

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Semantic Mapping with MediaWiki Jeroen De Dauw

  2. Presentation outline • Introduction to MediaWiki • Introduction to Semantic MediaWiki • Questions • Maps • Semantic Maps • Questions

  3. MediaWiki

  4. MediaWiki

  5. MediaWiki Key features

  6. MediaWiki

  7. MediaWiki

  8. MediaWiki Key features • Everyone can edit

  9. MediaWiki

  10. MediaWiki Key features • Everyone can edit • Rich content • Organization • Customization • Internationalization • Scalable

  11. Semantic Web So what are semantics? • Make data understandable for computers • Make queries possible • Cross site

  12. Semantic MediaWiki

  13. Semantic MediaWiki • Automatically-generated lists • Visual display of information • Improved data structure • Searching information • Inter-language consistency • External reuse  “Collaborative Database”

  14. Semantic MediaWiki Semantic search Ask function {{#ask: }} {{ #ask: }}

  15. Semantic MediaWiki Semantic search Criteria: • Which pages to select [[Category:Actor]] [[born in::Boston]] [[height::180cm]] [[Category:Actor]] [[height::>6 ft]] [[height::<7 ft]] [[born in::Boston]] OR [[born in::New York]] [[Category:Cities]] [[located in.member of::European Union]]

  16. Semantic MediaWiki Semantic search Criteria: • Which information should be displayed? ?population ?area#km²

  17. Semantic MediaWiki Semantic search Example: {{ #ask: [[Category:City]] [[located in::Germany]] | ?population | ?area#km² = Size in km² }}

  18. Semantic MediaWiki Semantic Properties MediaWiki link: [[Germany]]  [[capital of::Germany]] MediaWiki text: 3,396,990  [[population::3,396,990]]

  19. Semantic MediaWiki Result Formats {{ #ask: [[Category:City]] [[located in::Germany]] | ?population | format=ul }}

  20. Semantic MediaWiki Result Formats {{ #ask: [[Category:City]] [[located in::Germany]] | ?population | ?area#km² = Size in km² | ?coordinates | format=map }}

  21. Maps • MediaWiki extension • Hooks into • Validator • Functionality • Visual display of coordinate data • Geocoding

  22. Maps • Key features • Multiple mapping services • Multiple geocoding services • Modular build • Error feedback • Very configurable • API for mapping functionality

  23. Maps Coordinates • Floats: 55.7557860, 37.6176330 • DMS: 55°45′06″N 37°37′04″E • DD: 55.7557860°, 37.6176330° • DM: 55°45.34716', 37°37.05798'

  24. Maps Geocoding {{ #geocode:Moscow, Russia}}  55.7557860, 37.6176330

  25. Maps Geocoding services • Google • Yahoo • GeoNames {{#geocode:Moscow, Russia|geonames}}

  26. Maps Smart geocoding • Display_map • Display_point(s) • Centre parameter ! Display_address(es) has been deprecated since 0.4

  27. Maps Displaying a map {{#display_map: Moscow}} Or {{#display_map: 55°45′06″N 37°37′04″E}} Or ...

  28. Maps Displaying points {{#display_point: Moscow}} Or {{#display_point: 55.7557860, 37.6176330}} Or ...

  29. Maps Displaying points {{ #display_points: 55°45′06″N 37°37′04″E; New York; 40.446195, -79.948862 }}

  30. Maps Displaying points: point specific data Address~Title~Label~Icon

  31. Maps Displaying points: point specific data {{ #display_points: Brussels; New York~New York city; Moscow, Russia~Moscow~A city in Russia; London~[[London]]~Capital of England~Green marker.png; Mali~Mali~~Blue marker.png }}

  32. Maps Mapping services

  33. Maps So how do I customize a map?

  34. Maps Map properties {{ #display_map: New York City | property = value | property 2 = value 2 }}

  35. Maps Map properties

  36. Maps Map properties: default property {{#display_map: New York City}} {{#display_map: address = New York City}} {{#display_map: coordinates = New York City}} {{#display_map: coordinates = 55.7557860, 37.6176330}}

  37. Maps Map properties: service {{ #display_point: Moscow, Russia}} {{ #display_point: Moscow, Russia | service=googlemaps }}

  38. Maps Map properties: geoservice {{ #display_point: Moscow, Russia | geoservice=geonames }}

  39. Maps Map properties: width and height {{ #display_point: Moscow, Russia | width = 800 | height = 420 }}

  40. Maps Map properties: zoom and centre {{ #display_point: Moscow, Russia | zoom = 10 | centre = Brussels }}

  41. Maps Map properties: zoom and centre {{ #display_point: Moscow, Russia; Brussels; Rome; Berlin }}

  42. Maps Map properties: zoom and centre {{ #display_point: Moscow, Russia; Brussels; Rome; Berlin | zoom = 2 }}

  43. Maps Map properties: title, label and icon {{ #display_point: Moscow; Brussels; Rome | icon = Green marker.png | title = A capital in Europe }}

  44. Maps Map properties {{ #display_point: zoom=10 |width=1200 |height=1000 | 55.7557860, 37.6176330 | service = google | type = physical | types = terrain, hybrid, earth | controls = large, overview-map, scale, type }}

  45. Maps Map properties {{ #display_point: zoom=10 |width=1200 |height=1000 | 55.7557860, 37.6176330 | service = google | type = physical | types = terrain, hybrid, earth | controls = large, overview-map, scale, type }} Not in the list?

More Related