All Classes and Interfaces

Class
Description
Abstract base class for all builder objects that create data model objects.
This class provides functions to convert objects of wdtk-datamodel in a rdf graph.
 
 
Collection of changes made to entity aliases.
Builder for incremental construction of AliasUpdate objects.
Jackson implementation of AliasUpdate.
Class to convert Wikibase data values to RDF.
Class to build up and hold a connection to a Wikibase API.
Exception to indicate that we tried to perform an action while our login credentials have expired.
A connection to the MediaWiki API established via standard login with username and password.
Wrapper for HttpCookie.
Interface for a bit vector.
Default implementation of BitVector.
This is an iterator for a bit vector.
Simple class to store bot configurations to use for all bots.
 
Interface for Wikidata claims.
Helper class to represent a Claim.
This advanced example analyses the use of properties and classes in a dump file, and stores the results in two CSV files.
Enum for denoting several basic file types for which we provide transparent decompression.
This simple EntityDocumentProcessor finds all items with a GND identifier (property P227) who are also humans (P31 with value Q5), and extracts for each of them the id, GND value, as well as English and German labels and Wikipedia articles, if any.
This class contains static methods to create string notations for values of several datatypes and classes.
This class contains static methods to create WDTK data objects.
Class to re-create data model objects using a specified factory.
This is a utility class that allows to filter EntityDocument using the data declared in a DocumentDataFilter.
Same as Jackson's celebrated ObjectMapper, except that we add injections necessary to fill fields not represented in JSON.
Interface for factories that create data objects that implement the interfaces from this package.
Factory implementation to create Jackson versions of the datamodel objects, where available.
Jackson implementation of DatatypeIdValue.
A value that represents one of the available Wikibase datatypes.
Interface for classes that read and write files from one directory.
Static helper class for creating DirectoryManager objects.
Class to read and write files from one directory.
This class is used to describe restrictions to data in EntityDocument objects.
Enum to refer to the various kinds of dumps that are supported by this implementation.
A class for controlling the processing of dump files through a unified interface.
Exception to indicate a MediaWiki API error caused by an edit conflict.
Holds information about a successful edit made via WikibaseDataEditor.
This example shows how to create and modify data through the web API of a Wikibase site.
This example shows how to create and modify media info data.
Interface for datasets that describe an entity.
Abstract base class for builders that construct EntityDocument objects.
Interface for classes that process a list of EntityDocument objects.
Abstract Jackson implementation of EntityDocument.
Interface for classes that are able to process EntityDocument objects in some way.
Simple broker implementation of EntityDocumentProcessor which distributes entity documents to multiple registered listeners.
Implementation of EntityDocumentProcessor that acts as a filter, removing some of the data from EntityDocument objects before passing them on to another processor.
An entity is a Value that is represented by a page in Wikibase.
 
Abstract base implementation of EntityIdValue for Jackson.
Interface for entity redirect.
Implementation of EntityRedirectDocument
Simple EntityDocumentProcessor for basic counting and time keeping.
 
Collection of changes that can be applied to an entity via Wikibase API.
Builder for incremental construction of EntityUpdate objects.
Jackson implementation of EntityUpdate.
Static class for checking the equality of arbitrary data objects using only their interfaces.
Class for sharing code that is used in many examples.
Enum to say which dumps should be downloaded and processed.
 
This bot adds changes quantity values of properties that are required to use integers (such as population numbers) to be exact if they are now set to +/-1.
Interface for lexemes forms.
Jackson implementation of FormDocument.
The id of a Wikibase Lexeme Form.
Jackson implementation of FormIdValue.
Collection of changes that can be applied to form entity.
Builder for incremental construction of FormUpdate objects.
Jackson implementation of FormUpdate.
This document processor calculates the gender ratios of people featured on Wikimedia projects.
Class to store basic information for each site in a simple format.
Class to order site records human page count.
Globe coordinates specify a position on some globe (usually Earth, but possibly also another celestial body, such as Mars).
 
Jackson implementation of GlobeCoordinatesValue.
This simple EntityDocumentProcessor finds the greatest number assigned to a certain property.
 
Static class for computing a hashcode of arbitrary data objects using only their interfaces.
An IriIdentifiedValue is a Value that is identified by an IRI, which can be used as the canonical identifier for the entity outside of the context of a particular Wikibase installation.
Interface for datasets that describe items.
Builder class to construct ItemDocument objects.
Jackson implementation of ItemDocument.
The id of a Wikibase Item.
Jackson implementation of ItemIdValue.
Collection of changes that can be applied to item entity.
Builder for incremental construction of ItemUpdate objects.
Jackson implementation of ItemUpdate.
Helper to deserialize datamodel objects from their JSON representation.
Processor for JSON dumpfiles.
 
