Add Cloud Tour Libo knowledge graph platform
This commit is contained in:
261
schema搭建/yunyou_libo/yunyou_libo_schema.current.dsl.md
Normal file
261
schema搭建/yunyou_libo/yunyou_libo_schema.current.dsl.md
Normal file
@@ -0,0 +1,261 @@
|
||||
namespace yunyou_libo
|
||||
version 1
|
||||
|
||||
// 云游荔波旅游 POI 融合知识图谱。
|
||||
// 高德 POI 是空间锚点;大众点评和携程仅在同实体确认后写入详情字段。
|
||||
|
||||
entity Place // 可定位的基础地点
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property place_id: Text
|
||||
property name: Text
|
||||
property place_type: Text
|
||||
property type_label: Text
|
||||
property business_subcategory: Text
|
||||
property amap_type: Text
|
||||
property typecode: Text
|
||||
property address: Text
|
||||
property district: Text
|
||||
property adcode: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
property h3_r9: Text
|
||||
property source: Text
|
||||
|
||||
entity FoodPlace // 美食店铺:高德锚点 + 大众点评融合详情
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property gaode_poi_id: Text
|
||||
property name: Text
|
||||
property business_subcategory: Text
|
||||
property amap_category_l1: Text
|
||||
property amap_category_l2: Text
|
||||
property amap_category_l3: Text
|
||||
property amap_type: Text
|
||||
property typecode: Text
|
||||
property address: Text
|
||||
property business_area: Text
|
||||
property tel: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
property amap_rating: Number
|
||||
property amap_cost_text: Text
|
||||
property open_time: Text
|
||||
property cover_image_url: Text
|
||||
property photo_urls: Text
|
||||
property amap_url: Text
|
||||
property data_quality: Text
|
||||
property scan_hit_types: Text
|
||||
property scan_hit_count: Integer
|
||||
property collection_rounds: Text
|
||||
property food_fusion_status: Text
|
||||
property food_match_confidence: Text
|
||||
property food_match_rule: Text
|
||||
property food_match_score: Number
|
||||
property food_name_exact_match: Boolean
|
||||
property food_name_similarity: Number
|
||||
property food_address_similarity: Number
|
||||
property food_coordinate_distance_m: Number
|
||||
property dianping_source_poi_id: Text
|
||||
property dianping_shop_id: Text
|
||||
property dianping_shop_uuid: Text
|
||||
property dianping_name: Text
|
||||
property dianping_address: Text
|
||||
property dianping_lng: Number
|
||||
property dianping_lat: Number
|
||||
property dianping_url: Text
|
||||
property dianping_rating: Number
|
||||
property dianping_review_count: Integer
|
||||
property dianping_avg_price: Number
|
||||
property dianping_area: Text
|
||||
property dianping_category: Text
|
||||
property dianping_score_details: Text
|
||||
property dianping_ranking: Text
|
||||
property dianping_business_status: Text
|
||||
property dianping_business_hours: Text
|
||||
property dianping_tags: Text
|
||||
property dianping_transportation: Text
|
||||
property dianping_image_count: Integer
|
||||
property dianping_shop_image: Text
|
||||
property dianping_review_tags: Text
|
||||
property recommended_dish_count: Integer
|
||||
property recommended_dish_names: Text
|
||||
property recommended_dish_max_recommendations: Integer
|
||||
property recommended_dish_image_samples: Text
|
||||
property group_buy_count: Integer
|
||||
property group_buy_min_price: Number
|
||||
property group_buy_max_price: Number
|
||||
property group_buy_titles: Text
|
||||
property group_buy_items: Text
|
||||
property group_buy_items_json: Text // 结构化团购套餐:图片、价格、原价、折扣、服务条款
|
||||
property review_sample_count: Integer
|
||||
property review_sample_avg_stars: Number
|
||||
property review_sample_summary: Text
|
||||
property food_review_items_json: Text // 真实大众点评评论结构化数组
|
||||
property food_review_tags_json: Text // 点评标签及影响评论数量
|
||||
property review_image_samples: Text
|
||||
property menu_image_count: Integer
|
||||
property menu_image_samples: Text
|
||||
property candidate_dianping_shop_id: Text
|
||||
property candidate_dianping_name: Text
|
||||
property food_candidate_name_similarity: Number
|
||||
property food_candidate_address_similarity: Number
|
||||
property food_candidate_coordinate_distance_m: Number
|
||||
property fusion_status: Text
|
||||
property data_version: Text
|
||||
property enrichment_source: Text
|
||||
property enrichment_updated_at: DateTime
|
||||
|
||||
entity Hotel // 酒店住宿:高德锚点 + 携程融合详情
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property gaode_poi_id: Text
|
||||
property name: Text
|
||||
property business_subcategory: Text
|
||||
property amap_category_l1: Text
|
||||
property amap_category_l2: Text
|
||||
property amap_category_l3: Text
|
||||
property amap_type: Text
|
||||
property typecode: Text
|
||||
property address: Text
|
||||
property business_area: Text
|
||||
property tel: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
property cover_image_url: Text
|
||||
property photo_urls: Text
|
||||
property amap_url: Text
|
||||
property data_quality: Text
|
||||
property collection_rounds: Text
|
||||
property hotel_fusion_status: Text
|
||||
property hotel_match_confidence: Text
|
||||
property hotel_match_rule: Text
|
||||
property hotel_name_similarity: Number
|
||||
property hotel_address_similarity: Number
|
||||
property hotel_phone_exact_match: Boolean
|
||||
property ctrip_hotel_id: Text
|
||||
property ctrip_name_cn: Text
|
||||
property ctrip_name_en: Text
|
||||
property ctrip_address: Text
|
||||
property ctrip_phone: Text
|
||||
property ctrip_star_level: Text
|
||||
property ctrip_diamond_level: Text
|
||||
property ctrip_opened_year: Text
|
||||
property ctrip_room_count: Integer
|
||||
property ctrip_hotel_type: Text
|
||||
property ctrip_ranking: Text
|
||||
property ctrip_rating: Number
|
||||
property ctrip_rating_description: Text
|
||||
property ctrip_review_count: Integer
|
||||
property ctrip_image_count: Integer
|
||||
property ctrip_transportation: Text
|
||||
property ctrip_tags: Text
|
||||
property ctrip_popular_facilities: Text
|
||||
property ctrip_score_details: Text
|
||||
property ctrip_cleanliness_score: Number
|
||||
property ctrip_facilities_score: Number
|
||||
property ctrip_environment_score: Number
|
||||
property ctrip_service_score: Number
|
||||
property ctrip_description: Text
|
||||
property ctrip_url: Text
|
||||
property room_type_count: Integer
|
||||
property room_type_names: Text
|
||||
property room_min_price: Number
|
||||
property room_max_price: Number
|
||||
property offer_count: Integer
|
||||
property offer_min_price: Number
|
||||
property offer_max_price: Number
|
||||
property room_items_json: Text
|
||||
property facility_service_count: Integer
|
||||
property facility_category_count: Integer
|
||||
property facility_category_stats: Text
|
||||
property facility_summary: Text
|
||||
property facility_category_items_json: Text
|
||||
property policy_count: Integer
|
||||
property policy_category_stats: Text
|
||||
property policy_summary: Text
|
||||
property guest_review_sample_count: Integer
|
||||
property guest_review_sample_avg_score: Number
|
||||
property latest_review_at: Text
|
||||
property review_travel_types: Text
|
||||
property review_items_json: Text
|
||||
property hotel_image_record_count: Integer
|
||||
property hotel_image_type_stats: Text
|
||||
property hotel_image_samples: Text
|
||||
property nearby_place_count: Integer
|
||||
property nearby_place_type_stats: Text
|
||||
property nearby_place_summary: Text
|
||||
property nearby_category_items_json: Text
|
||||
property candidate_ctrip_hotel_id: Text
|
||||
property candidate_ctrip_name: Text
|
||||
property hotel_candidate_name_similarity: Number
|
||||
property hotel_candidate_address_similarity: Number
|
||||
property fusion_status: Text
|
||||
property data_version: Text
|
||||
property enrichment_source: Text
|
||||
property enrichment_updated_at: DateTime
|
||||
|
||||
entity ScenicSpot // 审核保留的旅游景点及景区子景点
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property scenic_type: Text
|
||||
property scenic_level: Text
|
||||
property parent_scenic: Text
|
||||
property visitor_value: Text
|
||||
property audit_result: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
|
||||
entity ScenicArea // 景区主体
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property scenic_grade: Text
|
||||
|
||||
entity TransitFacility // 交通设施
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property address: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
|
||||
entity BusStop // 公交站点
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property lng: Number
|
||||
property lat: Number
|
||||
|
||||
entity BusLine // 公交线路
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property color: Text
|
||||
|
||||
entity BusRoute // 公交方向与折线
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property direction: Text
|
||||
property polyline: Text
|
||||
|
||||
entity Area // 行政区域
|
||||
primary_key element_id
|
||||
property element_id: Text
|
||||
property name: Text
|
||||
property level: Text
|
||||
property adcode: Text
|
||||
|
||||
entity GeoCell // H3空间网格
|
||||
primary_key h3_id
|
||||
property h3_id: Text
|
||||
property resolution: Integer
|
||||
|
||||
relation LOCATED_IN: Place -> Area
|
||||
relation IN_H3_R9: Place -> GeoCell
|
||||
relation PART_OF_SCENIC_AREA: ScenicSpot -> ScenicArea
|
||||
relation PART_OF: Area -> Area
|
||||
relation STOPS_AT: BusRoute -> BusStop
|
||||
relation NEXT_STOP: BusStop -> BusStop
|
||||
Reference in New Issue
Block a user