YAGO4-LP
收藏资源简介:
YAGO-LP datasets Link prediction datasets based on YAGO4 with the following files in <code>YAGO4-22k/</code>, <code>YAGO4-44k/</code>, <code>YAGO4-77k/</code>, <code>YAGO4-27k</code>/, and <code>YAGO4-19k</code>/: <code>rel2id.txt</code>: tab-separated file in which each line associates a relation URI to its equivalent ID <code>rel2id.pkl</code>: pickle file containing a dictionary associating a relation URI to its equivalent ID <code>id2rel.txt</code>: tab-separated file in which each line associates a relation ID to its equivalent URI <code>id2rel.pkl</code>: pickle file containing a dictionary associating a relation ID to its equivalent URI <code>ent2id.txt</code>: tab-separated file in which each line associates an entity URI to its equivalent ID <code>ent2id.pkl</code>: pickle file containing a dictionary associating an entity URI to its equivalent ID <code>id2ent.txt</code>: tab-separated file in which each line associates an entity ID to its equivalent URI <code>id2ent.pkl</code>: pickle file containing a dictionary associating an entity ID to its equivalent URI <code>class2id.txt</code>: tab-separated file in which each line associates a class URI to its equivalent ID <code>class2id.pkl</code>: pickle file containing a dictionary associating a class URI to its equivalent ID <code>id2class.txt</code>: tab-separated file in which each line associates a class ID to its equivalent URI <code>id2class.pkl</code>: pickle file containing a dictionary associating a class ID to its equivalent URI <code>train.txt</code>: train set in which each line is of the form <code><subjectURI> <relationURI> <objectURI> .</code> <code>train.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectURI, relationURI, objectURI)</code> <code>valid.txt</code>: valid set in which each line is of the form <code><subjectURI> <relationURI> <objectURI> .</code> <code>valid.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectURI, relationURI, objectURI)</code> <code>test.txt</code>: test set in which each line is of the form <code><subjectURI> <relationURI> <objectURI> .</code> <code>test.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectURI, relationURI, objectURI)</code> <code>trainIDs.txt</code>: train set in which each line is tab-separated and of the form <code>subjectID relationID objectID</code> <code>trainIDs.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectID, relationID, objectID)</code> <code>validIDs.txt</code>: valid set in which each line is tab-separated and of the form <code>subjectID relationID objectID</code> <code>validIDs.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectID, relationID, objectID)</code> <code>testIDs.txt</code>: test set in which each line is tab-separated and of the form <code>subjectID relationID objectID</code> <code>testIDs.pkl</code>: pickle file containing a list in which each element is a tuple <code>(subjectID, relationID, objectID)</code> <code>ent2classes.txt</code>: tab-separated file in which each line associates an entity URI to the URI of one of its instantiated classes. Note that instantiated classes are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>ent2classes.pkl</code>: pickle file containing a dictionary associating an entity URI to the list of the URIs of its instantiated classes. Note that instantiated classes are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>entID2classIDs.txt</code>: tab-separated file in which each line associates an entity ID to the ID of one of its instantiated classes. Note that instantiated classes are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>entID2classIDs.pkl</code>: pickle file containing a dictionary associating an entity ID to the list of the IDs of its instantiated classes. Note that instantiated classes are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>class2entities.txt</code>: tab-separated file in which each line associates a class URI to the URI of one of its instances. Note that instances are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>class2entities.pkl</code>: pickle file containing a dictionary associating a class URI to the list of the URIs of its instances. Note that instances are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>classID2entIDs.txt</code>: tab-separated file in which each line associates a class ID to the ID of one of its instances. Note that instances are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>classID2entIDs.pkl</code>: pickle file containing a dictionary associating a class ID to the list of the IDs of its instances. Note that instances are computed taking into account the transitive closure of the instantiation and subsumption relations. <code>r2dom.txt</code>: tab-separated file in which each line associates a relation URI to its domain URI <code>r2dom.pkl</code>: pickle file containing a dictionary associating a relation UI to its domain URI <code>rID2domID.txt</code>: tab-separated file in which each line associates a relation ID to its domain ID <code>rID2domID.pkl</code>: pickle file containing a dictionary associating a relation ID to its domain ID <code>r2range.txt</code>: tab-separated file in which each line associates a relation URI to its range URI <code>r2range.pkl</code>: pickle file containing a dictionary associating a relation URI to its range URI <code>rID2rangeID.txt</code>: tab-separated file in which each line associates a relation ID to its range ID <code>rID2rangeID.pkl</code>: pickle file containing a dictionary associating a relation ID to its range ID <code>class2allsuperclasses.txt</code>: tab-separated file in which each line associates a class URI to the URI of one of all its superclasses (taking into account the transitive closure of the subsumption relation) <code>class2allsuperclasses.pkl</code>: pickle file containing a dictionary associating a class URI to the list of the URIs of all its superclasses (taking into account the transitive closure of the subsumption relation) <code>classID2allsuperclassIDs.txt</code>: tab-separated file in which each line associates a class ID to the ID of one of all its superclasses (taking into account the transitive closure of the subsumption relation) <code>classID2allsuperclassIDs.pkl</code>: pickle file containing a dictionary associating a class ID to the list of the IDs of all its superclasses (taking into account the transitive closure of the subsumption relation) <code>class2directsuperclasses.txt</code>: tab-separated file in which each line associates a class URI to the URI of one of its direct superclasses <code>class2directsuperclasses.pkl</code>: pickle file containing a dictionary associating a class URI to the list of the URIs of its direct superclasses <code>classID2directsuperclassIDs.txt</code>: tab-separated file in which each line associates a class ID to the ID of one of its direct superclasses <code>classID2directsuperclassIDs.pkl</code>: pickle file containing a dictionary associating a class ID to the list of the IDs of its direct superclasses <code>statistics.md</code>: a file containing statistics for the dataset <code>additonal_rels.csv</code>: a CSV file indicating which relations were considered when querying and cleaning additional triples to constitute the train set <code>yago-relations.csv</code>: a CSV file containing YAGO relations with their domain, range, number of triples and whether they are considered in the valid/test set



