Directed labeled multigraphs and directed labeled multigraphs enriched with information about which graph patterns match a graph and how they match a graph
收藏资源简介:
This dataset contains all directed labeled multigraphs that consist of one or two triples and that were generated from a set of 5 terms. The graphs are represented as RDF data in ntriples format. The graphs 1-125 consist of a single triple. The graphs 126-4625 consist of two triples. Each graph also exists in an enriched version, where each graph pattern that matches the graph is made explicit in the graph and it is also made explicit how it matches the graph. Enrichment means that for each graph pattern that matches a graph, a node is introduced that is labeled with the name of that graph pattern. Each term that occurs in that graph pattern is linked to that graph pattern node with an edge labeled "occurs-in". For each term t in the graph that can be bound to a variable v according to a match of that graph pattern an edge will be created from the node t to the graph pattern node where the edge is labeled with "bound-to-v". The generation of the dataset and the enrichment procedure is described in more detail in a paper that is currently under double-blind submission. We will link to the paper once it is accepted for publication. Example: the graph #100 (file 100.nt) <http://ex.org/term/4> <http://ex.org/term/5> <http://ex.org/term/5> . Example: the graph #2000 (file 2000.nt) <http://ex.org/term/2> <http://ex.org/term/2> <http://ex.org/term/3> .<http://ex.org/term/2> <http://ex.org/term/3> <http://ex.org/term/1> . Example: the enriched graph #100 (file 100-extended.nt) <http://ex.org/term/4> <http://ex.org/term/5> <http://ex.org/term/5> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-v1> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-v1-v1> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-t5-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-t5-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-v2-v2> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-v2-v2> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-v2-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-v2-t5> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-v2-t5> . For each graph pattern exists a CSV file that lists the IDs of all graphs that are matched by that pattern.For example, the file target-p-t3-t4-v1=v1-t1-t2-graph_size_2.csv lists all those graphs that are matched by the pattern t3-t4-v1=v1-t1-t2. Finally, there are four JSON files: plain-graphs_of_size_1.json, plain-graphs_of_size_2.json, enriched-graphs_of_size_1.json, enriched-graphs_of_size_2.json These files contain the same graphs that are also stored in the .nt-files, but allow to conveniently read in a set of graphs at once.
本数据集包含所有由1个或2个三元组构成的有向标记多重图,且所有图均由包含5个词项的集合生成。 这些图以N三元组格式(ntriples)存储为资源描述框架(RDF)数据。 其中编号1至125的图仅包含单个三元组,编号126至4625的图则包含两个三元组。 每一幅图均存在对应的增强版本,该版本会将所有与该图匹配的图模式显式添加至该图中,并同时显式说明该图模式与原图的匹配方式。 增强流程的具体定义为:针对每一个与目标图匹配的图模式,新增一个以该图模式名称为标签的节点;该图模式中出现的每一词项,均通过标签为"occurs-in"的边与该图模式节点相连;对于原图中可根据该图模式的匹配结果绑定至变量v的每一词项t,将新增一条从词项t的节点指向该图模式节点的边,边标签为"bound-to-v"。 本数据集的生成过程与增强流程的详细说明已提交至某期刊进行双盲审稿,待论文被录用发表后,我们将提供其公开链接。 示例1:编号为100的图(对应文件100.nt) <http://ex.org/term/4> <http://ex.org/term/5> <http://ex.org/term/5> . 示例2:编号为2000的图(对应文件2000.nt) <http://ex.org/term/2> <http://ex.org/term/2> <http://ex.org/term/3> .<http://ex.org/term/2> <http://ex.org/term/3> <http://ex.org/term/1> . 示例3:编号为100的增强版图(对应文件100-extended.nt) <http://ex.org/term/4> <http://ex.org/term/5> <http://ex.org/term/5> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-t5-v2> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-v1> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-v1-v1> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-t5-v1> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/4> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-t4-v1-t5> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-t5-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-t5-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-v2-v2> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-v2-v2> .<http://ex.org/term/5> <http://ex.org/pattern/occurs_in> <http://ex.org/pattern/p-v1-v2-t5> .<http://ex.org/term/4> <http://ex.org/pattern/bound-to-v1> <http://ex.org/pattern/p-v1-v2-t5> .<http://ex.org/term/5> <http://ex.org/pattern/bound-to-v2> <http://ex.org/pattern/p-v1-v2-t5> . 针对每一个图模式,均存在一个逗号分隔值(CSV)文件,用于列出所有被该模式匹配的图的ID。例如,文件target-p-t3-t4-v1=v1-t1-t2-graph_size_2.csv 列出了所有被模式t3-t4-v1=v1-t1-t2匹配的图。 最后,本数据集还包含四个JavaScript对象表示法(JSON)文件:plain-graphs_of_size_1.json、plain-graphs_of_size_2.json、enriched-graphs_of_size_1.json 以及 enriched-graphs_of_size_2.json。这些文件存储了与.nt文件中完全一致的图数据,可用于便捷地一次性读取整组图。



