You are a meticulous web search specialist in hospitality/lodging industry, particularly for finding hotel data. Your objective is to do web search for hotels, and extract core data from the search result for each.
Process
For each item in the provided JSON file, follow these steps:
Search: Execute web search using the search_query data.
Extract: From the search result, identify multiple authoritative sources: Google Hotel snippet panel, Booking.com, Agoda, Traveloka, and official website, and extract multiple variations of these key data points: Hotel Name(s), Full Address(es), Phone Number(s), Geolocation(s) (Latitude, Longitude), Hotel Star Rating, Review Rating (on a scale of 1 - 10), and Review Count.
If data point(s) is unavailable or unclear in that source, you are ENCOURAGED to note it as null. When encountering hotels that are permanently closed, data extraction can be skipped and not everything as null. If a hotel cannot be found on a specific source (e.g., no listing on Booking.com), all fields for that source should be null. Do not attempt to guess or use data from other sources to fill it in.
Authoritative sources allowed:
Strictly use these sources: Google Hotel snippet panel, Booking.com, Agoda, Traveloka, and official website (The official website is the direct booking page for the specific hotel property, not a corporate landing page. Prioritize the URL provided in the Google Hotel Panel's 'Website' button if available). Everything else should be ignored.
Output Format
Return your answer as a single JSON array of objects (wrapped in code wrapper for better viewing and copy paste operation). Do not provide any explanation, preamble, or text outside of the JSON structure.
code
[
{
"id": str, // The `id` provided in the file
"search_query": str", // The `search_query` you use
"google_hotel": {
"hotel_name": str, // extracted hotel name
"address": str,
"latitude": float,
"longitude": float,
"phone": str,
"star_rating": float (0.0-5.0),
"review_rating": float (1.0-10.0), // review score on a scale of 1-10
"review_count": int,
"source_url": str,
},
"booking.com": {
"hotel_name": str, // extracted hotel name
"address": str,
"latitude": float,
"longitude": float,
"phone": str,
"star_rating": float (0.0-5.0),
"review_rating": float (1.0-10.0), // review score on a scale of 1-10
"review_count": int,
"source_url": str,
},
"agoda": {
"hotel_name": str, // extracted hotel name
"address": str,
"latitude": float,
"longitude": float,
"phone": str,
"star_rating": float (0.0-5.0),
"review_rating": float (1.0-10.0), // review score on a scale of 1-10
"review_count": int,
"source_url": str,
},
"traveloka": {
"hotel_name": str, // extracted hotel name
"address": str,
"latitude": float,
"longitude": float,
"phone": str,
"star_rating": float (0.0-5.0),
"review_rating": float (1.0-10.0), // review score on a scale of 1-10
"review_count": int,
"source_url": str,
},
"official_website": {
"hotel_name": str, // extracted hotel name
"address": str,
"latitude": float,
"longitude": float,
"phone": str,
"star_rating": float (0.0-5.0),
"review_rating": float (1.0-10.0), // review score on a scale of 1-10
"review_count": int,
"source_url": str,
},
"tools": str, // The tools used for this task (e.g., “google_search”, "web_browse", etc.).
"confidence_score": int, // (0-100) The confidence in executing the task correctly and accurately.
"notes": str // (concise notes if any, max 140 characters.)"
}
]
Notes:
geolocation is coordinates in "latitude, longitude”. For example: "geolocation": "1.736781, 103.8963005”
review_rating is rating/score on a scale of 1-10. If a source uses a 5-point scale (e.g., (4.1/5), convert it to a 10-point scale by doubling the value (e.g., 8.2)
search_query: "kota heritage hotel kota tinggi malaysia"
Assistant
json
[
{
"id": "1",
"search_query": "kota heritage hotel kota tinggi malaysia",
"google_hotel": {
"hotel_name": "Kota Heritage Hotel",
"address": "24, Jalan Kolam Air, Taman Yayasan, 81900 Kota Tinggi, Johor, Malaysia",
"latitude": 1.737107,
"longitude": 103.896204,
"phone": "+60 7-882 1888",
"star_rating": 3.0,
"review_rating": 7.6,
"review_count": 1332,
"source_url": "https://www.google.com/travel/hotels/entity/CgsI-o7P_bS9kXnMARoLL20vMGI5eWdwZmwQpwEs"
},
"booking.com": {
"hotel_name": "Kota Heritage Hotel",
"address": "24 Jalan Kolam Air, 81900 Kota Tinggi, Malaysia",
"latitude": 1.73711,
"longitude": 103.89617,
"phone": null,
"star_rating": 3.0,
"review_rating": 7.5,
"review_count": 1460,
"source_url": "https://www.booking.com/hotel/my/kota-heritage.en-gb.html"
},
"agoda": {
"hotel_name": "Kota Heritage Hotel",
"address": "24, Jalan Kolam Air, Taman Yayasan, Kota Tinggi, Johor, Malaysia, 81900",
"latitude": 1.73711,
"longitude": 103.8962,
"phone": null,
"star_rating": 3.0,
"review_rating": 7.3,
"review_count": 2829,
"source_url": "https://www.agoda.com/kota-heritage-hotel/hotel/kota-tinggi-my.html"
},
"traveloka": {
"hotel_name": "Kota Heritage Hotel",
"address": "24, Jalan Kolam Air, Taman Yayasan, Kota Tinggi, Johor, Malaysia",
"latitude": 1.73711,
"longitude": 103.8962,
"phone": null,
"star_rating": 3.0,
"review_rating": 7.5,
"review_count": 1461,
"source_url": "https://www.traveloka.com/en-my/hotel/malaysia/kota-heritage-hotel-1000000570577"
},
"official_website": {
"hotel_name": "Kota Heritage Hotel",
"address": "24, Jalan Kolam Air, Taman Yayasan, 81900 Kota Tinggi, Johor Darul Takzim, Malaysia",
"latitude": 1.737107,
"longitude": 103.896204,
"phone": "+607-8821888",
"star_rating": null,
"review_rating": null,
"review_count": null,
"source_url": "https://www.kotaheritagehotel.com/"
},
"tools": "google_search, web_browse",
"confidence_score": 100,
"notes": ""
}
]