Presentation is loading. Please wait.

Presentation is loading. Please wait.

Semantic mapping with MediaWiki Jeroen De Dauw. Presentation outline Introduction to MediaWiki Introduction to Semantic MediaWiki – Questions Maps Semantic.

Similar presentations


Presentation on theme: "Semantic mapping with MediaWiki Jeroen De Dauw. Presentation outline Introduction to MediaWiki Introduction to Semantic MediaWiki – Questions Maps Semantic."— 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 Key features

5 MediaWiki

6

7 Key features Everyone can edit

8 MediaWiki

9 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 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

22 Maps MediaWiki extension API for mapping functionality Parser functions – display_point – display_points Geocoding – geocode – display_address – display_addresses Multi mapping/geocoding service support

23 Maps Mapping services

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

25 Parser functions: Parameters

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 }}

27

28 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?

29 Maps Parser functions: Spesific parameters Google Maps Yahoo! Maps OpenLayers

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

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

32 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 }}

33

34 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}}

35 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

36 Maps Geocoding: Parameters

37 Semantic Maps MediaWiki extension Hooks into – Maps – Semantic MediaWiki – Semantic Forms Functionality – Aggregation of coordinates (Result formats) – Insertion of coordinates (Form inputs)

38 Semantic Maps Mapping service Identical to the ones of Maps – Google Maps – Yahoo! Maps – OpenLayers

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

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

41 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 }}

42 Semantic Maps Result formats: Parameters

43 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 }}

44

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

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

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

48 Semantic Maps Form Inputs : Parameters

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

50

51

52 Thanks to Google, for the funding of both extensions Yaron Koren, for mentoring me during the dev Wikimedia Foundation, for all the support

53 References MediaWiki: mediawiki.org Semantic MediaWiki: semantic-mediawiki.org Maps: mediawiki.org/wiki/Extension:Maps Semantic Maps: mediawiki.org/wiki/Semantic_Maps Jeroen De Dauw jeroendedauw@gmail.com bn2vs.com

54


Download ppt "Semantic mapping with MediaWiki Jeroen De Dauw. Presentation outline Introduction to MediaWiki Introduction to Semantic MediaWiki – Questions Maps Semantic."

Similar presentations


Ads by Google