TC5.1 - Knowledge Base Semantic Search via ServiceMap, geolocation: around a point, along a path, into an area

×

Warning message

You can't delete this newsletter because it has not been sent to all its subscribers.

Test Case Title

TC5.1 - Knowledge Base Semantic Search via ServiceMap, geolocation: around a point, along a path, into an area

Goal

I can:

  • Discover city entities: POI, Services, IOT via a graphic user interface à ServiceMap
  • Discover city entities drill down on geospace, in terms of city entities relations, semantic search, in time and text (thus structure and unstructured search) à ServiceMap
  • Discover detailed valued of city entities: real-time sensors data, public transportation data, pollution, pollination, weather forecast, position of busses, etc. à ServiceMap, real-time update for busses, etc.
  • Discover suggested paths for routing: car, pedestrian and public transport (multimodal)
  • Discover city entities: around you, in an area, into a polyline, along a path, etc. Load a preferred Polyline for further reuse

Prerequisites

Using a PC or Mobile with a web browser. Access to ServiceMap, Knowledge base with data. Several of them are available with different number of data: (i) Florence and whole Tuscany, (ii) Helsinki, Antwerp and Bologna, (iii) Venezia, Cagliari, etc.

The following functionalities are available only for specific Snap4city users with specific privileges.

Expected successful result

Discover the information about city elements of the city. Several actions of discovery and semantic search. This core example of discovery is a basis of discovery (i) POI, services, and IOT in dashboard, (ii) IOT and referral data in IOT applications, (iii) showing geolocalized data for web applications, (iv) dashboards, (vi) mobile applications, etc.

Steps

 

 

Please note that some of the following links could be accessible only for registered users.

The Snap4City solution is providing tools for extracting and deducing information from a large set of sources, exploiting crosslinking, deduction via inference, analyticsKnowledge Base grounded on Km4City Advanced Smart City API, ServiceMap, which provide support for inference and navigating in the graph of relationships among the city entities and their data. The drill down on geospace/map can be performed by using ServiceMap.

In the ServiceMap (embedded or not into Dashboards), the user may perform geoqueries:

  • into a squared area, by adding filter on service kind, etc.
  • into an area identified by a polyline, by adding filter on service kind, etc.
  • along a polyline, by adding filter on service kind, etc.

around a point within a max distance, by adding filter on service kind, etc.

