Published February 19, 2024
| Version v1.0.1
Dataset
Open
YAGO4-LP
Creators
Description
YAGO-LP datasets
Link prediction datasets based on YAGO4 with the following files in YAGO4-22k/
, YAGO4-44k/
, YAGO4-77k/
, YAGO4-27k
/, and YAGO4-19k
/:
rel2id.txt
: tab-separated file in which each line associates a relation URI to its equivalent IDrel2id.pkl
: pickle file containing a dictionary associating a relation URI to its equivalent IDid2rel.txt
: tab-separated file in which each line associates a relation ID to its equivalent URIid2rel.pkl
: pickle file containing a dictionary associating a relation ID to its equivalent URIent2id.txt
: tab-separated file in which each line associates an entity URI to its equivalent IDent2id.pkl
: pickle file containing a dictionary associating an entity URI to its equivalent IDid2ent.txt
: tab-separated file in which each line associates an entity ID to its equivalent URIid2ent.pkl
: pickle file containing a dictionary associating an entity ID to its equivalent URIclass2id.txt
: tab-separated file in which each line associates a class URI to its equivalent IDclass2id.pkl
: pickle file containing a dictionary associating a class URI to its equivalent IDid2class.txt
: tab-separated file in which each line associates a class ID to its equivalent URIid2class.pkl
: pickle file containing a dictionary associating a class ID to its equivalent URItrain.txt
: train set in which each line is of the form<subjectURI> <relationURI> <objectURI> .
train.pkl
: pickle file containing a list in which each element is a tuple(subjectURI, relationURI, objectURI)
valid.txt
: valid set in which each line is of the form<subjectURI> <relationURI> <objectURI> .
valid.pkl
: pickle file containing a list in which each element is a tuple(subjectURI, relationURI, objectURI)
test.txt
: test set in which each line is of the form<subjectURI> <relationURI> <objectURI> .
test.pkl
: pickle file containing a list in which each element is a tuple(subjectURI, relationURI, objectURI)
trainIDs.txt
: train set in which each line is tab-separated and of the formsubjectID relationID objectID
trainIDs.pkl
: pickle file containing a list in which each element is a tuple(subjectID, relationID, objectID)
validIDs.txt
: valid set in which each line is tab-separated and of the formsubjectID relationID objectID
validIDs.pkl
: pickle file containing a list in which each element is a tuple(subjectID, relationID, objectID)
testIDs.txt
: test set in which each line is tab-separated and of the formsubjectID relationID objectID
testIDs.pkl
: pickle file containing a list in which each element is a tuple(subjectID, relationID, objectID)
ent2classes.txt
: 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.ent2classes.pkl
: 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.entID2classIDs.txt
: 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.entID2classIDs.pkl
: 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.class2entities.txt
: 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.class2entities.pkl
: 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.classID2entIDs.txt
: 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.classID2entIDs.pkl
: 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.r2dom.txt
: tab-separated file in which each line associates a relation URI to its domain URIr2dom.pkl
: pickle file containing a dictionary associating a relation UI to its domain URIrID2domID.txt
: tab-separated file in which each line associates a relation ID to its domain IDrID2domID.pkl
: pickle file containing a dictionary associating a relation ID to its domain IDr2range.txt
: tab-separated file in which each line associates a relation URI to its range URIr2range.pkl
: pickle file containing a dictionary associating a relation URI to its range URIrID2rangeID.txt
: tab-separated file in which each line associates a relation ID to its range IDrID2rangeID.pkl
: pickle file containing a dictionary associating a relation ID to its range IDclass2allsuperclasses.txt
: 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)class2allsuperclasses.pkl
: 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)classID2allsuperclassIDs.txt
: 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)classID2allsuperclassIDs.pkl
: 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)class2directsuperclasses.txt
: tab-separated file in which each line associates a class URI to the URI of one of its direct superclassesclass2directsuperclasses.pkl
: pickle file containing a dictionary associating a class URI to the list of the URIs of its direct superclassesclassID2directsuperclassIDs.txt
: tab-separated file in which each line associates a class ID to the ID of one of its direct superclassesclassID2directsuperclassIDs.pkl
: pickle file containing a dictionary associating a class ID to the list of the IDs of its direct superclassesstatistics.md
: a file containing statistics for the datasetadditonal_rels.csv
: a CSV file indicating which relations were considered when querying and cleaning additional triples to constitute the train setyago-relations.csv
: a CSV file containing YAGO relations with their domain, range, number of triples and whether they are considered in the valid/test set
Files
pmonnin/YAGO4-LP-v1.0.1.zip
Files
(63.4 MB)
Name | Size | Download all |
---|---|---|
md5:70511d0d43fe15000fc288addceb6309
|
63.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/pmonnin/YAGO4-LP/tree/v1.0.1 (URL)
Software
- Repository URL
- https://github.com/pmonnin/YAGO4-LP