The Yelp Collaborative Knowledge Graph
收藏NIAID Data Ecosystem2026-05-01 收录
下载链接:
https://zenodo.org/record/7878446
下载链接
链接失效反馈官方服务:
资源简介:
This is the The Yelp Collaborative Knowledge Graph (YCKG) - a transformation of the Yelp Open Dataset into RDF format using Y2KG.
Paper Abstract
The Yelp Open Dataset (YOD) contains data about businesses, reviews, and users from the Yelp website and is available for research purposes. This dataset has been widely used to develop and test Recommender Systems (RS), especially those using Knowledge Graphs (KGs), e.g., integrating taxonomies, product categories, business locations, and social network information. Unfortunately, researchers applied naive or wrong mappings while converting YOD in KGs, consequently obtaining unrealistic results. Among the various issues, the conversion processes usually do not follow state-of-the-art methodologies, fail to properly link to other KGs and reuse existing vocabularies. In this work, we overcome these issues by introducing Y2KG, a utility to convert the Yelp dataset into a KG. Y2KG consists of two components. The first is a dataset including (1) a vocabulary that extends Schema.org with properties to describe the concepts in YOD and (2) mappings between the Yelp entities and Wikidata. The second component is a set of scripts to transform YOD in RDF and obtain the Yelp Collaborative Knowledge Graph (YCKG). The design of Y2KG was driven by 16 core competency questions. YCKG includes 150k businesses and 16.9M reviews from 1.9M distinct real users, resulting in over 244 million triples (with 144 distinct predicates) for about 72 million resources, with an average in-degree and out-degree of 3.3 and 12.2, respectively.
Links
Latest GitHub release: https://github.com/MadsCorfixen/The-Yelp-Collaborative-Knowledge-Graph/releases/latest
PURL domain: https://purl.archive.org/domain/yckg
Files
Graph Data Triple Files
One sample file for each of the Yelp domains (Businesses, Users, Reviews, Tips and Checkins), each containing 20 entities.
yelp_schema_mappings.nt.gz containing the mappings from Yelp categories to Schema things.
schema_hierarchy.nt.gz containing the full hierarchy of the mapped Schema things.
yelp_wiki_mappings.nt.gz containing the mappings from Yelp categories to Wikidata entities.
wikidata_location_mappings.nt.gz containing the mappings from Yelp locations to Wikidata entities.
Graph Metadata Triple Files
yelp_categories.ttl contains metadata for all Yelp categories.
yelp_entities.ttl contains metadata regarding the dataset
yelp_vocabulary.ttl contains metadata on the created Yelp vocabulary and properties.
Utility Files
yelp_category_schema_mappings.csv. This file contains the 310 mappings from Yelp categories to Schema types. These mappings have been manually verified to be correct.
yelp_predicate_schema_mappings.csv. This file contains the 14 mappings from Yelp attributes to Schema properties. These mappings are manually found.
ground_truth_yelp_category_schema_mappings.csv. This file contains the ground truth, based on 200 manually verified mappings from Yelp categories to Schema things. The ground truth mappings were used to calculate precision and recall for the semantic mappings.
manually_split_categories.csv. This file contains all Yelp categories containing either a & or /, and their manually split versions. The split versions have been used in the semantic mappings to Schema things.
本数据集为Yelp协作知识图谱(Yelp Collaborative Knowledge Graph, YCKG)—— 即通过Y2KG工具将Yelp开放数据集转换为资源描述框架(Resource Description Framework, RDF)格式后的产物。
论文摘要
Yelp开放数据集(Yelp Open Dataset, YOD)包含来自Yelp网站的商家、评论与用户数据,可供科研使用。该数据集已被广泛用于开发和测试推荐系统(Recommender Systems, RS),尤其是结合知识图谱(Knowledge Graphs, KGs)的推荐系统,例如整合分类体系、商品类别、商家位置以及社交网络信息。遗憾的是,过往研究者在将YOD转换为KG时采用了朴素或错误的映射方式,最终得到了不符合实际的结果。其中各类问题包括:转换流程通常未遵循前沿方法论,未能正确链接至其他KG并复用现有词汇表。本研究针对这些问题,推出了Y2KG工具,用于将Yelp数据集转换为KG。Y2KG包含两个组件:其一为数据集,包含(1)一套扩展自Schema.org的词汇表,用于描述YOD中的各类概念;(2)Yelp实体与维基数据(Wikidata)之间的映射关系。其二为一组脚本,用于将YOD转换为RDF格式并生成Yelp协作知识图谱(YCKG)。Y2KG的设计基于16个核心能力问题。YCKG包含来自190万真实独立用户的15万家商家与1690万条评论,总计超过2.44亿条三元组(包含144种不同谓词),涉及约7200万个资源,其平均入度与出度分别为3.3与12.2。
链接
最新GitHub发布版:https://github.com/MadsCorfixen/The-Yelp-Collaborative-Knowledge-Graph/releases/latest
PURL域名:https://purl.archive.org/domain/yckg
文件
图数据三元组文件
每个Yelp域(商家、用户、评论、贴士(Tips)与签到(Checkins))各对应一个样本文件,每个文件包含20个实体。
yelp_schema_mappings.nt.gz:包含Yelp类别至Schema.org类别的映射关系。
schema_hierarchy.nt.gz:包含已映射Schema.org类别的完整层级结构。
yelp_wiki_mappings.nt.gz:包含Yelp类别至维基数据(Wikidata)实体的映射关系。
wikidata_location_mappings.nt.gz:包含Yelp位置至维基数据(Wikidata)实体的映射关系。
图元数据三元组文件
yelp_categories.ttl:包含所有Yelp类别的元数据。
yelp_entities.ttl:包含与该数据集相关的实体元数据。
yelp_vocabulary.ttl:包含所创建的Yelp词汇表与属性的元数据。
工具文件
yelp_category_schema_mappings.csv:该文件包含310条Yelp类别至Schema.org类别的映射关系,所有映射均经过人工验证确保正确。
yelp_predicate_schema_mappings.csv:该文件包含14条Yelp属性至Schema.org属性的映射关系,均为人工梳理所得。
ground_truth_yelp_category_schema_mappings.csv:该文件包含基于200条人工验证的Yelp类别至Schema.org类别的映射关系构建的基准真值。该基准真值映射用于计算语义映射的精确率与召回率。
manually_split_categories.csv:该文件包含所有包含&或/的Yelp类别及其人工拆分后的版本,拆分后的版本已用于Schema.org类别的语义映射中。
创建时间:
2023-06-17



