API Documentation

This is the API documentation for forayer.

Knowledge Graph

Knowledge graph and entity resolution related methods.

forayer.knowledge_graph.KG

KG class holding entities and their attributes and relations between entities.

forayer.knowledge_graph.AttributeEmbeddedKG

KG class holding entities and their embedded attributes as well as relations between entities.

forayer.knowledge_graph.ClusterHelper

Convenience class for entity clusters.

forayer.knowledge_graph.ERTask

Class to model entity resolution task on knowledge graphs.

Datasets

Make datasets available.

forayer.datasets.OpenEADataset

The OpenEA datasets contain entity resolution tasks with samples from popular knowledge graphs.

forayer.datasets.OAEIKGDataset

The OAEI (Ontology Alignment Evaluation Initiative) Knowledge Graph Track tasks contain graphs created from fandom wikis.

IO

Input and output of data formats.

forayer.input_output.from_to_gradoop

Write Gradoop file format and read Gradoop file format.

forayer.input_output.from_to_open_ea

IO module for OpenEA data.

forayer.input_output.from_to_rdf

Read and write semantic web sources.

Transformation

Transform data.

forayer.transformation.word_embedding.AttributeVectorizer

Vectorizer class to get attribute embeddings of entities with pre-trained embeddings.