Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
Packages that use EntityDocumentProcessor
Package
Description
Package for mostly static helper code to work with data objects.
Interfaces for representing Wikibase data and related factories.
Components for downloading and processing Wikibase dump files.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Package for examples of bots that edit Wikidata.
Serializer for RDF
-
Uses of EntityDocumentProcessor in org.wikidata.wdtk.datamodel.helpers
Classes in org.wikidata.wdtk.datamodel.helpers that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassThis class implementsEntityDocumentDumpProcessorto provide a serializer forEntityDocumentobjects in JSON. -
Uses of EntityDocumentProcessor in org.wikidata.wdtk.datamodel.interfaces
Subinterfaces of EntityDocumentProcessor in org.wikidata.wdtk.datamodel.interfacesModifier and TypeInterfaceDescriptioninterfaceInterface for classes that process a list ofEntityDocumentobjects.Classes in org.wikidata.wdtk.datamodel.interfaces that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassSimple broker implementation ofEntityDocumentProcessorwhich distributes entity documents to multiple registered listeners.classImplementation ofEntityDocumentProcessorthat acts as a filter, removing some of the data fromEntityDocumentobjects before passing them on to another processor.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type EntityDocumentProcessorModifier and TypeMethodDescriptionvoidEntityDocumentProcessorBroker.registerEntityDocumentProcessor(EntityDocumentProcessor entityDocumentProcessor) Registers a listener which will be called for all entity documents that are processed.Constructors in org.wikidata.wdtk.datamodel.interfaces with parameters of type EntityDocumentProcessorModifierConstructorDescriptionEntityDocumentProcessorFilter(EntityDocumentProcessor entityDocumentProcessor, DocumentDataFilter filter) Constructor. -
Uses of EntityDocumentProcessor in org.wikidata.wdtk.dumpfiles
Classes in org.wikidata.wdtk.dumpfiles that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassSimpleEntityDocumentProcessorfor basic counting and time keeping.Methods in org.wikidata.wdtk.dumpfiles with parameters of type EntityDocumentProcessorModifier and TypeMethodDescriptionvoidDumpProcessingController.registerEntityDocumentProcessor(EntityDocumentProcessor entityDocumentProcessor, String model, boolean onlyCurrentRevisions) Registers an EntityDocumentProcessor, which will henceforth be notified of all entity documents that are encountered in the dump.Constructors in org.wikidata.wdtk.dumpfiles with parameters of type EntityDocumentProcessorModifierConstructorDescriptionJsonDumpFileProcessor(EntityDocumentProcessor entityDocumentProcessor, String siteIri) WikibaseRevisionProcessor(EntityDocumentProcessor entityDocumentProcessor, String siteIri) Constructor. -
Uses of EntityDocumentProcessor in org.wikidata.wdtk.examples
Classes in org.wikidata.wdtk.examples that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassThis advanced example analyses the use of properties and classes in a dump file, and stores the results in two CSV files.classThis simpleEntityDocumentProcessorfinds 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.classThis document processor calculates the gender ratios of people featured on Wikimedia projects.classThis simpleEntityDocumentProcessorfinds the greatest number assigned to a certain property.classThis example illustrates how to create a JSON serialization of some of the data found in a dump.classThis document processor calculates the average life expectancy of people, based on property ids used on Wikidata.classThis is a simple template for anEntityDocumentProcessorthat can be modified to try your own code.classThis example class processes EntityDocuments to create a map image that shows the distribution of items with geographic coordinates on Earth.Methods in org.wikidata.wdtk.examples with parameters of type EntityDocumentProcessorModifier and TypeMethodDescriptionstatic voidExampleHelpers.processEntitiesFromWikidataDump(EntityDocumentProcessor entityDocumentProcessor) Processes all entities in a Wikidata dump using the given entity processor. -
Uses of EntityDocumentProcessor in org.wikidata.wdtk.examples.bots
Classes in org.wikidata.wdtk.examples.bots that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassThis 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.classThis bot adds a default label to Wikidata items that are about numbers, by simply creating a string for any integer number. -
Uses of EntityDocumentProcessor in org.wikidata.wdtk.rdf
Classes in org.wikidata.wdtk.rdf that implement EntityDocumentProcessorModifier and TypeClassDescriptionclassThis class implementsEntityDocumentDumpProcessorto provide a RDF serializer to render RDF graphs ofEntityDocumentobjects.