Skip to content

Find connected objects

With the discover.swiss knowledge graph objects will be connected to enrich data. On this page, the currently available options are described how to retrieve connected data.

Important

The queries are only possible with the knowledge graph features. Please check the availability of this feature on the Knowledge graph page

Find recommendations

Objects can have reviews which contain recommended POIs for example for a Tour several Restaurants or Places can be recommended to visit during the tour. More details can be found on the reviews and recommendations page.

OK:GO provides accessibility conditions for places. The accessibility information needs to be retrieved from ginto by the links which are stored in the links array.

For example you can search a specifc POI with the source-id:

body

    {
        "project": "{{ partnerProject }}",
        "sourceId": "1168",
        "facets": [ ],
        "select": "identifier,type,name,link",
        "currentPage": 1,
        "resultsPerPage": "100"
    }

The response contains the links array with the needed Ginto Links. The GintoWeb Link is the rendered HTML page and with the GintoResource link, the accessibility information will be returned as JSON.

{
    "count": 1,
    "values": [
        {
            "identifier": "log_px9-s28_bbgi",
            "name": "Engimatt City & Garden Hotel",
            "link": [
                {
                    "url": "https://www.ginto.guide/entries/1dd54a4a-6bab-448d-90a2-1dc5fe82e2cd",
                    "title": "Show accessibility information",
                    "type": "GintoWeb"
                },
                {
                    "url": "https://api.ginto.guide/entries/1dd54a4a-6bab-448d-90a2-1dc5fe82e2cd",
                    "type": "GintoResource"
                }
            ]
        }
    ]
}

Find events with POI as the location

If you search with a specific location ID then all objects from this place will be returned.

body

{
    "project": "{{ partnerProject }}",
    "location": "civ_4kq_cfbechad",
    "combinedTypeTree":"Thing|Event",
    "facets": [],
    "currentPage": 1,
    "resultsPerPage": "10"
}

The Response shows the available Events at the civ_4kq_cfbechad because the events are connected to this place.