This example illustrates how to create a JSON serialization of some of the data found in a dump.
This class implements EntityDocumentDumpProcessor to provide a serializer for EntityDocument objects in JSON.
Interface for EntityDocuments that can be described by labels in several languages.
Collection of changes that can be applied to an entity that has labels.
Builder for incremental construction of LabeledStatementDocumentUpdate objects.
Jackson implementation of LabeledStatementDocumentUpdate.
This interface just joins LabeledDocument and StatementDocument.
Collection of changes that can be applied to an entity that has labels and statements.
Custom deserializer, very close to the default serializer generated by Jackson, only to also accept empty json objects ({}) in place of empty lists for the list of senses.
Interface for datasets that describe lexemes.
Jackson implementation of LexemeDocument.
The id of a Wikibase Lexeme.
Jackson implementation of LexemeIdValue.
Collection of changes that can be applied to lexeme entity.
Builder for incremental construction of LexemeUpdate objects.
Jackson implementation of LexemeUpdate.
This document processor calculates the average life expectancy of people, based on property ids used on Wikidata.
This class illustrates how to process local dumpfiles.
This exception is thrown when a login was not successful.
 
Exception thrown when response from Wikibase API cannot be parsed.
Exception to indicate a MediaWiki API error caused by exceeding the maxlag parameter.
Interface for datasets that describe media entities.
Jackson implementation of MediaInfoDocument.
Action for MediaInfoId retrieval.
The id of a Wikibase MediaInfo.
Jackson implementation of MediaInfoIdValue.
Collection of changes that can be applied to media entity.
Builder for incremental construction of MediaInfoUpdate objects.
Jackson implementation of MediaInfoUpdate.
Exception for reporting general MediaWiki API errors.
Class to interpret MediaWiki API errors.
Mock implementation of DirectoryManager that simulates file access without touching the file system.
 
Helper class to create BufferedReaders and InputStreams with predefined contents.
Mock implementation of WebResourceFetcher.
A monolingual text value represents a text (string) in a certain language.
 
Jackson implementation of MonolingualTextValue.
Representation of MediaWiki dump files, which provides access to important basic properties of dumps, and to the content of the dump itself.
Comparator to sort dumps by date.
General interface for classes that process dump files, typically for parsing them.
Exception class to report errors in the format of a MediaWiki dump file.
Class for representing dump files that are found at arbitrary (local) file paths.
Representation of one revision of a page in MediaWiki.
This class processes MediaWiki dumpfiles that contain lists of page revisions in the specific XML format used by MediaWiki for exporting pages.
Implementation of MwRevision.
General interface for classes that process revisions of MediaWiki pages.
This MwRevisionPRocessor distributes revisions to subscribers that register their interest in some type of message (revision).
This class processes dump files that contain the SQL dump of the MediaWiki sites table.
This exception could be caused by a login action if there are problems with the login token or the session id.
Given an iterable of iterables of T, this class simulates an iterator of T.
Exception to indicate a MediaWiki API error caused by trying to access an entity that does not exist.
A NoValueSnak represents the information that a given property has no value.
Jackson implementation of NoValueSnak.
A connection to the MediaWiki/Wikibase API which uses OAuth for authentication.
This example shows how to retrieve MediaInfo data from the API.
This class stores information about data that should be serialized in RDF later on.
Enum to define the context in which a propery is used in the RDF export.
Interface for datasets that describe properties.
Builder class to construct PropertyDocument objects.
Jackson implementation of PropertyDocument.
The id of a Wikibase Property.
Jackson implementation of PropertyIdValue.
This class helps to manage information about Properties that has to obtained by a webservice.
Collection of changes that can be applied to property entity.
Builder for incremental construction of PropertyUpdate objects.
Jackson implementation of PropertyUpdate.
A quantity value represents a number, possibly under some unit.
 
Jackson implementation of QuantityValue.
Generates fresh hashes for new statements, snaks or references, based on Java's own random generator (java.util.UUID).
Holds information about the highest rank in an EntityDocument and the corresponding statement to generate BestRank triples.
A ranked bit vector provides operations to compute: rank (RankedBitVector.countBits(boolean, long)): number of occurrences of a bit at a certain position select (RankedBitVector.findPosition(boolean, long)): position of the n-th occurrence of a certain bit
Default implementation of RankedBitVector.
 
This class shows how convert data from wikidata.org to RDF in N-Triples format.
This class implements EntityDocumentDumpProcessor to provide a RDF serializer to render RDF graphs of EntityDocument objects.
This class provides methods for writing RDF data to an output stream.
An interface for references in Wikidata.
 