The drill down in geo space can bring the user to arrive at a single element as well as to a group of heterogeneous elements (e.g., which are different in kind). Each single element may be inspected to access at is detailed data, real-time data and semantic relationships (via LOG Linked Open Graph, Https://log.disit.org), and may be to browsing the family of its data on the Developer Dashboard. 


Example 1: Discover city entities: POI, Services, IOT via a graphic user interface --> ServiceMap

  • inference in searching by categories. ServiceMap, as it is shown in the above figure, allows you filtering on macro and sub categories of POIs.
  • Click on a ServiceMap: https://firenze.km4city.org  (it is available for several cities)
  • Click with the mouse on the downtown, the following image is accessible, showing: (i) the street address where you clicked and a set of menus on right and on left.
  • Please note that ServiceMap tools is for developers and not for city users

  • You can hide the menus if you like, to have more space for the map results
  • If you elect some category, you can select the number of results and the area in which the geosearch has to be performed. We suggest you to select 500 results and 500 mt, obtaining by clicking the  lens:



     

Example 2: All the links on ServiceMap works also using HTTPS:


Example 3: Ask for the distribution of results as POI in a given area

  • Select the area as in the picture aide and with the whole set of POI kinds 

  • Ask for the distribution clicking on the lens with trend arrow above
  • The results would be as follow with the histogram reporting the distribution of services.

The histogram is interactive to explode aspects of your interest.



GEO and text: Semantic Queries and Browsing can be visual via ServiceMap. Add filtering on text on the same area, for example looking for “Dante”, by using the text box for search in the top part of the right side menu.


Example 4: If your search produces more than 4000 elements the rendering is performed as clusters and takes time.

  1. Click on url:

https://servicemap.snap4city.org/WebAppGrafo/api/v1?queryId=3ed2948bc6e65bce46362471c8d4adb7&format=html

By clicking the link, a complex query on the servicemap tool will start ( https://servicemap.snap4city.org ) and as results a map centered on Florence with a clustered representation of the services available in an area of Florence is shown. Due the high number of results to be shown, the query will take some time.

  1. Zoom in using the mouse scroll wheel, until the clustered view change in direct PIN View. Please note that due the high number of services to be shown, this can take some time. You can see a result as the following image. Each pin represents a POI; THE PERFORMANCE OF THIS PROCESS HAS TO BE IMPROVED.

  1. Click the Hide menu on the top right corner to open the menu and to perform a new search into the explored geo space. You will se the menu as the image on the right;
  2. Select the Service Categories of interest by ticking your preferences (1);

  1. Define the N. of results to be shown in the drop-down menu, for example 100 (2);
  2. Set the search range in “Visible area” (3);
  3. Click the first magnifying lens to perform the new query (4).
  4. The map is updated according to the parameters specified (see the following image as example of results).

 


Example 5: Search around a point:

  1. Click the URL: https://antwerp.snap4city.org
  2. A map, centered on Antwerp is shown;
  3. Zoom in using the mouse scroll wheel and drag the map as you like;
  4. Click on any place in the area of Antwerp to add the blue Pin;

  1. Select the Service Categories of interest by ticking your preferences (1);

  1. Define the N. of results to be shown in the drop-down menu, for example 100 (2);
  2. Set the search range in “500mt” (3). the search is performed in an area of 500 meter around the blue pin;
  3. Click the first magnifying lens to perform the new query (4).  You can see a result similar to the following image.

 


Example 6: Search inside an area:

  1. Click the URL: https://servicemap.snap4city.org/WebAppGrafo/api/v1/?queryId=5e51d3aaa9470e54a5ebc798a0bc3a82&format=html
  2. A map centred on Florence with a clustered representation of the services available in an area of Florence is shown;
  3. Click the Hide menu on the top right corner to open the menu and click the circled arrow icon on the bottom right below the categories list (see image on the right). The pins on the map is deleted and is simpler to interact with the map;
  4. Select the Service Categories of interest by ticking your preferences (1);

  1. Define the N. of results to be shown in the drop-down menu, for example 100 (2);
  2. Set the search range in “specific area” (3).
  3. In the Sear Area drop down menu scroll down and select “ZCS1D” (4). A specific area of Florence is highlighted. The search is performed inside this area.
  4. Click the first magnifying lens to perform the new query (5).  You can see a result similar to the following image. 

 


Example 7: Search along a polyline:

  1. Click the URL: https://servicemap.snap4city.org/WebAppGrafo/api/v1/?queryId=4442d1a7284df64014b10eb7361b8fd5&format=html
  2. Second example: https://servicemap.snap4city.org/WebAppGrafo/api/v1/?selection=geo:ATAF%204&maxResults=0&format=html

The drill down on space via spatial reasoning. Semantic Queries and Browsing can be visual via ServiceMap See for example the following link that shows a query on the service map tool on services along a bus path.

  1. A map centred on Florence with a clustered representation of the services available in an area of Florence is shown;
  2. Click the Hide menu on the top right corner to open the menu and click the circled arrow icon on the bottom right below the categories list (see image on the right). The pins on the map is deleted and is simpler to interact with the map;
  3. Select the Service Categories of interest by ticking your preferences (1);

  1. Define the N. of results to be shown in the drop-down menu, for example 100 (2);
  2. Set the search range in “specific area” (3).
  3. In the Search Area drop down menu scroll down and select “ATAF 4” (4). The route of the bus line n. 4 is shown on the map..
  4. Click the first magnifying lens to perform the new query (5).  You can see a result similar to the following image.