1 / 54

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. Key features. MediaWiki. MediaWiki. MediaWiki. Key features Everyone can edit.

waseem
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 Key features

  5. MediaWiki

  6. MediaWiki

  7. MediaWiki Key features • Everyone can edit

  8. MediaWiki

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

  10. MediaWiki

  11. Semantic Web So what are semantics? • Make data understandbale 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 • API for mapping functionality • Parser functions • display_point • display_points • Geocoding • geocode • display_address • display_addresses • Multi mapping/geocoding service support

  22. Maps Mapping services

  23. Maps Parser functions: display_point {{ #display_point: coordinates = 55.7557860, 37.6176330 | service = googlemaps | type = hybrid }}

  24. Maps Parser functions: Parameters

  25. Maps Parser functions: Parameters {{ #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 }}

  26. Maps Parser functions: Parameters {{ #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?

  27. Maps Parser functions: Spesific parameters Google Maps Yahoo! Maps OpenLayers

  28. What about multiple locations? (I can has muhltiple locathiunz?)

  29. Maps Parser functions: display_points {{#display_points: 55.7557860, 37.6176330; 42.424242, 42.424242}}

  30. Maps Parser functions: Location info {{ #display_points: coordinates = 42.424242, 42.424242~The answer!; 55.7557860, 37.6176330~Moscow~The capital of Russia~green.png }}

  31. Maps Geocoding {{#geocode:Moscow}}  55.7522222, 37.6155556 {{ #display_point: {{#geocode:Moscow}} }} = {{#display_address: Moscow}} {{ #display_points: {{#geocode:Moscow}}, {{#geocode:New York}} }} = {{#display_addresses: Moscow, New York}}

  32. Maps Geocoding: Services {{#display_address: Moscow}}  Uses the default {{#display_address: Moscow |geoservice=yahoo }}  Uses the Yahoo! Service {{#geocode:Moscow, Russia|geonames}}  Uses the GeoNames Service

  33. Maps Geocoding: Parameters

  34. Semantic Maps • MediaWiki extension • Hooks into • Maps • Semantic MediaWiki • Semantic Forms • Functionality • Aggregation of coordinates (Result formats) • Insertion of coordinates (Form inputs)

  35. Semantic Maps Mapping service • Identical to the ones of Maps • Google Maps • Yahoo! Maps • OpenLayers

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

  37. Semantic Maps Result formats {{ #ask: [[Category:City]] [[located in::Germany]] | ?population | ?area#km² = Size in km² | ?coordinates | format=openlayers }}

  38. Semantic Maps Result formats: Parameters {{ #ask: [[Category:City]] [[located in::Germany]] | ?population | ?area#km² = Size in km² | ?coordinates | format=openlayers | width = 500 | height = 300 | zoom = 10 }}

  39. Semantic Maps Result formats: Parameters

  40. Semantic Maps Result formats: Example {{ #ask: [[Category:City]] [[located in::Germany]] | ?population| ?area#km² = Size in km² | ?coordinates | format=openlayers | width=800 | height=500 | zoom=4 | center={{#geocode:Moscow, Russia}} | layers=google-physical,yahoo,google,bing,openlayers,nasa }}

  41. Semantic Maps Form Inputs • Semantic Forms hook • Allows • Coordinate insertion • Easy editing of coordinate data With a visual interface (= No wiki code!)

  42. Semantic Maps Form Inputs: Syntaxis {{{ field |The coordinates |input type=yahoomaps }}}

  43. Semantic Maps Form Inputs: Parameters {{{ field |The coordinates |input type=yahoomaps |width=800 |height=500 |zoom=8 |autozoom=off }}}

  44. Semantic Maps Form Inputs : Parameters

  45. Semantic Maps Form Inputs: Example {{{ field |The coordinates |input type=yahoomap |width=800 |height=500 |autozoom=off }}}

More Related