Jackson implementation of Reference.
This class supports the conversion of references to RDF.
Interface for lexemes senses.
Jackson implementation of SenseDocument.
The id of a Wikibase Lexeme Sense.
Jackson implementation of SenseIdValue.
Collection of changes that can be applied to sense entity.
Builder for incremental construction of SenseUpdate objects.
Jackson implementation of SenseUpdate.
This bot adds a default label to Wikidata items that are about numbers, by simply creating a string for any integer number.
A site link in Wikibase specifies a link to an article on another MediaWiki site, and a list of "badges" that this article holds.
Jackson implementation of SiteLink.
This class demonstrates how to get access to information about sitelinks in Wikidata.org.
Registry to manage the association between site keys (such as "enwiki") and base URLs (such as "http://en.wikipedia.org/wiki/") that is needed to interpret SiteLink objects.
Implementation of the Sites interface that allows sites to be registered.
Snaks are the basic information structures used to describe Entities in Wikibase.
A snak group represents an ordered list of Snak objects that use the same property.
Helper class to represent a SnakGroup deserialized from JSON.
Abstract Jackson implementation of Snak.
Class to convert Wikibase snaks to RDF.
A visitor for the various types of snaks in the datamodel.
A SomeValueSnak represents the information that a given property has some value that is not speficied further.
Jackson implementation of SomeValueSnak.
Interface for Wikibase Statments.
 
Interface for EntityDocuments that can have statements.
Collection of changes that can be applied to an entity that has statements.
Builder for incremental construction of StatementDocumentUpdate objects.
Jackson implementation of StatementDocumentUpdate.
A statement group represents an ordered list of Statement objects that use the same subject and the same property in the main snak of their Claim.
Helper class to represent a StatementGroup.
Jackson implementation of Statement.
Helper class for deserializing statements from JSON.
Enum for the possible ranks of Wikibase Statements.
Collection of statement changes.
Builder for incremental construction of StatementUpdate objects.
Jackson implementation of StatementUpdate.
A simple revision processor that counts some basic figures and logs the result.
String Values represent a single string.
 
Jackson implementation of StringValue.
Error thrown when one of the supplied tags for an edit does not exist or cannot be applied manually.
Interface for EntityDocuments that can be described by terms in several languages.
Collection of changes that can be applied to an entity that has labels, aliases, and descriptions.
Builder for incremental construction of TermedStatementDocumentUpdate objects.
Jackson implementation of TermedStatementDocumentUpdate.
This interface just joins TermedDocument and StatementDocument.
Abstract Jackson implementation of TermedDocument and StatementDocument.
Collection of changes that can be applied to an entity that has labels, aliases, descriptions, and statements.
Jackson representation of MonolingualTextValue data used in labels, aliases, and descriptions in JSON.
Collection of changes made to terms (labels, descriptions, ...).
Builder for incremental construction of TermUpdate objects.
Jackson implementation of TermUpdate.
Class for keeping CPU and system times.
Time values represent points and intervals in time, and additional information about their format.
 
Jackson implementation of TimeValue.
Exception to indicate a MediaWiki API error caused by missing or invalid token.
Static class for computing a toString of arbitrary data objects using only their Stringerfaces.
This is a simple template for an EntityDocumentProcessor that can be modified to try your own code.
This example application applies an EntityDocumentProcessor to all documents in a Wikidata dump file.
Represents a entity id value of an unsupported type.
Represents a entity id value of an unsupported type.
Represents a value with an unsupported datatype.
Represents a value with an unsupported datatype.
A Value is the most general kind of object in the Wikibase datamodel.
Interface for classes that convert one type of Wikibase data value into a RDF.
Abstract Jackson implementation of Value.
ValueSnaks represent property-value pairs, where the property are represented by a PropertyIdValue and the value is represented by a Value.
Jackson implementation of ValueSnak.
A visitor for the various types of values in the datamodel.
This class contains static methods and constants that define the various OWL and RDF vocabularies that are used in the export.
Java implementation for the wbeditentity API action.
Java implementation of the wbgetentities action.
This class is a simple record that holds the properties of an wbgetentities action request.
This class is a simple record that holds the properties of an wbgetentities action request.
Java implementation of the wbsearchentities action.
Represents the result of a wbsearchentities action.
Represents information about how a document matched the query
Interface to access files on the Web.
Standard implementation of WebResourceFetcher.
Class that provides high-level editing functionality for Wikibase data.
Simple class to fetch data from Wikibase via the online API.
A revision processor that processes Wikibase entity content from a dump file.
This class helps to interpret Wikimedia language codes in terms of official BCP 47 language codes.
Abstract base class for dump files provided by the Wikimedia Foundation.
Class for providing access to available dumpfiles provided by the Wikimedia Foundation.
Class for representing dump files published by the Wikimedia Foundation, and previously downloaded to a local directory.
Class for representing dump files published by the Wikimedia Foundation in the main common location of all dump files.
This example class processes EntityDocuments to create a map image that shows the distribution of items with geographic coordinates on Earth.