{
    "count": 2,
    "values": [
        {
            "@id": "https://api.discover.swiss/test/info/v2/events/eve_wt1_fdaghcihi",
            "identifier": "eve_wt1_fdaghcihi",
            "datasource": [
                "gdl"
            ],
            "dataGovernance": {
                "origin": [
                    {
                        "datasource": "gdl",
                        "sourceId": "530672878",
                        "created": "2017-12-28T15:12:42+00:00",
                        "lastModified": "2020-04-21T09:29:35+00:00",
                        "license": "CC-BY-ND-SA",
                        "provider": {
                            "acronym": "gdl",
                            "name": "Guidle",
                            "logo": {
                                "contentUrl": "https://img1.oastatic.com/img2/54940951/max/guidle.png",
                                "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_14w4",
                                "identifier": "img_wt1_14w4"
                            },
                            "link": [
                                {
                                    "url": "https://www.guidle.com/",
                                    "type": "WebHomepage"
                                }
                            ],
                            "identifier": "gdl"
                        },
                        "source": {
                            "name": "Gäste-Information Engadin Val Müstair"
                        }
                    }
                ]
            },
            "type": "Event",
            "additionalType": "FoodEvent",
            "address": {
                "addressLocality": "Müstair",
                "postalCode": "7537",
                "streetAddress": "Via Maistra  62"
            },
            "geo": {
                "latitude": 46.626648,
                "longitude": 10.446113
            },
            "image": {
                "dataGovernance": {
                    "provider": {
                        "acronym": "gdl",
                        "name": "Guidle",
                        "logo": {
                            "contentUrl": "https://img1.oastatic.com/img2/54940951/max/guidle.png",
                            "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_14w4",
                            "identifier": "img_wt1_14w4"
                        },
                        "link": [
                            {
                                "url": "https://www.guidle.com/",
                                "type": "WebHomepage"
                            }
                        ],
                        "identifier": "gdl"
                    }
                },
                "contentUrl": "https://d10rdyp01sn3kp.cloudfront.net/files/pics/201722292121050.35342920057037897.jpg",
                "encodingFormat": "image/jpeg",
                "inLanguage": "de",
                "thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_wt1_edbibceha",
                "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_edbibceha",
                "identifier": "img_wt1_edbibceha"
            },
            "name": "Again and again Sunday roast",
            "disambiguatingDescription": "Again and again Sunday roast. Look forward to the tender beef stew with risotto, as well as vegetables. Hotel Helvetia Müstair. CHF 22.00. Info & Registration: Tel. +41 81 858 55 55",
            "description": "Again and again Sunday roast. Look forward to the tender beef stew with risotto, as well as vegetables. Hotel Helvetia Müstair. CHF 22.00. Info & Registration: Tel. +41 81 858 55 55",
            "schedule": [
                {
                    "byDay": [
                        "Sunday"
                    ],
                    "startDate": "2020-06-08",
                    "endDate": "2099-12-31",
                    "startTime": "12:00:00"
                }
            ],
            "nextOccurrence": "2022-04-24T12:00:00+00:00",
            "recurredCount": 4151,
            "link": [
                {
                    "url": "http://www.helvetia-hotel.ch/restaurant/restaurant/sonntagsbraten.html",
                    "title": "homepage",
                    "type": "WebHomepage"
                },
                {
                    "url": "https://www.guidle.com/de/veranstaltungen/muestair/kulinarik/immer-wieder-sonntagsbraten_A3vGXqd",
                    "title": "detail",
                    "type": "WebDetail"
                }
            ],
            "autoTranslatedData": true,
            "priceInformation": "CHF 22.00 per person",
            "organizer": {
                "contactPoint": {
                    "email": "info@helvetia-hotel.ch",
                    "telephone": "081 858 55 55",
                    "name": "Hotel Helvetia"
                },
                "name": "Hotel Helvetia"
            },
            "lastModified": "2022-02-22T11:14:43.919+00:00",
            "sourceId": [
                "530672878"
            ]
        },
        {
            "@id": "https://api.discover.swiss/test/info/v2/events/eve_wt1_icfihdiec",
            "identifier": "eve_wt1_icfihdiec",
            "datasource": [
                "gdl"
            ],
            "dataGovernance": {
                "origin": [
                    {
                        "datasource": "gdl",
                        "sourceId": "825873842",
                        "created": "2022-01-13T14:49:16+00:00",
                        "lastModified": "2022-01-13T15:03:56+00:00",
                        "license": "CC-BY-ND-SA",
                        "provider": {
                            "acronym": "gdl",
                            "name": "Guidle",
                            "logo": {
                                "contentUrl": "https://img1.oastatic.com/img2/54940951/max/guidle.png",
                                "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_14w4",
                                "identifier": "img_wt1_14w4"
                            },
                            "link": [
                                {
                                    "url": "https://www.guidle.com/",
                                    "type": "WebHomepage"
                                }
                            ],
                            "identifier": "gdl"
                        },
                        "source": {
                            "name": "Gäste-Information Engadin Val Müstair"
                        }
                    }
                ]
            },
            "type": "Event",
            "additionalType": "FoodEvent",
            "address": {
                "addressLocality": "Müstair",
                "postalCode": "7537",
                "streetAddress": "Via Maistra  62"
            },
            "geo": {
                "latitude": 46.626648,
                "longitude": 10.446113
            },
            "image": {
                "dataGovernance": {
                    "provider": {
                        "acronym": "gdl",
                        "name": "Guidle",
                        "logo": {
                            "contentUrl": "https://img1.oastatic.com/img2/54940951/max/guidle.png",
                            "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_14w4",
                            "identifier": "img_wt1_14w4"
                        },
                        "link": [
                            {
                                "url": "https://www.guidle.com/",
                                "type": "WebHomepage"
                            }
                        ],
                        "identifier": "gdl"
                    }
                },
                "contentUrl": "https://d37dhr5745n0y2.cloudfront.net/e/12/38/e12381b3d4dfe356cc8200673f1b7441f9a2a511_664838714.jpg",
                "encodingFormat": "image/jpeg",
                "inLanguage": "de",
                "thumbnailUrl": "https://media-test-v2.discover.swiss/image/img_wt1_ggeidihbe",
                "@id": "https://api.discover.swiss/test/info/v2/imageObjects/img_wt1_ggeidihbe",
                "identifier": "img_wt1_ggeidihbe"
            },
            "name": "Wild herbs & natural wines",
            "disambiguatingDescription": "Wild herbs & natural wines. Discover the culinary natural treasures of Biosfera Val Müstair. Hotel Helvetia, Müstair. From CHF 540.00. Info & Registration: info@helvetia-hotel.ch (until 19.04.)",
            "description": "Wild herbs & natural wines. Discover the culinary natural treasures of Biosfera Val Müstair. Hotel Helvetia, Müstair. From CHF 540.00. Info & Registration: info@helvetia-hotel.ch (until 19.04.)",
            "schedule": [
                {
                    "byDay": [
                        "Monday",
                        "Tuesday",
                        "Wednesday",
                        "Sunday"
                    ],
                    "startDate": "2022-05-29",
                    "endDate": "2022-06-01"
                },
                {
                    "byDay": [
                        "Monday",
                        "Friday",
                        "Saturday",
                        "Sunday"
                    ],
                    "startDate": "2022-06-24",
                    "endDate": "2022-06-27"
                }
            ],
            "nextOccurrence": "2022-05-29T00:00:00+00:00",
            "recurredCount": 1,
            "link": [
                {
                    "url": "https://www.guidle.com/de/veranstaltungen/muestair/wilde-kraeuter-und-natuerliche-weine_Ak7qTpW",
                    "title": "detail",
                    "type": "WebDetail"
                }
            ],
            "autoTranslatedData": true,
            "priceInformation": "From CHF 540.00",
            "organizer": {
                "address": {
                    "addressLocality": "Müstair",
                    "postalCode": "7537",
                    "streetAddress": "Via Maistra 62"
                },
                "contactPoint": {
                    "email": "info@helvetia-hotel.ch",
                    "faxNumber": "+41 (0)81 858 57 60",
                    "telephone": "+41 (0)81 858 55 55",
                    "name": "Hotel Helvetia"
                },
                "name": "Hotel Helvetia"
            },
            "lastModified": "2022-02-22T13:26:18.493+00:00",
            "sourceId": [
                "825873842"
            ]
        }
    ]
}

Last update: May 5, 2022 22:34:09