Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDataObjectBuilder<T extends AbstractDataObjectBuilder<T,
O>, O> - Class in org.wikidata.wdtk.datamodel.helpers -
Abstract base class for all builder objects that create data model objects.
- AbstractDataObjectBuilder() - Constructor for class org.wikidata.wdtk.datamodel.helpers.AbstractDataObjectBuilder
- AbstractRdfConverter - Class in org.wikidata.wdtk.rdf
-
This class provides functions to convert objects of wdtk-datamodel in a rdf graph.
- AbstractRdfConverter(RdfWriter, Sites, PropertyRegister) - Constructor for class org.wikidata.wdtk.rdf.AbstractRdfConverter
- AbstractRdfConverter.TermKind - Enum in org.wikidata.wdtk.rdf
- AbstractValueConverter<V extends Value> - Class in org.wikidata.wdtk.rdf.values
- AbstractValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.AbstractValueConverter
- accept(SnakVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
- accept(SnakVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
- accept(SnakVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- accept(SnakVisitor<T>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Snak
-
Accept a SnakVisitor and return its output.
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- accept(ValueVisitor<T>) - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
- accept(ValueVisitor<T>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Value
-
Accept a ValueVisitor and return its output.
- add(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Adds new alias.
- add(Statement) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Adds statement to the entity.
- add(StatementRank, Resource) - Method in class org.wikidata.wdtk.rdf.RankBuffer
-
Adds a Statement.
- addAlias(MonolingualTextValue) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Adds an individual alias.
- addBestReferenceToList(Reference, List<Reference>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.
- addBit(boolean) - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
-
Appends a bit to this bit vector.
- addBit(boolean) - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- addBit(boolean) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- addClass(EntityIdValue) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Adds the given entity id value to the list of entities that should be declared as OWL classes.
- addDatatypeProperty(IRI) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Adds the given property URI string to the list of property URIs that should be declared as OWL datatype properties.
- addDatatypeProperty(PropertyIdValue) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Adds the given property id value to the list of properties that should be declared as OWL datatype properties.
- addForm(FormDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Adds form to the lexeme.
- addLabelForNumbers(ItemIdValue) - Method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Fetches the current online data for the given item, and adds numerical labels if necessary.
- addObjectProperty(IRI) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Adds the given property URI string to the list of property URIs that should be declared as OWL object properties.
- addObjectProperty(PropertyIdValue) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Adds the given property id value to the list of properties that should be declared as OWL object properties.
- addReference(Reference) - Method in class org.wikidata.wdtk.rdf.ReferenceRdfConverter
-
Adds the given reference to the list of references that should still be serialized, and returns the RDF resource that will be used as a subject.
- addSense(SenseDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Adds sense to the lexeme.
- addSite(String) - Method in class org.wikidata.wdtk.examples.WorldMapProcessor
-
Registers a new site for specific data collection.
- addStatement(Statement, boolean) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Adds one statement to the list of statements to be kept, possibly merging it with other statements to be kept if possible.
- addStatementToGroups(Statement, Map<String, List<Statement>>) - Static method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Adds a Statement to a given collection of statement groups.
- ALIAS - Enum constant in enum org.wikidata.wdtk.rdf.AbstractRdfConverter.TermKind
- aliases - Variable in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- AliasUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes made to entity aliases.
- AliasUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
AliasUpdate
objects. - AliasUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
AliasUpdate
. - AliasUpdateImpl(List<MonolingualTextValue>, List<MonolingualTextValue>, Collection<MonolingualTextValue>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
-
Initializes new alias update.
- ALL_REVS - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
- ALL_REVS_WITH_DAILIES - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
- AnyValueConverter - Class in org.wikidata.wdtk.rdf.values
-
Class to convert Wikibase data values to RDF.
- AnyValueConverter(RdfWriter, OwlDeclarationBuffer, PropertyRegister) - Constructor for class org.wikidata.wdtk.rdf.values.AnyValueConverter
- apiBaseUrl - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
URL to access the Wikibase API.
- ApiConnection - Class in org.wikidata.wdtk.wikibaseapi
-
Class to build up and hold a connection to a Wikibase API.
- ApiConnection(String) - Constructor for class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Creates an object to manage a connection to the Web API of a Wikibase site.
- ApiConnection(String, Map<String, String>) - Constructor for class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Creates an object to manage a connection to the Web API of a Wikibase site.
- append(AliasUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(FormUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(ItemUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(LexemeUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(PropertyUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(SenseUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Replays all changes in provided update into this builder object.
- append(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Replays all changes in provided update into this builder object.
- apply(MediaInfoUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
-
Replays all changes in provided update into this builder object.
- ASSERT_PARAMETER - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
MediaWiki assert parameter to ensure we are editing while logged in.
- assertHasJsonEntityType(String) - Method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
- AssertUserFailedException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception to indicate that we tried to perform an action while our login credentials have expired.
- AssertUserFailedException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.AssertUserFailedException
- asynchronousOutputStream(OutputStream) - Static method in class org.wikidata.wdtk.examples.RdfSerializationExample
-
Creates a separate thread for writing into the given output stream and returns a pipe output stream that can be used to pass data to this thread.
B
- BasicApiConnection - Class in org.wikidata.wdtk.wikibaseapi
-
A connection to the MediaWiki API established via standard login with username and password.
- BasicApiConnection(String) - Constructor for class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Creates an object to manage a connection to the Web API of a Wikibase site.
- BasicApiConnection(String, List<BasicApiConnection.HttpCookieWrapper>, String, boolean, Map<String, String>, int, int) - Constructor for class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Deserializes an existing BasicApiConnection from JSON.
- BasicApiConnection.HttpCookieWrapper - Class in org.wikidata.wdtk.wikibaseapi
-
Wrapper for
HttpCookie
. - BitVector - Interface in org.wikidata.wdtk.storage.datastructures
-
Interface for a bit vector.
- BitVectorImpl - Class in org.wikidata.wdtk.storage.datastructures
-
Default implementation of
BitVector
. - BitVectorImpl() - Constructor for class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
-
Constructor of a bit vector of size 0.
- BitVectorImpl(long) - Constructor for class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
-
Constructor of a bit vector of size initialSize.
- BitVectorImpl(BitVector) - Constructor for class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
-
Copy constructor of a bit vector.
- BitVectorIterator - Class in org.wikidata.wdtk.storage.datastructures
-
This is an iterator for a bit vector.
- BitVectorIterator(BitVector) - Constructor for class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
-
Constructs an iterator for a bit vector.
- BotSettings - Class in org.wikidata.wdtk.examples.bots
-
Simple class to store bot configurations to use for all bots.
- BotSettings() - Constructor for class org.wikidata.wdtk.examples.bots.BotSettings
- BufferedValueConverter<V extends Value> - Class in org.wikidata.wdtk.rdf.values
- BufferedValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.BufferedValueConverter
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.AbstractDataObjectBuilder
-
Returns the object that has been built.
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Creates new
AliasUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Creates new
EntityUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Returns the
ItemDocument
that has been built. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Creates new
LabeledStatementDocumentUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Returns the
ItemDocument
that has been built. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
- build() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Creates new
StatementDocumentUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new
StatementUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Creates new
TermedStatementDocumentUpdate
object with contents of this builder object. - build() - Method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Creates new
TermUpdate
object with contents of this builder object. - BZ2 - Enum constant in enum org.wikidata.wdtk.util.CompressionType
C
- checkCredentials() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Checks that the credentials are still valid for the user currently logged in.
- checkCredentials() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
-
Checks if the OAuth credentials (i.e., consumer key/secret and access token/secret) are still valid.
- checkErrors(JsonNode) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Checks if an API response contains an error and throws a suitable exception in this case.
- Claim - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for Wikidata claims.
- ClaimImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Helper class to represent a
Claim
. - ClaimImpl(StatementImpl) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
-
Constructor used to initialize a claim from a JacksonStatement, should only be used internally.
- ClaimImpl(EntityIdValue, Snak, List<SnakGroup>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
-
Constructor to create a claim.
- claims - Variable in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
This is what is called claim in the JSON model.
- ClassPropertyUsageAnalyzer - Class in org.wikidata.wdtk.examples
-
This advanced example analyses the use of properties and classes in a dump file, and stores the results in two CSV files.
- ClassPropertyUsageAnalyzer() - Constructor for class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
- clear() - Method in class org.wikidata.wdtk.rdf.RankBuffer
-
Clears the buffer.
- clearCookies() - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Clears the set of cookies.
- clientLogin(String, String) - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Logs in using the main user credentials.
- close() - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- close() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentDumpProcessor
-
Finishes the processing by performing any final steps, such as closing resources.
- close() - Method in class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
-
Stops the processing and prints the final time.
- close() - Method in class org.wikidata.wdtk.examples.DataExtractionProcessor
- close() - Method in class org.wikidata.wdtk.examples.JsonSerializationProcessor
-
Closes the output.
- close() - Method in class org.wikidata.wdtk.rdf.RdfSerializer
- close() - Method in class org.wikidata.wdtk.testing.MockOutputStream
- CM_GREGORIAN_PRO - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
IRI of the proleptic Gregorian calendar; often used to specify the calendar model
- CM_JULIAN_PRO - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
IRI of the proleptic Julian calendar; often used to specify the calendar model
- compare(MwDumpFile, MwDumpFile) - Method in class org.wikidata.wdtk.dumpfiles.MwDumpFile.DateComparator
- compare(GenderRatioProcessor.SiteRecord, GenderRatioProcessor.SiteRecord) - Method in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecordComparator
- CompressionType - Enum in org.wikidata.wdtk.util
-
Enum for denoting several basic file types for which we provide transparent decompression.
- configureLogging() - Static method in class org.wikidata.wdtk.examples.ExampleHelpers
-
Defines how messages should be logged.
- confirmClientLogin(String, String, String) - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Issues a Web API query to confirm that the previous client login attempt was successful, and sets the internal state of the API connection accordingly in this case.
- confirmLogin(String, String, String) - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Issues a Web API query to confirm that the previous login attempt was successful, and sets the internal state of the API connection accordingly in this case.
- connectTimeout - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Maximum time to wait for when establishing a connection, in milliseconds.
- constructTermMap(List<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- copy(Claim) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
Claim
. - copy(DatatypeIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
DatatypeIdValue
. - copy(FormDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
FormDocument
. - copy(FormIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
FormIdValue
. - copy(GlobeCoordinatesValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
GlobeCoordinatesValue
. - copy(ItemDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies an
ItemDocument
. - copy(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies an
ItemIdValue
. - copy(LexemeDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
LexemeDocument
. - copy(LexemeIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
LexemeIdValue
. - copy(MediaInfoDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
MediaInfoDocument
. - copy(MediaInfoIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
MediaInfoIdValue
. - copy(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
MonolingualTextValue
- copy(NoValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
NoValueSnak
. - copy(PropertyDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
PropertyDocument
. - copy(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
PropertyIdValue
. - copy(QuantityValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
QuantityValue
. - copy(Reference) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
Reference
. - copy(SenseDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
SenseDocument
. - copy(SenseIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
SenseIdValue
. - copy(SiteLink) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
SiteLink
. - copy(SnakGroup) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
SnakGroup
. - copy(SomeValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
SomeValueSnak
. - copy(Statement) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
Statement
. - copy(StatementGroup) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
StatementGroup
. - copy(StringValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
StringValue
. - copy(TimeValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
TimeValue
. - copy(UnsupportedValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies an
UnsupportedValue
. - copy(ValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
ValueSnak
. - copySnak(Snak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
Snak
. - copyValue(Value) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Copies a
Value
. - countBits(boolean, long) - Method in interface org.wikidata.wdtk.storage.datastructures.RankedBitVector
-
This is the "rank" method of bit vectors.
- countBits(boolean, long) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- create() - Static method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Creates new builder object for constructing alias update.
- create() - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing statement update.
- create() - Static method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Creates new builder object for constructing term update.
- create(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing statement update of given subject.
- createDirectoryManager(String, boolean) - Static method in class org.wikidata.wdtk.util.DirectoryManagerFactory
-
Creates a new
DirectoryManager
for the given directory. - createDirectoryManager(Path, boolean) - Static method in class org.wikidata.wdtk.util.DirectoryManagerFactory
-
Creates a new
DirectoryManager
for the given directory path. - createEntityDocument(EntityDocument, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates new entity document.
- createFile(String, InputStream) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- createFile(String, InputStream) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Creates a new file in the current directory, and fill it with the data from the given input stream.
- createFile(String, InputStream) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- createFile(String, String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- createFile(String, String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Creates a new file in the current directory, and fill it with the given data, encoded in UTF-8.
- createFile(String, String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- createFileAtomic(String, InputStream) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- createFileAtomic(String, InputStream) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Creates a new file in the current directory, and fill it with the data from the given input stream.
- createFileAtomic(String, InputStream) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- createForm(List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- createForm(List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Creates a new
FormDocument
for this lexeme. - createItemDocument(ItemDocument, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates new item document.
- createLexemeDocument(LexemeDocument, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates new lexeme document.
- createPropertyDocument(PropertyDocument, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates new property document.
- createSense(List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- createSense(List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Creates a new
SenseDocument
for this Lexeme. - CURRENT - Enum constant in enum org.wikidata.wdtk.dumpfiles.DumpContentType
- CURRENT_REVS - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
- CURRENT_REVS_WITH_DAILIES - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
- currentDocument - Variable in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.
D
- DAILY - Enum constant in enum org.wikidata.wdtk.dumpfiles.DumpContentType
- DataExtractionProcessor - Class in org.wikidata.wdtk.examples
-
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. - DataExtractionProcessor() - Constructor for class org.wikidata.wdtk.examples.DataExtractionProcessor
- DataFormatter - Class in org.wikidata.wdtk.datamodel.helpers
-
This class contains static methods to create string notations for values of several datatypes and classes.
- DataFormatter() - Constructor for class org.wikidata.wdtk.datamodel.helpers.DataFormatter
- Datamodel - Class in org.wikidata.wdtk.datamodel.helpers
-
This class contains static methods to create WDTK data objects.
- Datamodel() - Constructor for class org.wikidata.wdtk.datamodel.helpers.Datamodel
- DatamodelConverter - Class in org.wikidata.wdtk.datamodel.helpers
-
Class to re-create data model objects using a specified factory.
- DatamodelConverter(DataObjectFactory) - Constructor for class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
-
Constructor.
- DatamodelFilter - Class in org.wikidata.wdtk.datamodel.helpers
-
This is a utility class that allows to filter
EntityDocument
using the data declared in aDocumentDataFilter
. - DatamodelFilter(DataObjectFactory, DocumentDataFilter) - Constructor for class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- DatamodelMapper - Class in org.wikidata.wdtk.datamodel.helpers
-
Same as Jackson's celebrated ObjectMapper, except that we add injections necessary to fill fields not represented in JSON.
- DatamodelMapper(String) - Constructor for class org.wikidata.wdtk.datamodel.helpers.DatamodelMapper
-
Constructs a mapper with the given siteIri.
- DataObjectFactory - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for factories that create data objects that implement the interfaces from this package.
- DataObjectFactoryImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Factory implementation to create Jackson versions of the datamodel objects, where available.
- DataObjectFactoryImpl() - Constructor for class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- DatatypeIdImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
DatatypeIdValue
. - DatatypeIdImpl(String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Deprecated.
- DatatypeIdImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Constructs an object representing the datatype id from an IRI denoting the datatype, as well as a string corresponding to its JSON serialization.
- DatatypeIdImpl(DatatypeIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Copy constructor.
- DatatypeIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A value that represents one of the available Wikibase datatypes.
- datatypes - Variable in class org.wikidata.wdtk.rdf.PropertyRegister
-
Map that stores the datatype of properties.
- DateComparator() - Constructor for class org.wikidata.wdtk.dumpfiles.MwDumpFile.DateComparator
- dateStamp - Variable in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- DEFAULT_PROTOCOL_PREFIX - Static variable in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
-
MediaWiki supports relative URLs in site configurations, which do not start with "http://" or "https://", but with "//".
- deleteAlias(MonolingualTextValue) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Deletes an individual alias
- DEPRECATED - Enum constant in enum org.wikidata.wdtk.datamodel.interfaces.StatementRank
- DESCRIPTION - Enum constant in enum org.wikidata.wdtk.rdf.AbstractRdfConverter.TermKind
- descriptions - Variable in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- deserialize(JsonParser, DeserializationContext) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeDeserializer
- deserializeEntityDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into a
EntityDocument
. - deserializeEntityRedirectDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into a
EntityRedirectDocument
. - deserializeItemDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into an
ItemDocument
. - deserializeLexemeDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into a
LexemeDocument
. - deserializeMediaInfoDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into a
MediaInfoDocument
. - deserializePropertyDocument(String) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Deserializes a JSON string into a
PropertyDocument
. - DIRECT - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- DirectoryManager - Interface in org.wikidata.wdtk.util
-
Interface for classes that read and write files from one directory.
- DirectoryManagerFactory - Class in org.wikidata.wdtk.util
-
Static helper class for creating
DirectoryManager
objects. - DirectoryManagerFactory() - Constructor for class org.wikidata.wdtk.util.DirectoryManagerFactory
- DirectoryManagerImpl - Class in org.wikidata.wdtk.util
-
Class to read and write files from one directory.
- DirectoryManagerImpl(Path, Boolean) - Constructor for class org.wikidata.wdtk.util.DirectoryManagerImpl
-
Constructor
- disableEditing() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Sets the remaining edits for this component to 0, so that all edits are simulated but not actually send to the API.
- DocumentDataFilter - Class in org.wikidata.wdtk.datamodel.interfaces
-
This class is used to describe restrictions to data in
EntityDocument
objects. - DocumentDataFilter() - Constructor for class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
- DOWNLOAD_DIRECTORY_NAME - Static variable in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFileManager
-
The name of the directory where downloaded dump files are stored.
- DT_COMMONS_MEDIA - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_COMMONS_MEDIA
- DT_COMMONS_MEDIA - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_EDTF - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_EDTF
- DT_EDTF - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_EXTERNAL_ID - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_EXTERNAL_ID
- DT_EXTERNAL_ID - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_FORM - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_FORM
- DT_FORM - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_GEO_SHAPE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_GEO_SHAPE
- DT_GEO_SHAPE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_GLOBE_COORDINATES - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_GLOBE_COORDINATES
- DT_GLOBE_COORDINATES - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_ITEM - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_ITEM
- DT_ITEM - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_LEXEME - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_LEXEME
- DT_LEXEME - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_MATH - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_MATH
- DT_MATH - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_MEDIA_INFO - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_MEDIA_INFO
- DT_MEDIA_INFO - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_MONOLINGUAL_TEXT - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_MONOLINGUAL_TEXT
- DT_MONOLINGUAL_TEXT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_PROPERTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_PROPERTY
- DT_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_QUANTITY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_QUANTITY
- DT_QUANTITY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_SENSE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_SENSE
- DT_SENSE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_STRING - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_STRING
- DT_STRING - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_TABULAR_DATA - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_TABULAR_DATA
- DT_TABULAR_DATA - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_TIME - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_TIME
- DT_TIME - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DT_URL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.Vocabulary.DT_URL
- DT_URL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- DUMP_FILE_MODE - Static variable in class org.wikidata.wdtk.examples.ExampleHelpers
-
Defines which dumps will be downloaded and processed in all examples.
- DUMP_SITE_BASE_URL - Static variable in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
The default URL of the website to obtain the dump files from.
- DumpContentType - Enum in org.wikidata.wdtk.dumpfiles
-
Enum to refer to the various kinds of dumps that are supported by this implementation.
- DumpProcessingController - Class in org.wikidata.wdtk.dumpfiles
-
A class for controlling the processing of dump files through a unified interface.
- DumpProcessingController(String) - Constructor for class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Creates a new DumpFileProcessingController for the project of the given name.
E
- editAsBot() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Returns true if edits should be flagged as bot edits.
- EditConflictErrorException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception to indicate a MediaWiki API error caused by an edit conflict.
- EditConflictErrorException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.EditConflictErrorException
-
Creates a new exception.
- editEntityDocument(EntityUpdate, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Updates
EntityDocument
entity. - EditingResult - Class in org.wikidata.wdtk.wikibaseapi
-
Holds information about a successful edit made via
WikibaseDataEditor
. - EditingResult(long) - Constructor for class org.wikidata.wdtk.wikibaseapi.EditingResult
- editItemDocument(ItemDocument, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Writes the data for the given item document with the summary message as given. Optionally, the existing data is cleared (deleted).The id of the given item document is used to specify which item document should be changed. The site IRI will be ignored for this.
The revision id of the given item document is used to specify the base revision, enabling the API to detect edit conflicts. The value 0 can be used to omit this. It is strongly recommended to give a revision id when making edits where the outcome depends on the previous state of the data (i.e., any edit that does not use "clear").
If the data is not cleared, then the existing data will largely be preserved. Statements with empty ids will be added without checking if they exist already; statements with (valid) ids will replace any existing statements with these ids or just be added if there are none. Labels, descriptions, and aliases will be preserved for all languages for which no data is given at all. For aliases this means that writing one alias in a language will overwrite all aliases in this language, so some care is needed.
- editMediaInfoDocument(MediaInfoDocument, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Writes the data for the given media info document with the summary message as given. Optionally, the existing data is cleared (deleted). It creates the media info if needed.The id of the given media info document is used to specify which media info document should be changed or created. The site IRI will be ignored for this.
The revision id of the given media info document is used to specify the base revision, enabling the API to detect edit conflicts. The value 0 can be used to omit this. It is strongly recommended to give a revision id when making edits where the outcome depends on the previous state of the data (i.e., any edit that does not use "clear").
If the data is not cleared, then the existing data will largely be preserved. Statements with empty ids will be added without checking if they exist already; statements with (valid) ids will replace any existing statements with these ids or just be added if there are none. Labels will be preserved for all languages for which no data is given at all. For aliases this means that writing one alias in
- EditOnlineDataExample - Class in org.wikidata.wdtk.examples
-
This example shows how to create and modify data through the web API of a Wikibase site.
- EditOnlineDataExample() - Constructor for class org.wikidata.wdtk.examples.EditOnlineDataExample
- EditOnlineMediaInfoExample - Class in org.wikidata.wdtk.examples
-
This example shows how to create and modify media info data.
- EditOnlineMediaInfoExample() - Constructor for class org.wikidata.wdtk.examples.EditOnlineMediaInfoExample
- editPropertyDocument(PropertyDocument, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Writes the data for the given property document with the summary message as given. Optionally, the existing data is cleared (deleted).The id of the given property document is used to specify which property document should be changed. The site IRI will be ignored for this.
The revision id of the given property document is used to specify the base revision, enabling the API to detect edit conflicts. The value 0 can be used to omit this. It is strongly recommended to give a revision id when making edits where the outcome depends on the previous state of the data (i.e., any edit that does not use "clear").
If the data is not cleared, then the existing data will largely be preserved. Statements with empty ids will be added without checking if they exist already; statements with (valid) ids will replace any existing statements with these ids or just be added if there are none. Labels, descriptions, and aliases will be preserved for all languages for which no data is given at all. For aliases this means that writing one alias in a language will overwrite all aliases in this language, so some care is needed.
- EMPTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Empty update that does not alter or remove any aliases.
- EMPTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
-
Empty update that does not alter or add any statements.
- EMPTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TermUpdate
-
Empty update that does not alter or remove any terms.
- EntityDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for datasets that describe an entity.
- EntityDocumentBuilder<T extends EntityDocumentBuilder<T,
O>, O extends TermedStatementDocument> - Class in org.wikidata.wdtk.datamodel.helpers -
Abstract base class for builders that construct
EntityDocument
objects. - EntityDocumentBuilder(O) - Constructor for class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Starts constructing an EntityDocument from an initial version of this document.
- EntityDocumentBuilder(EntityIdValue) - Constructor for class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
- EntityDocumentDumpProcessor - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for classes that process a list of
EntityDocument
objects. - EntityDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Abstract Jackson implementation of
EntityDocument
. - EntityDocumentProcessor - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for classes that are able to process
EntityDocument
objects in some way. - EntityDocumentProcessorBroker - Class in org.wikidata.wdtk.datamodel.interfaces
-
Simple broker implementation of
EntityDocumentProcessor
which distributes entity documents to multiple registered listeners. - EntityDocumentProcessorBroker() - Constructor for class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorBroker
- EntityDocumentProcessorFilter - Class in org.wikidata.wdtk.datamodel.interfaces
-
Implementation of
EntityDocumentProcessor
that acts as a filter, removing some of the data fromEntityDocument
objects before passing them on to another processor. - EntityDocumentProcessorFilter(EntityDocumentProcessor, DocumentDataFilter) - Constructor for class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorFilter
-
Constructor.
- entityId - Variable in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
-
The id of the entity that the document refers to.
- EntityIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
An entity is a Value that is represented by a page in Wikibase.
- EntityIdValueConverter - Class in org.wikidata.wdtk.rdf.values
- EntityIdValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.EntityIdValueConverter
- EntityIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Abstract base implementation of
EntityIdValue
for Jackson. - EntityIdValueImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
Constructor.
- EntityIdValueImpl(EntityIdValueImpl.JacksonInnerEntityId, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
Constructor used for deserialization with Jackson.
- EntityRedirectDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for entity redirect.
- EntityRedirectDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Implementation of
EntityRedirectDocument
- EntityTimerProcessor - Class in org.wikidata.wdtk.dumpfiles
-
Simple
EntityDocumentProcessor
for basic counting and time keeping. - EntityTimerProcessor(int) - Constructor for class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
-
Constructor.
- EntityTimerProcessor.TimeoutException - Exception in org.wikidata.wdtk.dumpfiles
- EntityUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity via Wikibase API.
- EntityUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
EntityUpdate
objects. - EntityUpdateBuilder(EntityDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Initializes new builder object for constructing update of given base entity revision.
- EntityUpdateBuilder(EntityIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Initializes new builder object for constructing update of entity with given ID.
- EntityUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
EntityUpdate
. - EntityUpdateImpl(EntityIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.EntityUpdateImpl
-
Initializes new entity update.
- Equality - Class in org.wikidata.wdtk.datamodel.helpers
-
Static class for checking the equality of arbitrary data objects using only their interfaces.
- Equality() - Constructor for class org.wikidata.wdtk.datamodel.helpers.Equality
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
-
We do not use the Equality helper as in other datamodel classes because this would require exposing the contents of the value publicly, which goes against the desired opacity of the representation.
- equals(Object) - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- equals(Object) - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
-
Returns
true
if and only if the specified object is also a BitVector and both contain the same bits in the same order. - equals(Object) - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- equals(Object) - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
- equals(Object) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- equals(Object) - Method in class org.wikidata.wdtk.util.Timer
- equals(Object) - Method in class org.wikidata.wdtk.wikibaseapi.EditingResult
- equalsAliasUpdate(AliasUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoAliasUpdate
objects contain exactly the same data. - equalsClaim(Claim, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoClaim
objects with exactly the same data. - equalsDatatypeIdValue(DatatypeIdValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoDatatypeIdValue
objects with exactly the same data. - equalsEntityIdValue(EntityIdValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoEntityIdValue
objects with exactly the same data. - equalsEntityRedirectDocument(EntityRedirectDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoEntityRedirectDocument
objects with exactly the same data. - equalsFormDocument(FormDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoFormDocument
objects with exactly the same data. - equalsFormUpdate(FormUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoFormUpdate
objects contain exactly the same data. - equalsGlobeCoordinatesValue(GlobeCoordinatesValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoGlobeCoordinatesValue
objects with exactly the same data. - equalsItemDocument(ItemDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoItemDocument
objects with exactly the same data. - equalsItemUpdate(ItemUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoItemUpdate
objects contain exactly the same data. - equalsLexemeDocument(LexemeDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoLexemeDocument
objects with exactly the same data. - equalsLexemeUpdate(LexemeUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoLexemeUpdate
objects contain exactly the same data. - equalsMediaInfoDocument(MediaInfoDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoMediaInfoDocument
objects with exactly the same data. - equalsMediaInfoUpdate(MediaInfoUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoMediaInfoUpdate
objects contain exactly the same data. - equalsMonolingualTextValue(MonolingualTextValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoMonolingualTextValue
objects with exactly the same data. - equalsNoValueSnak(NoValueSnak, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoNoValueSnak
objects with exactly the same data. - equalsPropertyDocument(PropertyDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoPropertyDocument
objects with exactly the same data. - equalsPropertyUpdate(PropertyUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoPropertyUpdate
objects contain exactly the same data. - equalsQuantityValue(QuantityValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoQuantityValue
objects with exactly the same data. - equalsReference(Reference, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoReference
objects with exactly the same data. - equalsSenseDocument(SenseDocument, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoSenseDocument
objects with exactly the same data. - equalsSenseUpdate(SenseUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoSenseUpdate
objects contain exactly the same data. - equalsSiteLink(SiteLink, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoSiteLink
objects with exactly the same data. - equalsSnakGroup(SnakGroup, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoSnakGroup
objects with exactly the same data. - equalsSomeValueSnak(SomeValueSnak, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoSomeValueSnak
objects with exactly the same data. - equalsStatement(Statement, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoStatement
objects with exactly the same data. - equalsStatementGroup(StatementGroup, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoStatementGroup
objects with exactly the same data. - equalsStatementUpdate(StatementUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoStatementUpdate
objects contain exactly the same data. - equalsStringValue(StringValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoStringValue
objects with exactly the same data. - equalsTermUpdate(TermUpdate, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the twoTermUpdate
objects contain exactly the same data. - equalsTimeValue(TimeValue, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoTimeValue
objects with exactly the same data. - equalsValueSnak(ValueSnak, Object) - Static method in class org.wikidata.wdtk.datamodel.helpers.Equality
-
Returns
true
if the parameters are twoValueSnak
objects with exactly the same data. - equivalentClaims(Claim, Claim) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Checks if two claims are equivalent in the sense that they have the same main snak and the same qualifiers, but possibly in a different order.
- ERROR_ASSERT_USER_FAILED - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_EDIT_CONFLICT - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_INVALID_TOKEN - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_MAXLAG - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_NO_SUCH_ENTITY - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_NO_TOKEN - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ERROR_TAGS_APPLY_NOT_ALLOWED - Static variable in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- ET_FORM - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is a form.
- ET_ITEM - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is an item.
- ET_LEXEME - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is a lexeme.
- ET_MEDIA_INFO - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is a media info.
- ET_PROPERTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is a property.
- ET_SENSE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an entity that is a sense.
- ET_UNSUPPORTED - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
IRI of the type of an unsupported entity, when no type could be detected from the JSONÂ representation.
- EXAMPLE_OUTPUT_DIRECTORY - Static variable in class org.wikidata.wdtk.examples.ExampleHelpers
-
The directory where to place files created by the example applications.
- ExampleHelpers - Class in org.wikidata.wdtk.examples
-
Class for sharing code that is used in many examples.
- ExampleHelpers() - Constructor for class org.wikidata.wdtk.examples.ExampleHelpers
- ExampleHelpers.DumpProcessingMode - Enum in org.wikidata.wdtk.examples
-
Enum to say which dumps should be downloaded and processed.
- excludeAllLanguages() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if terms in all languages are excluded.
- excludeAllProperties() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if statements for all properties are excluded.
- excludeAllSiteLinks() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if site links for all sites are excluded.
F
- FAILED - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the password was wrong.
- fetchIsDone() - Method in class org.wikidata.wdtk.dumpfiles.wmf.JsonOnlineDumpFile
- fetchIsDone() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Finds out if the dump is ready.
- fetchIsDone() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
- fetchIsDone() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfOnlineStandardDumpFile
- FetchOnlineDataExample - Class in org.wikidata.wdtk.examples
- FetchOnlineDataExample() - Constructor for class org.wikidata.wdtk.examples.FetchOnlineDataExample
- fetchPropertyInformation(PropertyIdValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Fetches the information of the given property from the Web API.
- fetchUsingSPARQL(URI) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Fetches type information for all known properties from the given SPARQL endpoint, and adds it to the register.
- files - Static variable in class org.wikidata.wdtk.testing.MockDirectoryManager
-
The mocked file system.
- filter(FormDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- filter(ItemDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- filter(LexemeDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- filter(MediaInfoDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- filter(PropertyDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- filter(SenseDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelFilter
- findAllDumps(DumpContentType) - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFileManager
-
Returns a list of all dump files of the given type available either online or locally.
- findAllRelevantRevisionDumps(boolean) - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFileManager
-
Finds all page revision dump files, online or locally, that are relevant to obtain the most current state of the data.
- findDescription(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Returns the string description for the given language code, or null if there is no description for this code.
- findLabel(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocument
-
Returns the string label for the given language code, or null if there is no label for this code.
- findMostRecentDump(DumpContentType) - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFileManager
-
Finds the most recent dump of the given type that is actually available.
- findPosition(boolean, long) - Method in interface org.wikidata.wdtk.storage.datastructures.RankedBitVector
-
This is the "select" method of bit vectors.
- findPosition(boolean, long) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- findSomeStringProperties(ApiConnection) - Static method in class org.wikidata.wdtk.examples.EditOnlineDataExample
-
Finds properties of datatype string on test.wikidata.org.
- findStatement(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
Statement
for the given property, or null if there are zero or many statements for this property. - findStatement(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
Statement
for the given property, or null if there are zero or many statements for this property. - findStatementEntityIdValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
EntityIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementEntityIdValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
EntityIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementGlobeCoordinatesValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
GlobeCoordinatesValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementGlobeCoordinatesValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
GlobeCoordinatesValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementGroup(String) - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Find a statement group by its property id, without checking for equality with the site IRI.
- findStatementGroup(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the
StatementGroup
for the given property, or null if there are no statements for this property. - findStatementGroup(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the
StatementGroup
for the given property, or null if there are no statements for this property. - findStatementGroup(PropertyIdValue, StatementDocument) - Static method in class org.wikidata.wdtk.examples.EditOnlineDataExample
-
Finds the
StatementGroup
for the given property in a document. - findStatementItemIdValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
ItemIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementItemIdValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
ItemIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementMonolingualTextValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
MonolingualTextValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementMonolingualTextValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
MonolingualTextValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementPropertyIdValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
PropertyIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementPropertyIdValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
PropertyIdValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementQuantityValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
QuantityValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementQuantityValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
QuantityValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementStringValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
StringValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementStringValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
StringValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementTimeValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
TimeValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementTimeValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
TimeValue
for the given property, or null if there are zero or many such values given in statements for this property. - findStatementValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
Value
for the given property, or null if there are zero or many values given in statements for this property. - findStatementValue(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns the unique
Value
for the given property, or null if there are zero or many values given in statements for this property. - finish() - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Finishes processing and makes sure that the log file is written.
- finish() - Method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Finishes processing and makes sure that the log file is written.
- finish() - Method in class org.wikidata.wdtk.rdf.RdfWriter
- finishDocument() - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
-
Writes all buffered triples and finishes writing a document.
- finishRevisionProcessing() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevisionProcessor
-
Performs final actions that should be done after all revisions in a batch of revisions have been processed.
- finishRevisionProcessing() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionProcessorBroker
-
Finalises the processing of one dump file (and hence of the current block of pages).
- finishRevisionProcessing() - Method in class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
- finishRevisionProcessing() - Method in class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
- fixIntegerPrecisions(ItemIdValue, String) - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Fetches the current online data for the given item, and fixes the precision of integer quantities if necessary.
- FixIntegerQuantityPrecisionsBot - Class in org.wikidata.wdtk.examples.bots
-
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.
- FixIntegerQuantityPrecisionsBot() - Constructor for class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Constructor.
- fixLanguageCodeIfDeprecated(String) - Static method in class org.wikidata.wdtk.datamodel.interfaces.WikimediaLanguageCodes
-
Translate a Wikimedia language code to its preferred value if this code is deprecated, or return it untouched if the string is not a known deprecated Wikimedia language code
- forAliases(List<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Creates new builder object for constructing update of given base revision aliases.
- forBaseRevision(EntityDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Creates new builder object for constructing update of given base entity revision.
- forBaseRevision(FormDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Creates new builder object for constructing update of given base form entity revision.
- forBaseRevision(ItemDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Creates new builder object for constructing update of given base item entity revision.
- forBaseRevision(LabeledStatementDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Creates new builder object for constructing update of given base entity revision.
- forBaseRevision(LexemeDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Creates new builder object for constructing update of given base lexeme entity revision.
- forBaseRevision(MediaInfoDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
-
Creates new builder object for constructing update of given base media entity revision.
- forBaseRevision(PropertyDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
-
Creates new builder object for constructing update of given base property entity revision.
- forBaseRevision(SenseDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
-
Creates new builder object for constructing update of given base sense entity revision.
- forBaseRevision(StatementDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Creates new builder object for constructing update of given base entity revision.
- forBaseRevision(TermedStatementDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Creates new builder object for constructing update of given base entity revision.
- forBaseRevisionId(EntityIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Creates new builder object for constructing update of entity with given revision ID.
- forBaseRevisionId(EntityIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given revision ID.
- forBaseRevisionId(EntityIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given revision ID.
- forBaseRevisionId(EntityIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given revision ID.
- forBaseRevisionId(FormIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Creates new builder object for constructing update of form entity with given revision ID.
- forBaseRevisionId(ItemIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Creates new builder object for constructing update of item entity with given revision ID.
- forBaseRevisionId(LexemeIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Creates new builder object for constructing update of lexeme entity with given revision ID.
- forBaseRevisionId(MediaInfoIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
-
Creates new builder object for constructing update of media entity with given revision ID.
- forBaseRevisionId(PropertyIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
-
Creates new builder object for constructing update of property entity with given revision ID.
- forBaseRevisionId(SenseIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
-
Creates new builder object for constructing update of sense entity with given revision ID.
- forEntityId(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.EntityUpdateBuilder
-
Creates new builder object for constructing update of entity with given ID.
- forEntityId(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given ID.
- forEntityId(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given ID.
- forEntityId(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Creates new builder object for constructing update of entity with given ID.
- forEntityId(FormIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Creates new builder object for constructing update of form entity with given ID.
- forEntityId(ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Creates new builder object for constructing update of item entity with given ID.
- forEntityId(LexemeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Creates new builder object for constructing update of lexeme entity with given ID.
- forEntityId(MediaInfoIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
-
Creates new builder object for constructing update of media entity with given ID.
- forEntityId(PropertyIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
-
Creates new builder object for constructing update of property entity with given ID.
- forEntityId(SenseIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
-
Creates new builder object for constructing update of sense entity with given ID.
- forItemId(ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Starts the construction of an
ItemDocument
with the given id. - formatBigDecimal(BigDecimal) - Static method in class org.wikidata.wdtk.datamodel.helpers.DataFormatter
-
Returns a signed string representation of the given number.
- formatTimeISO8601(TimeValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.DataFormatter
-
Returns a representation of the date from the value attributes as ISO 8601 encoding.
- FormDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for lexemes forms.
- FormDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
FormDocument
. - FormIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase Lexeme Form.
- FormIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
FormIdValue
. - FormUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to form entity.
- FormUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
FormUpdate
objects. - FormUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
FormUpdate
. - FormUpdateImpl(FormIdValue, long, TermUpdate, Collection<ItemIdValue>, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
-
Initializes new form update.
- forPropertyIdAndDatatype(PropertyIdValue, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
- forPropertyIdAndDatatype(PropertyIdValue, DatatypeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Starts the construction of an
PropertyDocument
with the given id. - forPropertyIdAndJsonDatatype(PropertyIdValue, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Starts the construction of an
PropertyDocument
with the given id. - forStatementGroups(Collection<StatementGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing update of given base revision statement groups.
- forStatementGroups(EntityIdValue, Collection<StatementGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing update of given base revision statement groups with given subject.
- forStatements(Collection<Statement>) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing update of given base revision statements.
- forStatements(EntityIdValue, Collection<Statement>) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Creates new builder object for constructing update of given base revision statements with given subject.
- forSubjectAndProperty(EntityIdValue, PropertyIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Starts the construction of a
Statement
with the given subject. - forTerms(Collection<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Creates new builder object for constructing update of given base revision terms.
- freshStatementId(String) - Method in interface org.wikidata.wdtk.wikibaseapi.GuidGenerator
-
Generates a fresh statement id.
- freshStatementId(String) - Method in class org.wikidata.wdtk.wikibaseapi.RandomGuidGenerator
-
Generates a fresh statement id.
- fromId(String, String) - Static method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
Parses an item id
- fromItemDocument(ItemDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Starts the construction of an
ItemDocument
from an existing value. - fromPropertyDocument(PropertyDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Starts the construction of an
PropertyDocument
from the existing document. - FULL - Enum constant in enum org.wikidata.wdtk.dumpfiles.DumpContentType
G
- genderCounts - Variable in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
- GenderRatioProcessor - Class in org.wikidata.wdtk.examples
-
This document processor calculates the gender ratios of people featured on Wikimedia projects.
- GenderRatioProcessor() - Constructor for class org.wikidata.wdtk.examples.GenderRatioProcessor
-
Constructor.
- GenderRatioProcessor.SiteRecord - Class in org.wikidata.wdtk.examples
-
Class to store basic information for each site in a simple format.
- GenderRatioProcessor.SiteRecordComparator - Class in org.wikidata.wdtk.examples
-
Class to order site records human page count.
- get(int) - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- get(int) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- getAccessSecret() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getAccessToken() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getAdded() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- getAdded() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- getAdded() - Method in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Returns aliases added in this update.
- getAdded() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
-
Returns statements added to the entity in this update.
- getAddedAliases(String) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Retrieves the list of aliases that will be added in a given language, after all the optimizations have been done (replacing empty labels by new aliases in the same language, for instance).
- getAddedForms() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getAddedForms() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns new forms added to the lexeme in this update.
- getAddedSenses() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getAddedSenses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns new senses added to the lexeme in this update.
- getAfterTolerance() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getAfterTolerance() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get a tolerance value that specifies how much later in time the value could at most be, measured as a multiple of
precision
. - getAliases() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedDocumentUpdateImpl
- getAliases() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getAliases() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Return a Map from Wikibase language codes to lists of alias labels for a given language.
- getAliases() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocumentUpdate
-
Returns changes in entity aliases.
- getAliases() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
A list of alias labels (returned only when an alias matched the query).
- getAliasUpdate(List<MonolingualTextValue>, List<MonolingualTextValue>, Collection<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getAliasUpdate(List<MonolingualTextValue>, List<MonolingualTextValue>, Collection<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
AliasUpdate
. - getAliasUpdates() - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Alias accessor provided for JSON serialization only
- getAllQualifiers() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- getAllQualifiers() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getAllQualifiers() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Claim
-
Returns an iterator over all qualifiers, without considering qualifier groups.
- getAllQualifiers() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Returns an iterator over all qualifiers, without considering qualifier groups.
- getAllSnaks() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- getAllSnaks() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Reference
-
Returns an interator over all snaks, without considering snak groups.
- getAllStatements() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getAllStatements() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns an iterator that provides access to all statements, without considering the statement groups.
- getApiBaseUrl() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Getter for the apiBaseUrl.
- getAverageTimePerEdit() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Returns the average time in milliseconds that one edit will take.
- getAverageTimePerEdit() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Returns the average time that a single edit should take, measured in milliseconds.
- getAvgCpuTime() - Method in class org.wikidata.wdtk.util.Timer
-
Return the average CPU time across all measurements.
- getAvgWallTime() - Method in class org.wikidata.wdtk.util.Timer
-
Return the average wall clock time across all measurements.
- getBadges() - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- getBadges() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SiteLink
-
Get the list of badges of the linked article.
- getBaseRevisionId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityUpdateImpl
- getBaseRevisionId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityUpdate
-
Returns entity revision, upon which this update is built.
- getBeforeTolerance() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getBeforeTolerance() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get a tolerance value that specifies how much earlier in time the value could at most be, measured as a multiple of
precision
. - getBestRankedStatements() - Method in class org.wikidata.wdtk.rdf.RankBuffer
-
Returns the statements with the highest rank.
- getBestStatements() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- getBestStatements() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementGroup
-
Get the best statements of this group.
- getBit(long) - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
-
This is the "access" method of bit vectors.
- getBit(long) - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- getBit(long) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- getBytesFromString(String, CompressionType) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Turns a string into a sequence of bytes, possibly compressed.
- getCalendarString(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of a reference to a calendar model that is used for a time value.
- getClaim() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getClaim() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Get the Claim object that this statement refers to.
- getClaim(EntityIdValue, Snak, List<SnakGroup>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getClaim(EntityIdValue, Snak, List<SnakGroup>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
Claim
. - getClientBuilder() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Subclasses can customize their own
OkHttpClient.Builder
instances. - getClientBuilder() - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
- getClientBuilder() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getClientLoginText() - Method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
- getComment() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the comment string that was used for making the edit that led to this revision.
- getComment() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getCompressorInputStream(InputStream, CompressionType) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
Returns an input stream that applies the required decompression to the given input stream.
- getConceptUri() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the full concept URI (the site IRI with entity ID).
- getConnectTimeout() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Maximum time to wait for when establishing a connection, in milliseconds.
- getConsumerKey() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getConsumerSecret() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getContents() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
- getContributor() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the name for the contributor that made the edit that led to this revision.
- getContributor() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getContributorId() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the user id of the contributor who made the edit that led to this revision, or -1 if the edit was not made by a registered user.
- getContributorId() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getCookies() - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Returns the map of cookies currently used in this connection.
- getCurrentLag() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Retrieves the current lag from the target site, by making an API call.
- getCurrentRevisionCount() - Method in class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
-
Returns the number of revisions processed in the current run.
- getCurrentUser() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Returns the username of the user who is currently logged in.
- getCurrentUser() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
- getDatamodelObjectFromResponse(JsonNode, List<String>, Class<T>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Extracts a particular data model instance from a JSON response returned by MediaWiki.
- getDatatype() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- getDatatype() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
-
Returns the JSON datatype string.
- getDatatype() - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
-
Get the datatype id of the datatype defined for this property.
- getDatatypeIdValue(String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getDatatypeIdValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Deprecated.
- getDatatypeIdValueFromJsonId(String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getDatatypeIdValueFromJsonId(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
DatatypeIdValue
. - getDatatypeIri(DatatypeIdValue) - Static method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- getDatatypeIriFromJsonDatatype(String) - Static method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Returns the WDTK datatype IRI for the property datatype as represented by the given JSON datatype string.
- getDatavalue() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- getDateStamp() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Returns the date stamp for this dump.
- getDateStamp() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- getDateStamp() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- getDateStampFromDumpFileDirectoryName(DumpContentType, String) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Extracts the date stamp from a dumpfile directory name in the form that is created by
WmfDumpFile.getDumpFileDirectoryName(DumpContentType, String)
. - getDay() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getDay() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the day stored for this date.
- getDescription() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the description of the entity The language of the returned description depends on the HTTP Accept-Language header or the uselang URL parameter.
- getDescriptions() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedDocumentUpdateImpl
- getDescriptions() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getDescriptions() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Return a Map from Wikibase language codes to descriptions.
- getDescriptions() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocumentUpdate
-
Returns changes in entity descriptions.
- getDescriptionUpdates() - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Description accessor provided for JSON serialization only.
- getDumpContentType() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Returns information about the content of the dump.
- getDumpContentType() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- getDumpContentType() - Method in class org.wikidata.wdtk.dumpfiles.wmf.JsonOnlineDumpFile
- getDumpContentType() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
- getDumpContentType() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfOnlineStandardDumpFile
- getDumpFileCompressionType(String) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns the compression type of this kind of dump file using file suffixes
- getDumpfileDirectory() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
-
Returns the directory where this dump file data should be.
- getDumpFileDirectoryName(DumpContentType, String) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns the name of the directory where the dumpfile of the given type and date should be stored.
- getDumpFileName(DumpContentType, String, String) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns the name under which this dump file.
- getDumpFilePostfix(DumpContentType) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns the ending used by the Wikimedia-provided dumpfile names of the given type.
- getDumpFileReader() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Returns a buffered reader that provides access to the (uncompressed) text content of the dump file.
- getDumpFileReader() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- getDumpFileReader() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- getDumpFileStream() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Returns an input stream that provides access to the (uncompressed) text content of the dump file.
- getDumpFileStream() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- getDumpFileStream() - Method in class org.wikidata.wdtk.dumpfiles.wmf.JsonOnlineDumpFile
- getDumpFileStream() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
- getDumpFileStream() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfOnlineStandardDumpFile
- getDumpFileWebDirectory(DumpContentType, String) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns the absolute directory on the Web site where dumpfiles of the given type can be found.
- getEntityDocument(String) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the documents for the entity of the given string IDs.
- getEntityDocumentByTitle(String, String) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the document for the entity that has a page of the given title on the given site.
- getEntityDocumentCount() - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Returns the number of entity documents serialized so far.
- getEntityDocumentFromResponse(JsonNode) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
TODO: TOÂ BE REFACTORED
- getEntityDocuments(String...) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the documents for the entities of the given string IDs.
- getEntityDocuments(List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the documents for the entities of the given string IDs.
- getEntityDocumentsByTitle(String, String...) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the documents for the entities that have pages of the given titles on the given site.
- getEntityDocumentsByTitle(String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the documents for the entities that have pages of the given titles on the given site.
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyUpdateImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- getEntityId() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocument
-
Returns the ID of the entity that the data refers to
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityUpdate
-
Returns ID of the entity that is being updated.
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Returns the ID of the entity that the data refers to
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
-
Return the ID of the item that the data refers to.
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Returns the ID of the entity that the data refers to
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
-
Returns the ID of the entity that the data refers to
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
-
Return the ID of the item that the data refers to.
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Returns the ID of the entity that the data refers to
- getEntityId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseUpdate
- getEntityId() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the id of the entity that the document refers to.
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- getEntityType() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getEntityType() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
Returns the type of this entity.
- getEntityTypeJsonString() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getEntityTypeJsonString() - Method in interface org.wikidata.wdtk.datamodel.interfaces.UnsupportedEntityIdValue
-
The type of entity as represented in the JSON serialization.
- getErrorCode() - Method in exception org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
-
Returns the MediaWiki code of the error that has causes this exception.
- getErrorMessage() - Method in exception org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
-
Returns the MediaWiki message string for the error that has causes this exception.
- getFailingInputStream() - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Returns an input stream that will throw IOExceptions on common reading operations.
- getFileUrl(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getFileUrl(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the URL for the file of the given name, or null if the site is not known.
- getFilter() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Returns the
DocumentDataFilter
object that is used to filter API requests. - getForm(FormIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getForm(FormIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the inner form having the given id
- getFormat() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the format of the revision text.
- getFormat() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getFormDocument(FormIdValue, List<MonolingualTextValue>, List<ItemIdValue>, List<StatementGroup>, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getFormDocument(FormIdValue, List<MonolingualTextValue>, List<ItemIdValue>, List<StatementGroup>, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates an
FormDocument
. - getFormIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getFormIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
FormIdValue
. - getForms() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getForms() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the lexeme forms
- getFormUpdate(FormIdValue, long, TermUpdate, Collection<ItemIdValue>, StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getFormUpdate(FormIdValue, long, TermUpdate, Collection<ItemIdValue>, StatementUpdate) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
FormUpdate
. - getFreshBNode() - Method in class org.wikidata.wdtk.rdf.RdfWriter
- getGlobe() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- getGlobe() - Method in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Get the IRI of the globe that these coordinates refer to.
- getGlobeCoordinatesValue(double, double, double, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getGlobeCoordinatesValue(double, double, double, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
GlobeCoordinatesValue
. - getGlobeCoordinatesValueUri(GlobeCoordinatesValue) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
- getGlobeItemId() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- getGlobeItemId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Get the
ItemIdValue
of the globe that these coordinates refer to. - getGlobeString(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of a reference to a globe on which coordinates may be present.
- getGlosses() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- getGlosses() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
- getGlosses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Return the human readable description of the sense indexed by Wikimedia language code
- getGlosses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseUpdate
-
Returns changes in sense glosses.
- getGrammaticalFeatures() - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- getGrammaticalFeatures() - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- getGrammaticalFeatures() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Return the IDs of the grammatical features of the form (masculine, singular...)
- getGrammaticalFeatures() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormUpdate
-
Returns new grammatical features of the form assigned in this update.
- getGroup(String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getGroup(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the group for the given site, or null if there is no such data for this site key.
- getHash() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- getHash() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Reference
-
Wikibase calculates a hash for each reference based on the content of the reference.
- getHour() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getHour() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the hour stored for this date.
- getId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
- getId() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- getId() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- getId() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
Returns the id of this entity.
- getInnerValue() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getInputStreamForFile(String, CompressionType) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- getInputStreamForFile(String, CompressionType) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns an input stream to access file of the given name within the current directory, possibly uncompressing it if required.
- getInputStreamForFile(String, CompressionType) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- getInputStreamForUrl(String) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
- getInputStreamForUrl(String) - Method in interface org.wikidata.wdtk.util.WebResourceFetcher
-
Returns an InputStream for the document at the given URL.
- getInputStreamForUrl(String) - Method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
- getIri() - Method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
- getIri() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
- getIri() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- getIri() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- getIri() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getIri() - Method in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
Deprecated.use org.wikidata.wdtk.rdf.AbstractRdfConverter.getDatatypeIri() from the wdtk-rdf module
- getIri() - Method in interface org.wikidata.wdtk.datamodel.interfaces.IriIdentifiedValue
-
Get the IRI of this entity.
- getItemDocument(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, Map<String, SiteLink>, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getItemDocument(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, Map<String, SiteLink>, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates an
ItemDocument
. - getItemIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getItemIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates an
ItemIdValue
. - getItemUpdate(ItemIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate, Collection<SiteLink>, Collection<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getItemUpdate(ItemIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate, Collection<SiteLink>, Collection<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
ItemUpdate
. - getJsonClaims() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Returns the "claims".
- getJsonDatatype() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
-
Returns the JSON string version of the property's datatype.
- getJsonDatatypeFromDatatypeIri(String) - Static method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Deprecated.this method is unreliable and will be removed in a future release.
- getJsonId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
-
Returns the string id of the entity that this document refers to.
- getJsonPropertyTypeForValueType(Value) - Static method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
-
Infer the JSON datatype (represented as a string) from the data value.
- getJsonString() - Method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
Returns the string used to represent this datatype in JSON.
- getJsonString() - Method in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
The string identifying this datatype in the JSON serialization of a property.
- getJsonString(EntityDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonString(EntityUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonString(ItemDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonString(MediaInfoDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonString(PropertyDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonString(Statement) - Static method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Serializes the given object in JSON and returns the resulting string.
- getJsonUpdateString() - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Returns a JSON serialization of the marked insertions and deletions of statements, in the format required by the Wikibase "wbeditentity" action.
- getKnownVocabularyTypes() - Static method in class org.wikidata.wdtk.rdf.Vocabulary
-
Returns a map that defines OWL types for all known vocabulary elements.
- getLabel() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the label of the entity.
- getLabels() - Method in class org.wikidata.wdtk.datamodel.implementation.LabeledDocumentUpdateImpl
- getLabels() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getLabels() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocument
-
Return a Map from Wikibase language codes to labels.
- getLabels() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocumentUpdate
-
Returns changes in entity labels.
- getLabelUpdates() - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Label accessor provided for JSON serialization only.
- getLag() - Method in exception org.wikidata.wdtk.wikibaseapi.apierrors.MaxlagErrorException
-
Retrieves the amount of lag announced by the server when this error was emitted.
- getLanguage() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getLanguage() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getLanguage() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the ID of the language to which the lexeme belongs (French, British English...)
- getLanguage() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns new lexeme language assigned in this update.
- getLanguage() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult.Match
-
Returns the language of the matching term field.
- getLanguageCode() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- getLanguageCode() - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- getLanguageCode() - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- getLanguageCode() - Method in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Returns language code of aliases in this update.
- getLanguageCode() - Method in interface org.wikidata.wdtk.datamodel.interfaces.MonolingualTextValue
-
Get the language code of this value.
- getLanguageCode(String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getLanguageCode(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the MediaWiki language code for the given site, or null if there is no such data for this site key.
- getLanguageCode(String) - Static method in class org.wikidata.wdtk.datamodel.interfaces.WikimediaLanguageCodes
-
Get a BCP 47 language code for the given Wikimedia language code.
- getLanguageFilter() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns the (possibly empty) set of language codes that are used to filter data, or null if no such filter is configured (default).
- getLastDumpFileName() - Static method in class org.wikidata.wdtk.examples.ExampleHelpers
-
Returns the name of the dump file that was last processed.
- getLastRevisionId() - Method in class org.wikidata.wdtk.wikibaseapi.EditingResult
-
The identifier of the revision of the last edit made by the editing action, if any edit was made.
- getLatitude() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- getLatitude() - Method in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Get the latitude of this value in degrees.
- getLemmas() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getLemmas() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getLemmas() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the human readable representations of the lexeme indexed by Wikimedia language code
- getLemmas() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns changes in lemmas.
- getLexemeDocument(LexemeIdValue, ItemIdValue, ItemIdValue, List<MonolingualTextValue>, List<StatementGroup>, List<FormDocument>, List<SenseDocument>, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getLexemeDocument(LexemeIdValue, ItemIdValue, ItemIdValue, List<MonolingualTextValue>, List<StatementGroup>, List<FormDocument>, List<SenseDocument>, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates an
LexemeDocument
. - getLexemeId() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- getLexemeId() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- getLexemeId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormIdValue
-
Returns the id of the lexeme of which it is a form.
- getLexemeId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseIdValue
-
Returns the id of the lexeme of which it is a form.
- getLexemeIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getLexemeIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
LexemeIdValue
. - getLexemeUpdate(LexemeIdValue, long, ItemIdValue, ItemIdValue, TermUpdate, StatementUpdate, Collection<SenseDocument>, Collection<SenseUpdate>, Collection<SenseIdValue>, Collection<FormDocument>, Collection<FormUpdate>, Collection<FormIdValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getLexemeUpdate(LexemeIdValue, long, ItemIdValue, ItemIdValue, TermUpdate, StatementUpdate, Collection<SenseDocument>, Collection<SenseUpdate>, Collection<SenseIdValue>, Collection<FormDocument>, Collection<FormUpdate>, Collection<FormIdValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
LexemeUpdate
. - getLexicalCategory() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getLexicalCategory() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getLexicalCategory() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the ID of the lexical category to which the lexeme belongs (noun, verb...)
- getLexicalCategory() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns new lexical category assigned to the lexeme in this update.
- getLiteral(String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- getLiteral(String, String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- getLiteral(String, IRI) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- getLoginText() - Method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
- getLongitude() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- getLongitude() - Method in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Get the longitude of this value in degrees.
- getLowerBound() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- getLowerBound() - Method in interface org.wikidata.wdtk.datamodel.interfaces.QuantityValue
-
Returns the upper bound for the numeric value of this quantity.
- getMainSnak() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Returns the main
Snak
object for the constructed statement. - getMainSnak() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- getMainSnak() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getMainSnak() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Claim
-
Main Snak of the statement.
- getMainSnak() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Main Snak of the statement.
- getMatch() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns detailed information about how a document matched the query.
- getMaxLag() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Returns the current value of the maxlag parameter.
- getMaxLag() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Returns the current value of the maxlag parameter.
- getMaxLagBackOffFactor() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Factor by which the wait time between two maxlag retries should be multiplied at each attempt.
- getMaxLagBackOffFactor() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Factor by which the wait time between two maxlag retries should be multiplied at each attempt.
- getMaxLagFirstWaitTime() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Initial wait time in milliseconds, when an edit fails for the first time because of a high lag.
- getMaxLagFirstWaitTime() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Initial wait time in milliseconds, when an edit fails for the first time because of a high lag.
- getMaxLagMaxRetries() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Number of times we should retry if an editing action fails because the lag is too high.
- getMaxLagMaxRetries() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Number of times we should retry if an editing action fails because the lag is too high.
- getMediaInfoDocument(MediaInfoIdValue, List<MonolingualTextValue>, List<StatementGroup>, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getMediaInfoDocument(MediaInfoIdValue, List<MonolingualTextValue>, List<StatementGroup>, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
MediaInfoDocument
. - getMediaInfoIdByFileName(String) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the MediaInfoId of a file with the given name.
- getMediaInfoIds(List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.MediaInfoIdQueryAction
-
Fetches the MediaInfoIds of files with the given names.
- getMediaInfoIdsByFileName(String...) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the MediaInfoIds of files with the given names.
- getMediaInfoIdsByFileName(List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Fetches the MediaInfoIds of files with the given names.
- getMediaInfoIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getMediaInfoIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
MediaInfoIdValue
. - getMediaInfoUpdate(MediaInfoIdValue, long, TermUpdate, StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getMediaInfoUpdate(MediaInfoIdValue, long, TermUpdate, StatementUpdate) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
MediaInfoUpdate
. - getMessage(String) - Method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
- getMinute() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getMinute() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the minute stored for this date.
- getMockedFileContents(Path) - Static method in class org.wikidata.wdtk.testing.MockDirectoryManager
-
Returns the byte contents of the mocked file for the given path.
- getModel() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the content model of the revision.
- getModel() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getModified() - Method in class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
- getModified() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermUpdate
-
Returns terms added or modified in this update.
- getModifiedSiteLinks() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- getModifiedSiteLinks() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemUpdate
-
Returns site links added or modified in this update.
- getMonolingualTextValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getMonolingualTextValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
MonolingualTextValue
. - getMonolingualTextValueLiteral(MonolingualTextValue, RdfWriter) - Static method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- getMonolingualUpdatedValues(Map<String, TermStatementUpdate.NameWithUpdate>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Helper to format term updates as expected by the Wikibase API
- getMonth() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getMonth() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the month stored for this date.
- getMostRecentDump(DumpContentType) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Returns a handler for the most recent dump file of the given type that is available (under the current settings), or null if no dump file of this type could be retrieved.
- getName() - Method in class org.wikidata.wdtk.util.Timer
-
Get the string name of the timer.
- getNamedTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name that takes all possible times (todos) for the current thread.
- getNamedTimer(String, int) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name and todos for the current thread.
- getNamedTimer(String, int, long) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name for the given thread.
- getNamedTotalTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Collect the total times measured by all known named timers of the given name.
- getNamespace() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the id of the MediaWiki namespace of the revised page.
- getNamespace() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getNoValueSnak(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getNoValueSnak(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
NoValueSnak
. - getNumericValue() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- getNumericValue() - Method in interface org.wikidata.wdtk.datamodel.interfaces.QuantityValue
-
Returns the main numeric value of this quantity.
- getOutputStreamForFile(String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- getOutputStreamForFile(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Opens and returns an output stream that can be used to write to the file of the given name within the current directory.
- getOutputStreamForFile(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- getPageId() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the numeric page id of the revised page.
- getPageId() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getPageId() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the internal Mediawiki pageid of the entity.
- getPageTitle() - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- getPageTitle() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SiteLink
-
Get the string title of the linked page.
- getPageUrl(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getPageUrl(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the URL for the page of the given name, or null if the site is not known.
- getParentRevisionId() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the numeric id of the parent revision.
- getParentRevisionId() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getPath() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
-
Returns the absolute path to this dump file.
- getPrecision() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- getPrecision() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getPrecision() - Method in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Get the precision of the value in degrees.
- getPrecision() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the precision hint of this date.
- getPreferredCalendarModel() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getPreferredCalendarModel() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the IRI of the preferred calendar model that should be used to display this date (and that was presumably used when entering it).
- getPreferredCalendarModelItemId() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getPreferredCalendarModelItemId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the
ItemIdValue
of the preferred calendar model that should be used to display this date (and that was presumably used when entering it). - getPrefixedTitle() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the title string of the revised page, including namespace prefixes and subpages, if any.
- getPrefixedTitle() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getProjectName() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Returns the project name for this dump.
- getProjectName() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- getProjectName() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- getProperty() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- getProperty() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Returns the property id string.
- getProperty() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- getProperty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SnakGroup
-
Get the property used by each snak in this group.
- getProperty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementGroup
-
Get the property used in the main snak of the
Claim
of each statement in this group. - getPropertyDocument(PropertyIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, DatatypeIdValue, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getPropertyDocument(PropertyIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, DatatypeIdValue, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
PropertyDocument
. - getPropertyFilter() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns the (possibly empty) set of
PropertyIdValue
objects that are used to filter statements, or null if no such filter is configured (default). - getPropertyId() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
- getPropertyId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Snak
-
Get the id of the property that this snak refers to.
- getPropertyIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getPropertyIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
PropertyIdValue
. - getPropertyOrder() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
-
Returns the list of property ids used to order snaks as found in JSON.
- getPropertyType(PropertyIdValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive type of an
PropertyIdValue
. - getPropertyUpdate(PropertyIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getPropertyUpdate(PropertyIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
PropertyUpdate
. - getPropertyUri(PropertyIdValue, PropertyContext) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
-
Get the URI for the given property in the given context.
- getPropertyUriPattern(PropertyIdValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the URI Pattern of a
PropertyIdValue
that should be used to create URIs of external resources from statement values for the property. - getProxy() - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Returns the proxy that will be used for all requests made by Wikidata Toolkit.
- getQualifierGroups() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Returns a list of
SnakGroup
objects for the currently stored qualifiers. - getQualifierList(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Returns the list of
Snak
objects for a given qualifier property. - getQualifiers() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- getQualifiers() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getQualifiers() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Claim
-
Groups of auxiliary Snaks, also known as qualifiers, that provide additional context information for this claim.
- getQualifiers() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Groups of auxiliary Snaks, also known as qualifiers, that provide additional context information for this claim.
- getQuantityValue(BigDecimal) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getQuantityValue(BigDecimal) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
QuantityValue
without a unit of measurement and bounds. - getQuantityValue(BigDecimal, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getQuantityValue(BigDecimal, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Deprecated.
- getQuantityValue(BigDecimal, BigDecimal, BigDecimal) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getQuantityValue(BigDecimal, BigDecimal, BigDecimal) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
QuantityValue
without a unit of measurement. - getQuantityValue(BigDecimal, BigDecimal, BigDecimal, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
-
Deprecated.
- getQuantityValue(BigDecimal, BigDecimal, BigDecimal, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
- getQuantityValue(BigDecimal, BigDecimal, BigDecimal, ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getQuantityValue(BigDecimal, BigDecimal, BigDecimal, ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
QuantityValue
. - getQuantityValue(BigDecimal, ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getQuantityValue(BigDecimal, ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
QuantityValue
without bounds. - getQuantityValueUri(QuantityValue) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
- getRank() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getRank() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
- getRdfValue(EntityIdValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.EntityIdValueConverter
- getRdfValue(GlobeCoordinatesValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.GlobeCoordinatesValueConverter
- getRdfValue(MonolingualTextValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.MonolingualTextValueConverter
- getRdfValue(QuantityValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.QuantityValueConverter
- getRdfValue(StringValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.StringValueConverter
- getRdfValue(TimeValue, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.TimeValueConverter
- getRdfValue(Value, PropertyIdValue, boolean) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- getRdfValue(V, PropertyIdValue, boolean) - Method in interface org.wikidata.wdtk.rdf.values.ValueConverter
-
Returns an RDF value that should be used to represent the given Wikibase data value in RDF.
- getReadTimeout() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Maximum time to wait for a server response once the connection was established.
- getRecreated() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- getRecreated() - Method in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Returns the new list of aliases that completely replaces current aliases.
- getReference(List<SnakGroup>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getReference(List<SnakGroup>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
Reference
. - getReferences() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getReferences() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Get a list of references for this Statement.
- getReferenceUri(Reference) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
- getRemainingEdits() - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Returns the number of edits that will be performed before entering simulation mode, or -1 if there is no limit on the number of edits (default).
- getRemainingEdits() - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Returns the number of edits that will be performed before entering simulation mode, or -1 if there is no limit on the number of edits (default).
- getRemoved() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- getRemoved() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- getRemoved() - Method in class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
- getRemoved() - Method in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Returns aliases removed in this update.
- getRemoved() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
-
Returns IDs of statements removed from the entity in this update.
- getRemoved() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermUpdate
-
Returns language codes of terms removed in this update.
- getRemovedAliases(String) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Retrieves the list of aliases that will be removed in a given language, after all the optimizations have been done (replacing empty labels by new aliases in the same language, for instance).
- getRemovedForms() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getRemovedForms() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns IDs of forms removed from the lexeme in this update.
- getRemovedSenses() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getRemovedSenses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns IDs of senses removed from the lexeme in this update.
- getRemovedSiteLinks() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- getRemovedSiteLinks() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemUpdate
-
Returns site keys of site links removed in this update.
- getReplaced() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- getReplaced() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
-
Returns entity statements modified in this update.
- getRepresentations() - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- getRepresentations() - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- getRepresentations() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Return the human readable representations of the form indexed by Wikimedia language code
- getRepresentations() - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormUpdate
-
Returns changes in form representations.
- getRevisionId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
- getRevisionId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- getRevisionId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocument
-
Returns the revision ID of this document, or 0 if no id is known.
- getRevisionId() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the numeric id of the current revision.
- getRevisionId() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getRevisionIdFromResponse(JsonNode) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Extracts the last revision id from the JSON response returned by the API after an edit
- getRevisionIdFromResponse(JsonNode) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Extracts the last revision id from the JSON response returned by the API after an edit
- getSecond() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getSecond() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the seconds stored for this date.
- getSense(SenseIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getSense(SenseIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the inner sense having the given id
- getSenseDocument(SenseIdValue, List<MonolingualTextValue>, List<StatementGroup>, long) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSenseDocument(SenseIdValue, List<MonolingualTextValue>, List<StatementGroup>, long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
SenseDocument
. - getSenseIdValue(String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSenseIdValue(String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
SenseIdValue
. - getSenses() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- getSenses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Return the lexeme senses
- getSenseUpdate(SenseIdValue, long, TermUpdate, StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSenseUpdate(SenseIdValue, long, TermUpdate, StatementUpdate) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
SenseUpdate
. - getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
- getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
- getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getSiteIri() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- getSiteIri() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
Returns an IRI that identifies the site that this entity comes from,, e.g., "http://www.wikidata.org/entity/" for Wikidata.
- getSiteKey() - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- getSiteKey() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SiteLink
-
Get the string key of the linked site.
- getSiteLink(String, String, List<ItemIdValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSiteLink(String, String, List<ItemIdValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
SiteLink
. - getSiteLinkFilter() - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns the (possibly empty) set of site keys that are used to filter
SiteLink
objects, or null if no such filter is configured (default). - getSiteLinks() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- getSiteLinks() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
-
Get a Map of site keys to
SiteLink
objects. - getSiteLinkUrl(SiteLink) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getSiteLinkUrl(SiteLink) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the URL for the given site link, or null if its site key is not known.
- getSites() - Method in class org.wikidata.wdtk.dumpfiles.MwSitesDumpFileProcessor
-
Returns the information about sites that has been extracted from the dump file(s) processed earlier.
- getSitesInformation() - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Processes the most recent dump of the sites table to extract information about registered sites.
- getSiteType(String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- getSiteType(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Returns the type for the given site, or null if there is no such data for this site key.
- getSnakGroup(List<? extends Snak>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSnakGroup(List<? extends Snak>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
SnakGroup
. - getSnakGroups() - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Returns a list of
SnakGroup
objects for the currently stored snaks. - getSnakGroups() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- getSnakGroups() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Reference
-
Get the list of snak groups associated with this reference.
- getSnakList(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Returns the list of
Snak
objects for a given property. - getSnaks() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
-
Returns the map of snaks as found in JSON.
- getSnaks() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- getSnaks() - Method in interface org.wikidata.wdtk.datamodel.interfaces.SnakGroup
-
Get the list of Snaks of this group.
- getSnakType() - Method in class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
- getSnakType() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
- getSnakType() - Method in class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
- getSnakType() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- getSomeValueSnak(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getSomeValueSnak(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
SomeValueSnak
. - getStatement(Claim, List<Reference>, StatementRank, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getStatement(Claim, List<Reference>, StatementRank, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
Statement
. - getStatement(EntityIdValue, Snak, List<SnakGroup>, List<Reference>, StatementRank, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getStatement(EntityIdValue, Snak, List<SnakGroup>, List<Reference>, StatementRank, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
Statement
. - getStatementGroup(List<Statement>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getStatementGroup(List<Statement>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
StatementGroup
. - getStatementGroups() - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Returns a list of
StatementGroup
objects for the currently stored statements. - getStatementGroups() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- getStatementGroups() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Return the list of all StatementGroups stored for this item.
- getStatementId() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getStatementId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Return the id used to identify this statement.
- getStatementRankUri(StatementRank) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
- getStatements() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementDocumentUpdateImpl
- getStatements() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- getStatements() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocumentUpdate
-
Returns statement changes included in this update.
- getStatements() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementGroup
-
Get the list of Statements of this group.
- getStatementUpdate(Collection<Statement>, Collection<Statement>, Collection<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getStatementUpdate(Collection<Statement>, Collection<Statement>, Collection<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
StatementUpdate
. - getStatementUri(Statement) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
-
Get the URI for the given statement.
- getString() - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
- getString() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StringValue
-
Get the string stored in this value.
- getStringFromBufferedReader(BufferedReader) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Loads a string from the given buffered reader.
- getStringFromInputStream(InputStream) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Loads a string from the given input stream.
- getStringFromUrl(URL) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Loads a string from the file at the given URL.
- getStringValue(String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getStringValue(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
StringValue
. - getSubdirectories(String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- getSubdirectories(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns a list of the names of all subdirectories of the base directory.
- getSubdirectories(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- getSubdirectoryManager(String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- getSubdirectoryManager(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns a new directory manager for the subdirectory of the given name.
- getSubdirectoryManager(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- getSubject() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- getSubject() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- getSubject() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getSubject() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Claim
-
The subject that the claim refers to, e.g., the id of "Berlin".
- getSubject() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
The subject that the claim refers to, e.g., the id of "Berlin".
- getSubject() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementGroup
-
Get the subject used in the
Claim
of each statement in this group. - getTargetId() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- getTargetId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityRedirectDocument
-
Returns the ID of the entity that the redirection target to.
- getTasks() - Method in class org.wikidata.wdtk.rdf.RdfConverter
-
Returns the tasks that should be performed during export.
- getTasks() - Method in class org.wikidata.wdtk.rdf.RdfSerializer
-
Returns the tasks that should be performed during export.
- getTermUpdate(Collection<MonolingualTextValue>, Collection<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getTermUpdate(Collection<MonolingualTextValue>, Collection<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates new
TermUpdate
. - getTestWikidataApiConnection() - Static method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Creates an API connection to test.wikidata.org.
- getText() - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- getText() - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- getText() - Method in interface org.wikidata.wdtk.datamodel.interfaces.MonolingualTextValue
-
Get the text of this value.
- getText() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the text content of the current revision.
- getText() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getText() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult.Match
-
Returns the text of the matching term.
- getThis() - Method in class org.wikidata.wdtk.datamodel.helpers.AbstractDataObjectBuilder
-
Returns the current object with the correct builder type.
- getThis() - Method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
- getThis() - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
- getThis() - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
- getThis() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
- getThreadId() - Method in class org.wikidata.wdtk.util.Timer
-
Get the ID of the thread for which this timer was created.
- getTimePrecisionString(byte) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of a reference to a precision that is used for a time value.
- getTimeStamp() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the time stamp at which the current revision was made.
- getTimeStamp() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getTimeValue(long, byte, byte, byte, byte, byte, byte, int, int, int, String) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
- getTimeValue(long, byte, byte, byte, byte, byte, byte, int, int, int, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
TimeValue
. - getTimeValueUri(TimeValue) - Static method in class org.wikidata.wdtk.rdf.Vocabulary
- getTimezoneOffset() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getTimezoneOffset() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the offset in minutes from UTC that should be applied when displaying this time to users.
- getTitle() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns the title string of the revised page without any namespace prefixes.
- getTitle() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- getTitle() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
Returns the title of the entity (currently the same as the entity ID).
- getTokens() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Returns the map of tokens (such as csrf token and login token) currently used in this connection.
- getTotalCpuTime() - Method in class org.wikidata.wdtk.util.Timer
-
Get the total recorded CPU time in nanoseconds.
- getTotalRevisionCount() - Method in class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
-
Returns the total number of revisions processed so far.
- getTotalWallTime() - Method in class org.wikidata.wdtk.util.Timer
-
Get the total recorded wall clock time in nanoseconds.
- getTripleCount() - Method in class org.wikidata.wdtk.rdf.RdfSerializer
-
Returns the number of triples that have been written so far.
- getTripleCount() - Method in class org.wikidata.wdtk.rdf.RdfWriter
- getType() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
Returns the JSON type string of this value.
- getType() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult.Match
-
Returns the type (field) of the matching term e.g "entityId", "label" or "alias".
- getTypeJsonString() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
- getTypeJsonString() - Method in interface org.wikidata.wdtk.datamodel.interfaces.UnsupportedValue
-
Returns the type string found in the JSONÂ representation of this value.
- getUnit() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- getUnit() - Method in interface org.wikidata.wdtk.datamodel.interfaces.QuantityValue
-
Returns the unit of this quantity, or the string "1" if there is no unit.
- getUnitItemId() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- getUnitItemId() - Method in interface org.wikidata.wdtk.datamodel.interfaces.QuantityValue
- getUpdatedForms() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getUpdatedForms() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns lexeme forms modified in this update.
- getUpdatedSenses() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- getUpdatedSenses() - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeUpdate
-
Returns lexeme senses modified in this update.
- getUpdatedStatements() - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.
- getUpperBound() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- getUpperBound() - Method in interface org.wikidata.wdtk.datamodel.interfaces.QuantityValue
-
Returns the upper bound for the numeric value of this quantity.
- getUri(String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
-
Creates a IRI object for the given IRI string.
- getUriPrefix() - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the URI prefix that is used on the site considered by this object.
- getUrl() - Method in interface org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesResult
-
The URL of the wiki site that shows the concept.
- getUrlConnection(URL) - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Opens a basic URL connection for the given URL and performs basic configurations.
- getUserAgent() - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Returns the string that will be used to identify the user agent on all requests made by Wikidata Toolkit.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
Returns the inner value helper object.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
-
Returns the inner value helper object.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
-
Returns the inner value helper object.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
-
Returns the inner value helper object.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
-
Returns the string.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
-
Returns the inner value helper object.
- getValue() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- getValue() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Claim
-
Convenience method to get the value of the claim's main snak, or null if there is none.
- getValue() - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Convenience method to get the value of the statement's claim's main snak, or null if there is none.
- getValue() - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueSnak
-
Get the
Value
of this Snak - getValueSnak(PropertyIdValue, Value) - Method in class org.wikidata.wdtk.datamodel.implementation.DataObjectFactoryImpl
-
Creates a
ValueSnakImpl
. - getValueSnak(PropertyIdValue, Value) - Method in interface org.wikidata.wdtk.datamodel.interfaces.DataObjectFactory
-
Creates a
ValueSnak
. - getWikidataApiConnection() - Static method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Creates an API connection to wikidata.org.
- getWikidataDataFetcher() - Static method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Creates an object to fetch data from wikidata.org.
- getWikidataPropertyRegister() - Static method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns a singleton object that serves as a property register for Wikidata.
- getWikimediaCommonsApiConnection() - Static method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Creates an API connection to commons.wikimedia.org.
- getWikimediaCommonsDataFetcher() - Static method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Creates an object to fetch data from commons.wikimedia.org.
- getWmfDumpFileManager() - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Returns a WmfDumpFileManager based on the current settings.
- getYear() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- getYear() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Get the year stored for this date.
- GLOBE_EARTH - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
IRI of the Earth.
- GLOBE_MOON - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
IRI of the the Earth's Moon.
- GlobeCoordinatesValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Globe coordinates specify a position on some globe (usually Earth, but possibly also another celestial body, such as Mars).
- GlobeCoordinatesValueConverter - Class in org.wikidata.wdtk.rdf.values
- GlobeCoordinatesValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.GlobeCoordinatesValueConverter
- GlobeCoordinatesValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
GlobeCoordinatesValue
. - GlobeCoordinatesValueImpl(double, double, double, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
-
Constructor.
- GreatestNumberProcessor - Class in org.wikidata.wdtk.examples
-
This simple
EntityDocumentProcessor
finds the greatest number assigned to a certain property. - GreatestNumberProcessor() - Constructor for class org.wikidata.wdtk.examples.GreatestNumberProcessor
- guessEntityTypeFromId(String) - Static method in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
Returns the entity type of the id like "item" or "property"
- GuidGenerator - Interface in org.wikidata.wdtk.wikibaseapi
- GZIP - Enum constant in enum org.wikidata.wdtk.util.CompressionType
H
- hasFile(String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- hasFile(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Checks if there is a file of the given name.
- hasFile(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- Hash - Class in org.wikidata.wdtk.datamodel.helpers
-
Static class for computing a hashcode of arbitrary data objects using only their interfaces.
- Hash() - Constructor for class org.wikidata.wdtk.datamodel.helpers.Hash
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
-
We do not use the Hash helper as in other datamodel classes because this would require exposing the contents of the value publicly, which goes against the desired opacity of the representation.
- hashCode() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- hashCode() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- hashCode() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
- hashCode() - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- hashCode() - Method in class org.wikidata.wdtk.util.Timer
- hashCode() - Method in class org.wikidata.wdtk.wikibaseapi.EditingResult
- hashCode(AliasUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
AliasUpdate
object. - hashCode(Claim) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(DatatypeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(EntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(EntityRedirectDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(FormDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(FormUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
FormUpdate
object. - hashCode(GlobeCoordinatesValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(ItemDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(ItemUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
ItemUpdate
object. - hashCode(LexemeDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(LexemeUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
LexemeUpdate
object. - hashCode(MediaInfoDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(MediaInfoUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
MediaInfoUpdate
object. - hashCode(MonolingualTextValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(NoValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(PropertyDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(PropertyUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
PropertyUpdate
object. - hashCode(QuantityValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(Reference) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(SenseDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(SenseUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
SenseUpdate
object. - hashCode(SiteLink) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(SnakGroup) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(SomeValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(Statement) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(StatementGroup) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(StatementUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
StatementUpdate
object. - hashCode(StringValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(TermUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Calculates hash code for given
TermUpdate
object. - hashCode(TimeValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hashCode(ValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.Hash
-
Returns a hash code for the given object.
- hasNext() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
- hasNext() - Method in class org.wikidata.wdtk.util.NestedIterator
- hasPlusMinusOneValues(StatementGroup) - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Checks if the given statement group contains at least one value of precision +/-1.
- hasProxy() - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Checks whether a proxy is set.
- hasRegisteredContributor() - Method in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
Returns true if the contributor who made the edit that led to this revision was logged in with a user account.
- hasRegisteredContributor() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- hasStatement(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property.
- hasStatement(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property.
- hasStatementValue(String, Set<? extends Value>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property and one of the given values.
- hasStatementValue(String, Value) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property and value.
- hasStatementValue(PropertyIdValue, Set<? extends Value>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property and one of the given values.
- hasStatementValue(PropertyIdValue, Value) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns true if there is a statement for the given property and value.
- hasSubdirectory(String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- hasSubdirectory(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Checks if there is a subdirectory of the given name.
- hasSubdirectory(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- hexArray - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- HttpCookieWrapper(String, String, String, String, String, int, String, String, boolean, boolean, int, boolean) - Constructor for class org.wikidata.wdtk.wikibaseapi.BasicApiConnection.HttpCookieWrapper
- humanGenderPageCount - Variable in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
- humanPageCount - Variable in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
I
- ids - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of ids for entities.
- implodeObjects(Iterable<?>) - Static method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Builds a string that serializes a list of objects separated by the pipe character.
- includeLanguage(String) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if the given language is included (not filtered).
- includePropertyId(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if the given property is included (not filtered).
- includeSiteLink(String) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Returns true if the given site link is included (not filtered).
- initUpdatesFromCurrentValues(Collection<MonolingualTextValue>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Initializes the list of current values for a type of terms (label or description).
- IriIdentifiedValue - Interface in org.wikidata.wdtk.datamodel.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.
- isAvailable() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Checks if the dump is actually available.
- isAvailable() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- isAvailable() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.AliasUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.FormUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.LabeledDocumentUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementDocumentUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.TermedDocumentUpdateImpl
- isEmpty() - Method in class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
- isEmpty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
-
Checks whether the update is empty.
- isEmpty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityUpdate
-
Checks whether the update is empty.
- isEmpty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
-
Checks whether the update is empty.
- isEmpty() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermUpdate
-
Checks whether the update is empty.
- isEmptyEdit() - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Returns true when the edit is not going to change anything on the item.
- isEmptyEdit() - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Is this change null? (Which means that nothing at all will be changed on the item.)
- isLoggedIn() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Returns true if a user is logged in.
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- isPlaceholder() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- isPlaceholder() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
Checks whether this is a placeholder ID.
- isPlusMinusOneValue(QuantityValue) - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Checks if the given value is a number with precision +/-1.
- isRevisionDumpFile(DumpContentType) - Static method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
-
Returns true if the given dump file type contains page revisions and false if it does not.
- isRunning() - Method in class org.wikidata.wdtk.util.Timer
-
Return true if the timer is running.
- isSameSnakSet(Iterator<Snak>, Iterator<Snak>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Compares two sets of snaks, given by iterators.
- ItemDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for datasets that describe items.
- ItemDocumentBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder class to construct
ItemDocument
objects. - ItemDocumentBuilder(ItemDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Constructor to start the build from an existing item.
- ItemDocumentBuilder(ItemIdValue) - Constructor for class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Constructor to start the build from a blank item.
- ItemDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
ItemDocument
. - ItemDocumentImpl(String, Map<String, MonolingualTextValue>, Map<String, MonolingualTextValue>, Map<String, List<MonolingualTextValue>>, Map<String, List<StatementImpl.PreStatement>>, Map<String, SiteLink>, long, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
-
Constructor.
- ItemDocumentImpl(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, List<SiteLink>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
-
Constructor.
- ItemDocumentImpl(ItemIdValue, Map<String, MonolingualTextValue>, Map<String, MonolingualTextValue>, Map<String, List<MonolingualTextValue>>, Map<String, List<Statement>>, Map<String, SiteLink>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
-
Protected constructor, meant to be used to create modified copies of instances.
- ItemIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase Item.
- ItemIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
ItemIdValue
. - ItemIdValueImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
-
Constructor.
- ItemUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to item entity.
- ItemUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
ItemUpdate
objects. - ItemUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
ItemUpdate
. - ItemUpdateImpl(ItemIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate, Collection<SiteLink>, Collection<String>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ItemUpdateImpl
-
Initializes new item update.
- iterator() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- iterator() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- iterator() - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
- iterator() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- iterator() - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
J
- JSON - Enum constant in enum org.wikidata.wdtk.dumpfiles.DumpContentType
- JSON - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
- JSON_DT_COMMONS_MEDIA - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_COMMONS_MEDIA
in JSON. - JSON_DT_COMMONS_MEDIA - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for Commons media files, in JSON.
- JSON_DT_EDTF - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_EDTF
in JSON. - JSON_DT_EDTF - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for EDTF dates, in JSON.
- JSON_DT_EXTERNAL_ID - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_EXTERNAL_ID
in JSON. - JSON_DT_EXTERNAL_ID - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for external identifiers, in JSON.
- JSON_DT_GEO_SHAPE - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_GEO_SHAPE
in JSON. - JSON_DT_GEO_SHAPE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for Geo shapes, in JSON.
- JSON_DT_GLOBE_COORDINATES - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_GLOBE_COORDINATES
in JSON. - JSON_DT_GLOBE_COORDINATES - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for globe coordinates, in JSON.
- JSON_DT_ITEM - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_ITEM
in JSON. - JSON_DT_ITEM - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for Wikibase items, in JSON.
- JSON_DT_MATH - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_MATH
in JSON. - JSON_DT_MATH - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for mathematical expressions, in JSON.
- JSON_DT_MONOLINGUAL_TEXT - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_MONOLINGUAL_TEXT
in JSON. - JSON_DT_MONOLINGUAL_TEXT - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for monolingual text, in JSON.
- JSON_DT_PROPERTY - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_PROPERTY
in JSON. - JSON_DT_PROPERTY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for Wikibase properties, in JSON.
- JSON_DT_QUANTITY - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_QUANTITY
in JSON. - JSON_DT_QUANTITY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for quantities, in JSON.
- JSON_DT_STRING - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_STRING
in JSON. - JSON_DT_STRING - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for strings, in JSON.
- JSON_DT_TIME - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_TIME
in JSON. - JSON_DT_TIME - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for time values, in JSON.
- JSON_DT_URL - Static variable in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
-
String used to refer to the property datatype
DatatypeIdValue.DT_ITEM
in JSON. - JSON_DT_URL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.DatatypeIdValue
-
String used to refer to the property datatype for urls, in JSON.
- JSON_ENTITY_TYPE_FORM - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are lexemes forms.
- JSON_ENTITY_TYPE_ITEM - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are items.
- JSON_ENTITY_TYPE_LEXEME - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are lexemes.
- JSON_ENTITY_TYPE_MEDIA_INFO - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are media info.
- JSON_ENTITY_TYPE_PROPERTY - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are properties.
- JSON_ENTITY_TYPE_SENSE - Static variable in class org.wikidata.wdtk.datamodel.implementation.EntityIdValueImpl
-
The string used in JSON to denote the type of entity id values that are lexemes senses.
- JSON_SNAK_TYPE_NOVALUE - Static variable in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Type string used to denote novalue snaks in JSON.
- JSON_SNAK_TYPE_SOMEVALUE - Static variable in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Type string used to denote somevalue snaks in JSON.
- JSON_SNAK_TYPE_VALUE - Static variable in class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Type string used to denote value snaks in JSON.
- JSON_VALUE_TYPE_ENTITY_ID - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the entity id value type in JSON.
- JSON_VALUE_TYPE_GLOBE_COORDINATES - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the globe coordinates value type in JSON.
- JSON_VALUE_TYPE_MONOLINGUAL_TEXT - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the monolingual text value type in JSON.
- JSON_VALUE_TYPE_QUANTITY - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the quantity value type in JSON.
- JSON_VALUE_TYPE_STRING - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the string value type in JSON.
- JSON_VALUE_TYPE_TIME - Static variable in class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
String used to denote the time value type in JSON.
- JsonDeserializer - Class in org.wikidata.wdtk.datamodel.helpers
-
Helper to deserialize datamodel objects from their JSON representation.
- JsonDeserializer(String) - Constructor for class org.wikidata.wdtk.datamodel.helpers.JsonDeserializer
-
Constructs a new JSONÂ deserializer for the designated site.
- JsonDumpFileProcessor - Class in org.wikidata.wdtk.dumpfiles
-
Processor for JSON dumpfiles.
- JsonDumpFileProcessor(EntityDocumentProcessor, String) - Constructor for class org.wikidata.wdtk.dumpfiles.JsonDumpFileProcessor
- JsonOnlineDumpFile - Class in org.wikidata.wdtk.dumpfiles.wmf
- JsonOnlineDumpFile(String, String, WebResourceFetcher, DirectoryManager) - Constructor for class org.wikidata.wdtk.dumpfiles.wmf.JsonOnlineDumpFile
-
Constructor.
- JsonSerializationProcessor - Class in org.wikidata.wdtk.examples
-
This example illustrates how to create a JSON serialization of some of the data found in a dump.
- JsonSerializationProcessor() - Constructor for class org.wikidata.wdtk.examples.JsonSerializationProcessor
-
Constructor.
- JsonSerializer - Class in org.wikidata.wdtk.datamodel.helpers
-
This class implements
EntityDocumentDumpProcessor
to provide a serializer forEntityDocument
objects in JSON. - JsonSerializer(OutputStream) - Constructor for class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Creates a new JSON serializer that writes its output to the given stream.
- JUST_ONE_DAILY_FOR_TEST - Enum constant in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
L
- LABEL - Enum constant in enum org.wikidata.wdtk.rdf.AbstractRdfConverter.TermKind
- LabeledDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for EntityDocuments that can be described by labels in several languages.
- LabeledDocumentUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity that has labels.
- LabeledDocumentUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
LabeledStatementDocumentUpdate
objects. - LabeledDocumentUpdateBuilder(EntityIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Initializes new builder object for constructing update of entity with given ID.
- LabeledDocumentUpdateBuilder(LabeledStatementDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Initializes new builder object for constructing update of given base entity revision.
- LabeledDocumentUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
LabeledStatementDocumentUpdate
. - LabeledDocumentUpdateImpl(EntityIdValue, long, TermUpdate, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.LabeledDocumentUpdateImpl
-
Initializes new entity update.
- LabeledStatementDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
This interface just joins
LabeledDocument
andStatementDocument
. - LabeledStatementDocumentUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity that has labels and statements.
- labels - Variable in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- lacksSomeLanguage(ItemDocument) - Method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Returns true if the given item document lacks a label for at least one of the languages covered.
- lag - Variable in exception org.wikidata.wdtk.wikibaseapi.apierrors.MaxlagErrorException
- language - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
search in this language.
- languages - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of language codes for restricting language-specific data.
- LexemeDeserializer - Class in org.wikidata.wdtk.datamodel.helpers
-
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.
- LexemeDeserializer() - Constructor for class org.wikidata.wdtk.datamodel.helpers.LexemeDeserializer
- LexemeDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for datasets that describe lexemes.
- LexemeDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
LexemeDocument
. - LexemeDocumentImpl(String, String, String, Map<String, MonolingualTextValue>, Map<String, List<StatementImpl.PreStatement>>, List<FormDocument>, List<SenseDocument>, long, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
-
Constructor.
- LexemeIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase Lexeme.
- LexemeIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
LexemeIdValue
. - LexemeUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to lexeme entity.
- LexemeUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
LexemeUpdate
objects. - LexemeUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
LexemeUpdate
. - LexemeUpdateImpl(LexemeIdValue, long, ItemIdValue, ItemIdValue, TermUpdate, StatementUpdate, Collection<SenseDocument>, Collection<SenseUpdate>, Collection<SenseIdValue>, Collection<FormDocument>, Collection<FormUpdate>, Collection<FormIdValue>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.LexemeUpdateImpl
-
Initializes new entity update.
- LifeExpectancyProcessor - Class in org.wikidata.wdtk.examples
-
This document processor calculates the average life expectancy of people, based on property ids used on Wikidata.
- LifeExpectancyProcessor() - Constructor for class org.wikidata.wdtk.examples.LifeExpectancyProcessor
- limit - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
maximal number of results no more than 50 (500 for bots) allowed.
- loadContents(String, JsonNode) - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
- LocalDumpFileExample - Class in org.wikidata.wdtk.examples
-
This class illustrates how to process local dumpfiles.
- LocalDumpFileExample() - Constructor for class org.wikidata.wdtk.examples.LocalDumpFileExample
- logEntityModification(EntityIdValue, String, ArrayList<String>) - Method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Logs information about entities changed so far.
- logEntityModification(EntityIdValue, List<Statement>, String) - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Logs information about entities changed so far.
- loggedIn - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
True after successful login.
- login(String, String) - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Logs in using the specified user credentials.
- login(String, String, BasicApiConnection.ILogin) - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Login function that contains token logic and a function as parameter
- LOGIN_BLOCKED - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the user is blocked.
- LOGIN_CREATE_BLOCKED - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the wiki tried to automatically create a new account for you, but your IP address has been blocked from account creation.
- LOGIN_EMPTY_PASS - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if password is empty.
- LOGIN_ILLEGAL - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the username is illegal.
- LOGIN_NEEDTOKEN - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if token or session ID is missing.
- LOGIN_NO_NAME - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if no username was given.
- LOGIN_NOT_EXISTS - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if given username does not exist.
- LOGIN_RESULT_SUCCESS - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the login was successful.
- LOGIN_THROTTLED - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if there were too many logins in a short time.
- LOGIN_WRONG_PASS - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the password was wrong.
- LOGIN_WRONG_PLUGIN_PASS - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if the password was rejected by an authentication plugin.
- LOGIN_WRONG_TOKEN - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
String value in the result field of the JSON response if token is wrong.
- logIncompatibleValueError(PropertyIdValue, String, String) - Method in class org.wikidata.wdtk.rdf.values.AbstractValueConverter
-
Logs a message for a case where the value of a property does not fit to its declared datatype.
- LoginFailedException - Exception in org.wikidata.wdtk.wikibaseapi
-
This exception is thrown when a login was not successful.
- LoginFailedException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.LoginFailedException
- LoginFailedException(String, Throwable) - Constructor for exception org.wikidata.wdtk.wikibaseapi.LoginFailedException
- LoginValue - Enum in org.wikidata.wdtk.wikibaseapi
- logout() - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Logs the current user out.
- logout() - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection
-
Logs the current user out.
- logout() - Method in class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
-
Forgets the OAuth credentials locally.
- logWarnings(JsonNode) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Extracts and logs any warnings that are returned in an API response.
M
- main(String[]) - Static method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Main method to run the bot.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Main method to run the bot.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
-
Main method.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.DataExtractionProcessor
-
Main method.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.EditOnlineDataExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.EditOnlineMediaInfoExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.FetchOnlineDataExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.GenderRatioProcessor
-
Main method.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.GreatestNumberProcessor
-
Main method.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.JsonSerializationProcessor
-
Runs the example program.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.LifeExpectancyProcessor
-
Main method.
- main(String[]) - Static method in class org.wikidata.wdtk.examples.LocalDumpFileExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.OnlineMediaInfoExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.RdfSerializationExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.SitelinksExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.TutorialExample
- main(String[]) - Static method in class org.wikidata.wdtk.examples.WorldMapProcessor
-
Main method.
- makeAliasUpdate(List<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
AliasUpdate
that completely replaces all aliases. - makeAliasUpdate(List<MonolingualTextValue>, Collection<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
AliasUpdate
that adds and/or removes some of the aliases. - makeAliasUpdate(List<MonolingualTextValue>, List<MonolingualTextValue>, Collection<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
AliasUpdate
. - makeClaim(EntityIdValue, Snak, List<SnakGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
Claim
. - makeDatatypeIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Deprecated.
- makeDatatypeIdValueFromJsonString(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
DatatypeIdValue
. - makeFormDocument(FormIdValue, List<MonolingualTextValue>, List<ItemIdValue>, List<StatementGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
FormDocument
. - makeFormIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
FormIdValue
. - makeFormUpdate(FormIdValue, long, TermUpdate, Collection<ItemIdValue>, StatementUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
FormUpdate
. - makeGlobeCoordinatesValue(double, double, double, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
GlobeCoordinatesValue
. - makeItemDocument(ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an empty
ItemDocument
. - makeItemDocument(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, Map<String, SiteLink>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
ItemDocument
with empty revision id. - makeItemDocument(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, Map<String, SiteLink>, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
ItemDocument
. - makeItemIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
ItemIdValue
. - makeItemUpdate(ItemIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate, Collection<SiteLink>, Collection<String>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
ItemUpdate
. - makeLexemeDocument(LexemeIdValue, ItemIdValue, ItemIdValue, List<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an empty
LexemeDocument
. - makeLexemeDocument(LexemeIdValue, ItemIdValue, ItemIdValue, List<MonolingualTextValue>, List<StatementGroup>, List<FormDocument>, List<SenseDocument>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
LexemeDocument
. - makeLexemeIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
LexemeIdValue
. - makeLexemeUpdate(LexemeIdValue, long, ItemIdValue, ItemIdValue, TermUpdate, StatementUpdate, Collection<SenseDocument>, Collection<SenseUpdate>, Collection<SenseIdValue>, Collection<FormDocument>, Collection<FormUpdate>, Collection<FormIdValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
LexemeUpdate
. - makeMediaInfoDocument(MediaInfoIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an empty
MediaInfoDocument
. - makeMediaInfoDocument(MediaInfoIdValue, List<MonolingualTextValue>, List<StatementGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
MediaInfoDocument
. - makeMediaInfoIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
MediaInfoIdValue
. - makeMediaInfoUpdate(MediaInfoIdValue, long, TermUpdate, StatementUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
MediaInfoUpdate
. - makeMonolingualTextValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
MonolingualTextValue
. - makeNoValueSnak(PropertyIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
NoValueSnak
. - makePropertyDocument(PropertyIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, DatatypeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
PropertyDocument
with empty revision id. - makePropertyDocument(PropertyIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, DatatypeIdValue, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
PropertyDocument
. - makePropertyDocument(PropertyIdValue, DatatypeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an empty
PropertyDocument
. - makePropertyIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
PropertyIdValue
. - makePropertyUpdate(PropertyIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
PropertyUpdate
. - makeQuantityValue(long, long, long) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
QuantityValue
from long numbers. - makeQuantityValue(BigDecimal) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
QuantityValue
with an empty unit and without bounds. - makeQuantityValue(BigDecimal, BigDecimal, BigDecimal) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
QuantityValue
with an empty unit. - makeQuantityValue(BigDecimal, BigDecimal, BigDecimal, ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
QuantityValue
. - makeQuantityValue(BigDecimal, ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
QuantityValue
without bounds. - makeReference(List<SnakGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
Reference
. - makeSenseDocument(SenseIdValue, List<MonolingualTextValue>, List<StatementGroup>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
SenseDocument
. - makeSenseIdValue(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
SenseIdValue
. - makeSenseUpdate(SenseIdValue, long, TermUpdate, StatementUpdate) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
SenseUpdate
. - makeSiteLink(String, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
SiteLink
without badges. - makeSiteLink(String, String, List<ItemIdValue>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
SiteLink
. - makeSnakGroup(List<? extends Snak>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
SnakGroup
. - makeSnakGroups(Map<String, List<Snak>>, List<String>) - Static method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
-
Construct a list of
SnakGroup
objects from a map from property ids to snak lists as found in JSON. - makeSomeValueSnak(PropertyIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
SomeValueSnak
. - makeStatement(Claim, List<Reference>, StatementRank, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
Statement
. - makeStatement(EntityIdValue, Snak, List<SnakGroup>, List<Reference>, StatementRank, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
Statement
. - makeStatementGroup(List<Statement>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
StatementGroup
. - makeStatementUpdate(Collection<Statement>, Collection<Statement>, Collection<String>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
StatementUpdate
. - makeStringValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
StringValue
. - makeTermUpdate(Collection<MonolingualTextValue>, Collection<String>) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates new
TermUpdate
. - makeTimeValue(long, byte, byte, byte, byte, byte, byte, int, int, int, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
TimeValue
. - makeTimeValue(long, byte, byte, byte, byte, byte, int, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
TimeValue
for a given date and time. - makeTimeValue(long, byte, byte, String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
TimeValue
for a given date. - makeValueSnak(PropertyIdValue, Value) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
ValueSnak
. - makeWikidataFormIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
FormIdValue
for Wikidata. - makeWikidataItemIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
ItemIdValue
for Wikidata. - makeWikidataLexemeIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
LexemeIdValue
for Wikidata. - makeWikidataPropertyIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates a
PropertyIdValue
. - makeWikidataSenseIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
SenseIdValue
for Wikidata. - makeWikimediaCommonsMediaInfoIdValue(String) - Static method in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
Creates an
MediaInfoIdValue
for Wikimedia Commons. - MalformedResponseException - Exception in org.wikidata.wdtk.wikibaseapi
-
Exception thrown when response from Wikibase API cannot be parsed.
- MalformedResponseException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.MalformedResponseException
-
Constructs
MalformedResponseException
with the specified detail message. - MalformedResponseException(String, Throwable) - Constructor for exception org.wikidata.wdtk.wikibaseapi.MalformedResponseException
-
Constructs
MalformedResponseException
with the specified detail message and cause. - mapper - Static variable in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
-
Object mapper that is used to serialize JSON.
- markStatementsForDeletion(StatementDocument, List<Statement>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Marks the given list of statements for deletion.
- markStatementsForInsertion(StatementDocument, List<Statement>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Marks a given list of statements for insertion into the current document.
- markStatementsForUpdate(StatementDocument, List<Statement>, List<Statement>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Marks the given lists of statements for being added to or deleted from the given document, respectively.
- MaxlagErrorException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception to indicate a MediaWiki API error caused by exceeding the maxlag parameter.
- MaxlagErrorException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.MaxlagErrorException
-
Creates a new exception.
- MaxlagErrorException(String, double) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.MaxlagErrorException
-
Creates an exception which also stores the lag announced by the server.
- MediaInfoDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for datasets that describe media entities.
- MediaInfoDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
MediaInfoDocument
. - MediaInfoDocumentImpl(String, Map<String, MonolingualTextValue>, Map<String, List<StatementImpl.PreStatement>>, Map<String, List<StatementImpl.PreStatement>>, long, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
-
Constructor.
- MediaInfoDocumentImpl(MediaInfoIdValue, List<MonolingualTextValue>, List<StatementGroup>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
-
Constructor.
- MediaInfoDocumentImpl(MediaInfoIdValue, Map<String, MonolingualTextValue>, Map<String, List<Statement>>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
-
Protected constructor, meant to be used to create modified copies of instances.
- MediaInfoIdQueryAction - Class in org.wikidata.wdtk.wikibaseapi
-
Action for MediaInfoId retrieval.
- MediaInfoIdQueryAction(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.MediaInfoIdQueryAction
- MediaInfoIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase MediaInfo.
- MediaInfoIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
MediaInfoIdValue
. - MediaInfoUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to media entity.
- MediaInfoUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
MediaInfoUpdate
objects. - MediaInfoUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
MediaInfoUpdate
. - MediaInfoUpdateImpl(MediaInfoIdValue, long, TermUpdate, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.MediaInfoUpdateImpl
-
Initializes new media update.
- MediaWikiApiErrorException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception for reporting general MediaWiki API errors.
- MediaWikiApiErrorException(String, String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
-
Creates a new exception for the given error code and message.
- MediaWikiApiErrorHandler - Class in org.wikidata.wdtk.wikibaseapi.apierrors
-
Class to interpret MediaWiki API errors.
- MediaWikiApiErrorHandler() - Constructor for class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
- mergeReferences(List<? extends Reference>, List<? extends Reference>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Merges two lists of references, eliminating duplicates in the process.
- MockDirectoryManager - Class in org.wikidata.wdtk.testing
-
Mock implementation of
DirectoryManager
that simulates file access without touching the file system. - MockDirectoryManager(String, Boolean) - Constructor for class org.wikidata.wdtk.testing.MockDirectoryManager
-
Constructor
- MockDirectoryManager(Path, boolean, boolean) - Constructor for class org.wikidata.wdtk.testing.MockDirectoryManager
-
Creates a new object and clears all previously stored mock files if requested.
- MockDirectoryManager(Path, Boolean) - Constructor for class org.wikidata.wdtk.testing.MockDirectoryManager
-
Creates a new object but retains all previously stored files.
- MockOutputStream - Class in org.wikidata.wdtk.testing
- MockOutputStream(Path) - Constructor for class org.wikidata.wdtk.testing.MockOutputStream
- MockStringContentFactory - Class in org.wikidata.wdtk.testing
-
Helper class to create BufferedReaders and InputStreams with predefined contents.
- MockStringContentFactory() - Constructor for class org.wikidata.wdtk.testing.MockStringContentFactory
- MockWebResourceFetcher - Class in org.wikidata.wdtk.testing
-
Mock implementation of
WebResourceFetcher
. - MockWebResourceFetcher() - Constructor for class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
Constructor.
- MODEL_WIKIBASE_ITEM - Static variable in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
The model used for MediaWiki revisions representing Wikibase items.
- MODEL_WIKIBASE_LEXEME - Static variable in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
The model used for MediaWiki revisions representing Wikibase lexemes.
- MODEL_WIKIBASE_PROPERTY - Static variable in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
The model used for MediaWiki revisions representing Wikibase properties.
- MODEL_WIKITEXT - Static variable in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
The model used for MediaWiki revisions in traditional Wikitext.
- MonolingualTextValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A monolingual text value represents a text (string) in a certain language.
- MonolingualTextValueConverter - Class in org.wikidata.wdtk.rdf.values
- MonolingualTextValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.MonolingualTextValueConverter
- MonolingualTextValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
MonolingualTextValue
. - MonolingualTextValueImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
-
Constructor.
- monolingualToJackson(MonolingualTextValue) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Creates a monolingual value that is suitable for JSON serialization.
- MwDumpFile - Interface in org.wikidata.wdtk.dumpfiles
-
Representation of MediaWiki dump files, which provides access to important basic properties of dumps, and to the content of the dump itself.
- MwDumpFile.DateComparator - Class in org.wikidata.wdtk.dumpfiles
-
Comparator to sort dumps by date.
- MwDumpFileProcessor - Interface in org.wikidata.wdtk.dumpfiles
-
General interface for classes that process dump files, typically for parsing them.
- MwDumpFormatException - Exception in org.wikidata.wdtk.dumpfiles
-
Exception class to report errors in the format of a MediaWiki dump file.
- MwDumpFormatException(String) - Constructor for exception org.wikidata.wdtk.dumpfiles.MwDumpFormatException
-
Constructs a new exception with the given message.
- MwLocalDumpFile - Class in org.wikidata.wdtk.dumpfiles
-
Class for representing dump files that are found at arbitrary (local) file paths.
- MwLocalDumpFile(String) - Constructor for class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
-
Constructor.
- MwLocalDumpFile(String, DumpContentType, String, String) - Constructor for class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
-
Constructor.
- MwRevision - Interface in org.wikidata.wdtk.dumpfiles
-
Representation of one revision of a page in MediaWiki.
- MwRevisionDumpFileProcessor - Class in org.wikidata.wdtk.dumpfiles
-
This class processes MediaWiki dumpfiles that contain lists of page revisions in the specific XML format used by MediaWiki for exporting pages.
- MwRevisionDumpFileProcessor(MwRevisionProcessor) - Constructor for class org.wikidata.wdtk.dumpfiles.MwRevisionDumpFileProcessor
-
Constructor.
- MwRevisionImpl - Class in org.wikidata.wdtk.dumpfiles
-
Implementation of
MwRevision
. - MwRevisionImpl() - Constructor for class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
-
Constructor.
- MwRevisionImpl(MwRevision) - Constructor for class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
-
Copy constructor.
- MwRevisionProcessor - Interface in org.wikidata.wdtk.dumpfiles
-
General interface for classes that process revisions of MediaWiki pages.
- MwRevisionProcessorBroker - Class in org.wikidata.wdtk.dumpfiles
-
This MwRevisionPRocessor distributes revisions to subscribers that register their interest in some type of message (revision).
- MwRevisionProcessorBroker() - Constructor for class org.wikidata.wdtk.dumpfiles.MwRevisionProcessorBroker
- MwSitesDumpFileProcessor - Class in org.wikidata.wdtk.dumpfiles
-
This class processes dump files that contain the SQL dump of the MediaWiki sites table.
- MwSitesDumpFileProcessor() - Constructor for class org.wikidata.wdtk.dumpfiles.MwSitesDumpFileProcessor
N
- NeedLoginTokenException - Exception in org.wikidata.wdtk.wikibaseapi
-
This exception could be caused by a login action if there are problems with the login token or the session id.
- NeedLoginTokenException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.NeedLoginTokenException
- NestedIterator<T> - Class in org.wikidata.wdtk.util
-
Given an iterable of iterables of T, this class simulates an iterator of T.
- NestedIterator(Iterable<? extends Iterable<T>>) - Constructor for class org.wikidata.wdtk.util.NestedIterator
-
Constructor.
- newInstance() - Static method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Starts the construction of a
Reference
. - newMockInputStream(byte[]) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Returns a new InputStream that gives access to the contents as given in the input bytes.
- newMockInputStream(String) - Static method in class org.wikidata.wdtk.testing.MockStringContentFactory
-
Returns a new InputStream that gives access to the contents as given in the input string, encoded in UTF-8.
- next() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
- next() - Method in class org.wikidata.wdtk.util.NestedIterator
- NO_QUALIFIER_VALUE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- NO_REVISION_ID - Static variable in interface org.wikidata.wdtk.dumpfiles.MwRevision
-
The revision id set when the revision does not exist
- NO_VALUE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- NONE - Enum constant in enum org.wikidata.wdtk.util.CompressionType
- NORMAL - Enum constant in enum org.wikidata.wdtk.datamodel.interfaces.StatementRank
- NoSuchEntityErrorException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception to indicate a MediaWiki API error caused by trying to access an entity that does not exist.
- NoSuchEntityErrorException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.NoSuchEntityErrorException
-
Creates a new exception.
- NOT_FOUND - Static variable in interface org.wikidata.wdtk.storage.datastructures.RankedBitVector
-
This is a distinguished value, which denotes that the position of a n-th occurrence of a bit was not found.
- NoValueSnak - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A NoValueSnak represents the information that a given property has no value.
- NoValueSnakImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
NoValueSnak
. - NoValueSnakImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
-
Constructor for deserialization from JSON with Jackson.
- NoValueSnakImpl(PropertyIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
-
Constructor.
- NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.FormIdValue
-
Fixed
FormIdValue
that refers to a non-existing form. - NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.ItemIdValue
-
Fixed
ItemIdValue
that refers to a non-existing item. - NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.LexemeIdValue
-
Fixed
LexemeIdValue
that refers to a non-existing lexeme. - NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoIdValue
-
Fixed
MediaInfoIdValue
that refers to a non-existing item. - NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue
-
Fixed
PropertyIdValue
that refers to a non-existing property. - NULL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.SenseIdValue
-
Fixed
SenseIdValue
that refers to a non-existing sense. - nullEdit(EntityIdValue) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Performs a null edit on an entity.
- nullEdit(ItemIdValue) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.nullEdit(EntityIdValue)
instead. Performs a null edit on an item. This has some effects on Wikibase, such as refreshing the labels of the referred items in the UI. - nullEdit(PropertyIdValue) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.nullEdit(EntityIdValue)
instead. Performs a null edit on a property. This has some effects on Wikibase, such as refreshing the labels of the referred items in the UI. - nullEdit(T) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Performs a null edit on an entity.
O
- OAuthApiConnection - Class in org.wikidata.wdtk.wikibaseapi
-
A connection to the MediaWiki/Wikibase API which uses OAuth for authentication.
- OAuthApiConnection(String, String, String, String, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
-
Constructs an OAuth connection to the given MediaWiki API endpoint.
- OAuthApiConnection(String, String, String, String, String, String, boolean, Map<String, String>, int, int) - Constructor for class org.wikidata.wdtk.wikibaseapi.OAuthApiConnection
-
Deserializes an existing OAuthApiConnection from JSON.
- of(String) - Static method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
- OFFLINE_MODE - Static variable in class org.wikidata.wdtk.examples.ExampleHelpers
-
If set to true, all example programs will run in offline mode.
- offset - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
offset where to continue a search this parameter is called "continue" in the API (which is a Java keyword).
- OGC_LOCATION - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OGC_LOCATION - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OnlineMediaInfoExample - Class in org.wikidata.wdtk.examples
-
This example shows how to retrieve MediaInfo data from the API.
- OnlineMediaInfoExample() - Constructor for class org.wikidata.wdtk.examples.OnlineMediaInfoExample
- open() - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- open() - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentDumpProcessor
-
Starts the processing by performing any initial steps to prepare processing.
- open() - Method in class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
- open() - Method in class org.wikidata.wdtk.rdf.RdfSerializer
- openExampleFileOuputStream(String) - Static method in class org.wikidata.wdtk.examples.ExampleHelpers
-
Opens a new FileOutputStream for a file of the given name in the example output directory (
ExampleHelpers.EXAMPLE_OUTPUT_DIRECTORY
). - org.wikidata.wdtk.datamodel.helpers - package org.wikidata.wdtk.datamodel.helpers
-
Package for mostly static helper code to work with data objects.
- org.wikidata.wdtk.datamodel.implementation - package org.wikidata.wdtk.datamodel.implementation
-
Basic implementation for objects representing Wikibase data and related factories.
- org.wikidata.wdtk.datamodel.interfaces - package org.wikidata.wdtk.datamodel.interfaces
-
Interfaces for representing Wikibase data and related factories.
- org.wikidata.wdtk.dumpfiles - package org.wikidata.wdtk.dumpfiles
-
Components for downloading and processing Wikibase dump files.
- org.wikidata.wdtk.dumpfiles.wmf - package org.wikidata.wdtk.dumpfiles.wmf
-
Code that is specific to the dump file exports of the Wikimedia Foundation (WMF).
- org.wikidata.wdtk.examples - package org.wikidata.wdtk.examples
-
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
- org.wikidata.wdtk.examples.bots - package org.wikidata.wdtk.examples.bots
-
Package for examples of bots that edit Wikidata.
- org.wikidata.wdtk.rdf - package org.wikidata.wdtk.rdf
-
Serializer for RDF
- org.wikidata.wdtk.rdf.values - package org.wikidata.wdtk.rdf.values
-
Package for code related to the conversion of data values to RDF in various ways.
- org.wikidata.wdtk.storage.datastructures - package org.wikidata.wdtk.storage.datastructures
-
Provides classes of basic data structures.
- org.wikidata.wdtk.testing - package org.wikidata.wdtk.testing
-
Package for general helper code that is only used for testing purposes.
- org.wikidata.wdtk.util - package org.wikidata.wdtk.util
-
General utility package for Wikidata Toolkit.
- org.wikidata.wdtk.wikibaseapi - package org.wikidata.wdtk.wikibaseapi
-
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
- org.wikidata.wdtk.wikibaseapi.apierrors - package org.wikidata.wdtk.wikibaseapi.apierrors
- OWL_CLASS - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_CLASS - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_COMPLEMENT_OF - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_COMPLEMENT_OF - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_DATATYPE_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_DATATYPE_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_OBJECT_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_OBJECT_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_ON_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_ON_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_RESTRICTION - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_RESTRICTION - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_SOME_VALUES_FROM - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_SOME_VALUES_FROM - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OWL_THING - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- OWL_THING - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- OwlDeclarationBuffer - Class in org.wikidata.wdtk.rdf
-
This class stores information about data that should be serialized in RDF later on.
- OwlDeclarationBuffer() - Constructor for class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
P
- pageCount - Variable in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
- PARAM_ACTION - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Name of the HTTP parameter to submit an action to the API.
- PARAM_FORMAT - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Name of the HTTP parameter to submit the requested result format to the API.
- PARAM_LOGIN_PASSWORD - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Name of the HTTP parameter to submit a password to the API.
- PARAM_LOGIN_TOKEN - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Name of the HTTP parameter to submit a login token to the API.
- PARAM_LOGIN_USERNAME - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Name of the HTTP parameter to submit a password to the API.
- performEdit(WbEditingAction, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Performs the update, selecting the appropriate API action depending on the nature of the change.
- performEdit(WbEditingAction, boolean, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Performs the update, selecting the appropriate API action depending on the nature of the change.
- PREC_100KY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 100,000 years.
- PREC_100MY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 100 million years.
- PREC_100Y - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 100 years.
- PREC_10KY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 10,000 years.
- PREC_10MY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 10 million years.
- PREC_1GY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 10^9 years.
- PREC_1KY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 1,000 years.
- PREC_1MY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to 1 million years.
- PREC_ARCMINUTE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the arcminute.
- PREC_ARCSECOND - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the arcsecond.
- PREC_CENTI_ARCSECOND - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the hundredth of an arcsecond.
- PREC_CENTI_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the hundredth of a degree.
- PREC_DAY - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the day.
- PREC_DECADE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the decade.
- PREC_DECI_ARCSECOND - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the tenth of an arcsecond.
- PREC_DECI_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the tenth of a degree.
- PREC_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the degree.
- PREC_HOUR - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the hour.
- PREC_HUNDRED_MICRO_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the ten-thousandth of a degree.
- PREC_MICRO_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the millionth of a degree.
- PREC_MILLI_ARCSECOND - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the thousandth of an arcsecond.
- PREC_MILLI_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the thousandth of a degree.
- PREC_MINUTE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the minute.
- PREC_MONTH - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the month.
- PREC_SECOND - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the second.
- PREC_TEN_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to ten degrees.
- PREC_TEN_MICRO_DEGREE - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.GlobeCoordinatesValue
-
Precision constant for globe coordinates that are precise to the hundred-thousandth of a degree.
- PREC_YEAR - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Precision constant for dates that are precise to the year.
- PREFERRED - Enum constant in enum org.wikidata.wdtk.datamodel.interfaces.StatementRank
- PREFIX_GEO - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_OWL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_DIRECT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_QUALIFIER - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_QUALIFIER_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_REFERENCE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_REFERENCE_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_STATEMENT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROPERTY_STATEMENT_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_PROV - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_RDF - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_RDFS - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_SCHEMA - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_SKOS - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WBONTO - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WIKIDATA_NO_QUALIFIER_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WIKIDATA_NO_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WIKIDATA_REFERENCE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WIKIDATA_STATEMENT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_WIKIDATA_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- PREFIX_XSD - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- prepareBuild() - Method in class org.wikidata.wdtk.datamodel.helpers.AbstractDataObjectBuilder
-
Checks if the object has already been built, and throws an exception if yes.
- prepareDumpFile() - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFile
-
Prepares the dump file for access via
MwDumpFile.getDumpFileStream()
orMwDumpFile.getDumpFileReader()
. - prepareDumpFile() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- prepareDumpFile() - Method in class org.wikidata.wdtk.dumpfiles.wmf.JsonOnlineDumpFile
- prepareDumpFile() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
- prepareDumpFile() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfOnlineStandardDumpFile
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
-
Print some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.DataExtractionProcessor
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.EditOnlineDataExample
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.EditOnlineMediaInfoExample
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.FetchOnlineDataExample
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.GenderRatioProcessor
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.GreatestNumberProcessor
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.JsonSerializationProcessor
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.LifeExpectancyProcessor
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.LocalDumpFileExample
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.OnlineMediaInfoExample
-
Prints some basic documentation about this program.
- printDocumentation() - Static method in class org.wikidata.wdtk.examples.WorldMapProcessor
-
Prints some basic documentation about this program.
- printStatus() - Method in class org.wikidata.wdtk.examples.DataExtractionProcessor
-
Prints the current status, time and entity count.
- printStatus() - Method in class org.wikidata.wdtk.examples.GreatestNumberProcessor
-
Prints the current status, time and entity count.
- processAliases(List<MonolingualTextValue>, List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Processes changes on aliases, updating the planned state of the item.
- processAllRecentRevisionDumps() - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Processes all relevant page revision dumps in order.
- processDescriptions(List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Adds descriptions to the item.
- processDump(MwDumpFile) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Processes the contents of the given dump file.
- processDumpFileContents(InputStream, MwDumpFile) - Method in class org.wikidata.wdtk.dumpfiles.JsonDumpFileProcessor
-
Process dump file data from the given input stream.
- processDumpFileContents(InputStream, MwDumpFile) - Method in interface org.wikidata.wdtk.dumpfiles.MwDumpFileProcessor
-
Process dump file data from the given input stream.
- processDumpFileContents(InputStream, MwDumpFile) - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionDumpFileProcessor
- processDumpFileContents(InputStream, MwDumpFile) - Method in class org.wikidata.wdtk.dumpfiles.MwSitesDumpFileProcessor
- processEntitiesFromWikidataDump(EntityDocumentProcessor) - Static method in class org.wikidata.wdtk.examples.ExampleHelpers
-
Processes all entities in a Wikidata dump using the given entity processor.
- processEntityRedirectDocument(EntityRedirectDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
-
Processes the given EntityRedirectDocument.
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- processItemDocument(ItemDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
-
Processes the given ItemDocument.
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorBroker
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorFilter
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.bots.FixIntegerQuantityPrecisionsBot
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.DataExtractionProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.GenderRatioProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.GreatestNumberProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.JsonSerializationProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.LifeExpectancyProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.TutorialDocumentProcessor
-
Processes one item document.
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.examples.WorldMapProcessor
- processItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.rdf.RdfSerializer
- processItemRevision(MwRevision) - Method in class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
- processLabels(List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Adds labels to the item
- processLexemeDocument(LexemeDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- processLexemeDocument(LexemeDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
-
Processes the given LexemeDocument.
- processLexemeDocument(LexemeDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorBroker
- processLexemeDocument(LexemeDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorFilter
- processMediaInfoDocument(MediaInfoDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- processMediaInfoDocument(MediaInfoDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
-
Processes the given MediaInfoDocument.
- processMostRecentJsonDump() - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Processes the most recent main (complete) dump in JSON form that is available.
- processMostRecentMainDump() - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Processes the most recent main (complete) dump that is available.
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.datamodel.helpers.JsonSerializer
- processPropertyDocument(PropertyDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
-
Processes the given PropertyDocument.
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorBroker
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorFilter
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.examples.JsonSerializationProcessor
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.examples.TutorialDocumentProcessor
-
Processes one property document.
- processPropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.RdfSerializer
- processPropertyRevision(MwRevision) - Method in class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
- processRevision(MwRevision) - Method in interface org.wikidata.wdtk.dumpfiles.MwRevisionProcessor
-
Process the given MediaWiki revision.
- processRevision(MwRevision) - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionProcessorBroker
- processRevision(MwRevision) - Method in class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
- processRevision(MwRevision) - Method in class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
- projectName - Variable in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- PropertyContext - Enum in org.wikidata.wdtk.rdf
-
Enum to define the context in which a propery is used in the RDF export.
- PropertyDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for datasets that describe properties.
- PropertyDocumentBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder class to construct
PropertyDocument
objects. - PropertyDocumentBuilder(PropertyDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Constructor when building the property document from an existing one.
- PropertyDocumentBuilder(PropertyIdValue, DatatypeIdValue) - Constructor for class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Constructor when building the property document from scratch.
- PropertyDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
PropertyDocument
. - PropertyDocumentImpl(String, Map<String, MonolingualTextValue>, Map<String, MonolingualTextValue>, Map<String, List<MonolingualTextValue>>, Map<String, List<StatementImpl.PreStatement>>, String, long, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
-
Constructor.
- PropertyDocumentImpl(PropertyIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, DatatypeIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
-
Constructor for instances that are built manually, rather than from JSON.
- PropertyIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase Property.
- PropertyIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
PropertyIdValue
. - PropertyIdValueImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
-
Constructor.
- PropertyRegister - Class in org.wikidata.wdtk.rdf
-
This class helps to manage information about Properties that has to obtained by a webservice.
- PropertyRegister(String, ApiConnection, String) - Constructor for class org.wikidata.wdtk.rdf.PropertyRegister
-
Constructs a new property register.
- PropertyUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to property entity.
- PropertyUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
PropertyUpdate
objects. - PropertyUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
PropertyUpdate
. - PropertyUpdateImpl(PropertyIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.PropertyUpdateImpl
-
Initializes new property update.
- props - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of strings that define which data should be returned.
- PROV_WAS_DERIVED_FROM - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- PROV_WAS_DERIVED_FROM - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property "wasDerivedFrom" of the provenance ontology.
- proxy - Static variable in class org.wikidata.wdtk.util.WebResourceFetcherImpl
- put(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Adds or changes term.
- putSiteLink(SiteLink) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Adds or replaces site link.
Q
- QUALIFIER - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- QUALIFIER_SIMPLE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- QuantityValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A quantity value represents a number, possibly under some unit.
- QuantityValueConverter - Class in org.wikidata.wdtk.rdf.values
- QuantityValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.QuantityValueConverter
- QuantityValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
QuantityValue
. - QuantityValueImpl(BigDecimal, BigDecimal, BigDecimal, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
-
Deprecated.supply the unit as an ItemIdValue instead
- QuantityValueImpl(BigDecimal, BigDecimal, BigDecimal, ItemIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
-
Constructor.
R
- RandomGuidGenerator - Class in org.wikidata.wdtk.wikibaseapi
-
Generates fresh hashes for new statements, snaks or references, based on Java's own random generator (java.util.UUID).
- RandomGuidGenerator() - Constructor for class org.wikidata.wdtk.wikibaseapi.RandomGuidGenerator
- RankBuffer - Class in org.wikidata.wdtk.rdf
-
Holds information about the highest rank in an
EntityDocument
and the corresponding statement to generate BestRank triples. - RankBuffer() - Constructor for class org.wikidata.wdtk.rdf.RankBuffer
- RankedBitVector - Interface in org.wikidata.wdtk.storage.datastructures
-
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 - RankedBitVectorImpl - Class in org.wikidata.wdtk.storage.datastructures
-
Default implementation of
RankedBitVector
. - RankedBitVectorImpl() - Constructor for class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
-
Constructor of a ranked bit vector of size 0.
- RankedBitVectorImpl(long) - Constructor for class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
-
Constructor of a ranked bit vector of size initialSize.
- RankedBitVectorImpl(long, int, int) - Constructor for class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
-
Constructor of a ranked bit vector of size initialSize and block size blockSize.
- RankedBitVectorImpl(BitVector) - Constructor for class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
-
Copy constructor of a ranked bit vector.
- RDF_LANG_STRING - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RDF_TYPE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDF_TYPE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RdfConverter - Class in org.wikidata.wdtk.rdf
- RdfConverter(RdfWriter, Sites, PropertyRegister) - Constructor for class org.wikidata.wdtk.rdf.RdfConverter
- RDFS_LABEL - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDFS_LABEL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RDFS_LITERAL - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDFS_LITERAL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RDFS_SEE_ALSO - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDFS_SEE_ALSO - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RDFS_SUBCLASS_OF - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDFS_SUBCLASS_OF - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RDFS_SUBPROPERTY_OF - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- RDFS_SUBPROPERTY_OF - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- RdfSerializationExample - Class in org.wikidata.wdtk.examples
-
This class shows how convert data from wikidata.org to RDF in N-Triples format.
- RdfSerializationExample() - Constructor for class org.wikidata.wdtk.examples.RdfSerializationExample
- RdfSerializer - Class in org.wikidata.wdtk.rdf
-
This class implements
EntityDocumentDumpProcessor
to provide a RDF serializer to render RDF graphs ofEntityDocument
objects. - RdfSerializer(RDFFormat, OutputStream, Sites, PropertyRegister) - Constructor for class org.wikidata.wdtk.rdf.RdfSerializer
-
Creates a new RDF serializer for the specified format and output stream.
- RdfWriter - Class in org.wikidata.wdtk.rdf
-
This class provides methods for writing RDF data to an output stream.
- RdfWriter(RDFFormat, OutputStream) - Constructor for class org.wikidata.wdtk.rdf.RdfWriter
- RdfWriter(RDFWriter) - Constructor for class org.wikidata.wdtk.rdf.RdfWriter
- readTimeout - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Maximum time to wait for a server response once the connection was established.
- RECORD_ALL - Static variable in class org.wikidata.wdtk.util.Timer
-
Flag for indicating that all supported times should be taken.
- RECORD_CPUTIME - Static variable in class org.wikidata.wdtk.util.Timer
-
Flag for indicating that CPU time should be taken.
- RECORD_NONE - Static variable in class org.wikidata.wdtk.util.Timer
-
Flag for indicating that no times should be taken (just count runs).
- RECORD_WALLTIME - Static variable in class org.wikidata.wdtk.util.Timer
-
Flag for indicating that wall clock time should be taken.
- recreate(List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Replaces current alias list with completely new alias list.
- Reference - Interface in org.wikidata.wdtk.datamodel.interfaces
-
An interface for references in Wikidata.
- REFERENCE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- REFERENCE_SIMPLE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- ReferenceBuilder - Class in org.wikidata.wdtk.datamodel.helpers
- ReferenceBuilder() - Constructor for class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Constructor.
- ReferenceImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
Reference
. - ReferenceImpl(List<SnakGroup>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
-
Constructor.
- ReferenceImpl(Map<String, List<SnakImpl>>, List<String>, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
-
Constructor for deserialization from JSON.
- ReferenceRdfConverter - Class in org.wikidata.wdtk.rdf
-
This class supports the conversion of references to RDF.
- ReferenceRdfConverter(RdfWriter, SnakRdfConverter, String) - Constructor for class org.wikidata.wdtk.rdf.ReferenceRdfConverter
-
Constructor.
- registerEntityDocumentProcessor(EntityDocumentProcessor) - Method in class org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessorBroker
-
Registers a listener which will be called for all entity documents that are processed.
- registerEntityDocumentProcessor(EntityDocumentProcessor, String, boolean) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Registers an EntityDocumentProcessor, which will henceforth be notified of all entity documents that are encountered in the dump.
- registerMwRevisionProcessor(MwRevisionProcessor, String, boolean) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Registers an MwRevisionProcessor, which will henceforth be notified of all revisions that are encountered in the dump.
- registerMwRevisionProcessor(MwRevisionProcessor, String, boolean) - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionProcessorBroker
-
Registers an MwRevisionProcessor, which will henceforth be notified of all revisions that are encountered in the dump.
- remove() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorIterator
- remove() - Method in class org.wikidata.wdtk.util.NestedIterator
- remove(String) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Removes existing statement from the entity.
- remove(String) - Method in class org.wikidata.wdtk.datamodel.helpers.TermUpdateBuilder
-
Removes term.
- remove(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.AliasUpdateBuilder
-
Removed existing alias.
- removeForm(FormIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Removes existing form from the lexeme.
- removeSense(SenseIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Removes existing sense from the lexeme.
- removeSiteLink(String) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
-
Removes site link.
- removeStatements(Set<String>, Map<String, List<Statement>>) - Static method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Removes statement ids from a collection of statement groups.
- replace(Statement) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
-
Replaces existing statement in the entity.
- reset() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionDumpFileProcessor
-
Resets the internal state of the object.
- reset() - Method in class org.wikidata.wdtk.util.Timer
-
Stop the timer (if running) and reset all recorded values.
- resetNamedTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Reset a timer of the given string name for all todos and the current thread.
- resetNamedTimer(String, int) - Static method in class org.wikidata.wdtk.util.Timer
-
Reset a timer of the given string name for the current thread.
- resetNamedTimer(String, int, long) - Static method in class org.wikidata.wdtk.util.Timer
-
Reset a timer of the given string name for the given thread.
- revisionId - Variable in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
-
The revision id of this document.
S
- SCHEMA_ABOUT - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- SCHEMA_ABOUT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property "about" of schema.org.
- SCHEMA_ARTICLE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- SCHEMA_ARTICLE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikipedia articles.
- SCHEMA_DESCRIPTION - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- SCHEMA_DESCRIPTION - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property "description" of schema.org.
- SCHEMA_IN_LANGUAGE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- SCHEMA_IN_LANGUAGE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property "inLanguage" of schema.org.
- search - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
search for this text.
- searchEntities(String) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
- searchEntities(String, Long) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
- searchEntities(String, String) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
- searchEntities(String, String, Long) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
- searchEntities(WbGetEntitiesSearchData) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
- sendJsonRequest(String, Map<String, String>) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Sends a request to the API with the given parameters and the given request method and returns the result JSON tree.
- sendJsonRequest(String, Map<String, String>, Map<String, ImmutablePair<String, File>>) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Sends a request to the API with the given parameters and the given request method and returns the result JSON tree.
- sendRequest(String, Map<String, String>, Map<String, ImmutablePair<String, File>>) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Sends a request to the API with the given parameters and the given request method and returns the result string.
- SenseDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for lexemes senses.
- SenseDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
SenseDocument
. - SenseIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
The id of a Wikibase Lexeme Sense.
- SenseIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
SenseIdValue
. - SenseUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to sense entity.
- SenseUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
SenseUpdate
objects. - SenseUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
SenseUpdate
. - SenseUpdateImpl(SenseIdValue, long, TermUpdate, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SenseUpdateImpl
-
Initializes new sense update.
- setAverageTimePerEdit(int) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Sets the average time that a single edit should take, measured in milliseconds.
- setAverageTimePerEdit(int) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Sets the average time that a single edit should take, measured in milliseconds.
- setBit(long, boolean) - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
-
Sets a bit at a particular position.
- setBit(long, boolean) - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- setBit(long, boolean) - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- setConnectTimeout(int) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Sets the maximum time to wait for when establishing a connection, in milliseconds.
- setDirectory(Path) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
-
Create the given directory and all parent directories in our mocked view of the file system.
- setDirectoryManagerClass(Class<? extends DirectoryManager>) - Static method in class org.wikidata.wdtk.util.DirectoryManagerFactory
-
Sets the class of
DirectoryManager
that should be used when creating instances here. - setDownloadDirectory(String) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Sets the directory where dumpfiles are stored locally.
- setEditAsBot(boolean) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Switches the use of the bot parameter on or of.
- setFileContents(Path, String) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
-
Sets the contents of the file at the given path and creates all parent directories in our mocked view of the file system.
- setFileContents(Path, String, CompressionType) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
-
Sets the contents of the file at the given path and creates all parent directories in our mocked view of the file system.
- setGlobe(String) - Method in class org.wikidata.wdtk.examples.WorldMapProcessor
-
Sets the globe on which coordinates should be gathered.
- setGrammaticalFeatures(Collection<ItemIdValue>) - Method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Sets grammatical features of the form.
- setGuidGenerator(GuidGenerator) - Method in class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Sets the GUID generator for this statement update.
- SetLabelsForNumbersBot - Class in org.wikidata.wdtk.examples.bots
-
This bot adds a default label to Wikidata items that are about numbers, by simply creating a string for any integer number.
- SetLabelsForNumbersBot() - Constructor for class org.wikidata.wdtk.examples.bots.SetLabelsForNumbersBot
-
Constructor.
- setLanguage(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Sets lexeme language.
- setLanguageFilter(Set<String>) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Sets the (possibly empty) set of language codes that are used to filter data.
- setLanguageFilter(Set<String>) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Sets a language filter.
- setLexicalCategory(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Sets lexical category of the lexeme.
- setMaxLag(int) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Set the value of the maxlag parameter.
- setMaxLag(int) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Set the value of the maxlag parameter.
- setMaxLagBackOffFactor(double) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Factor by which the wait time between two maxlag retries should be multiplied at each attempt.
- setMaxLagBackOffFactor(double) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Factor by which the wait time between two maxlag retries should be multiplied at each attempt.
- setMaxLagFirstWaitTime(int) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Initial wait time in milliseconds, when an edit fails for the first time because of a high lag.
- setMaxLagFirstWaitTime(int) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Initial wait time in milliseconds, when an edit fails for the first time because of a high lag.
- setMaxLagMaxRetries(int) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Number of times we should retry if an editing action fails because the lag is too high.
- setMaxLagMaxRetries(int) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Number of times we should retry if an editing action fails because the lag is too high.
- setOfflineMode(boolean) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Disables or enables Web access.
- setPropertyFilter(Set<PropertyIdValue>) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Sets the (possibly empty) set of
PropertyIdValue
objects that are used to filter statements. - setPropertyFilter(Set<PropertyIdValue>) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Sets a property filter.
- setPropertyType(PropertyIdValue, String) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Sets datatypeIri an IRI of the primitive type of an Property for
PropertyIdValue
. - setPropertyTypeFromEntityIdValue(PropertyIdValue, EntityIdValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
EntityIdValue
objects. - setPropertyTypeFromGlobeCoordinatesValue(PropertyIdValue, GlobeCoordinatesValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
GlobeCoordinatesValue
objects. - setPropertyTypeFromMonolingualTextValue(PropertyIdValue, MonolingualTextValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
MonolingualTextValue
objects. - setPropertyTypeFromQuantityValue(PropertyIdValue, QuantityValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
QuantityValue
objects. - setPropertyTypeFromStringValue(PropertyIdValue, StringValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
StringValue
objects. - setPropertyTypeFromTimeValue(PropertyIdValue, TimeValue) - Method in class org.wikidata.wdtk.rdf.PropertyRegister
-
Returns the IRI of the primitive Type of an Property for
TimeValue
objects. - setProxy(Proxy) - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Sets the proxy that will be used for alle requests made by Wikidata Toolkit.
- setReadTimeout(int) - Method in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Sets the maximum time to wait for a server response once the connection was established, in milliseconds.
- setRemainingEdits(int) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Sets the number of edits that this object can still perform.
- setRemainingEdits(int) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Sets the number of edits that this object can still perform.
- setReportInterval(int) - Method in class org.wikidata.wdtk.dumpfiles.EntityTimerProcessor
-
Sets the interval after which the timer should report progress.
- setReturnFailingReaders(boolean) - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
-
When set to true, every operation that returns reader objects to access some file will return objects that fail with exceptions when trying to read the file.
- setReturnFailingReaders(boolean) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
When set to true, every operation that returns reader or stream objects to access some resource will return objects that fail with exceptions when trying to read data.
- setSiteInformation(String, String, String, String, String, String) - Method in class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- setSiteInformation(String, String, String, String, String, String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Sites
-
Sets the stored information for the site of the given key to the given values.
- setSiteLinkFilter(Set<String>) - Method in class org.wikidata.wdtk.datamodel.interfaces.DocumentDataFilter
-
Sets the (possibly empty) set of site keys that are used to filter
SiteLink
objects. - setSiteLinkFilter(Set<String>) - Method in class org.wikidata.wdtk.dumpfiles.DumpProcessingController
-
Sets a site link filter.
- setSnakContext(Resource, PropertyContext) - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
-
Sets the context in which snaks should be used.
- setTasks(int) - Method in class org.wikidata.wdtk.rdf.RdfConverter
-
Sets the tasks that should be performed during export.
- setTasks(int) - Method in class org.wikidata.wdtk.rdf.RdfSerializer
-
Sets the tasks that should be performed during export.
- setUserAgent(String) - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Sets the string that will be used to identify the user agent on all requests made by Wikidata Toolkit.
- setWebResourceContents(String, String) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
Defines the contents of a new web resource.
- setWebResourceContents(String, String, CompressionType) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
Defines the contents of a new web resource.
- setWebResourceContentsFromResource(String, String, Class<?>) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
Defines the contents of a new web resource by taking the string from a given (Java) resource.
- setWebResourceContentsFromResource(String, String, Class<?>, CompressionType) - Method in class org.wikidata.wdtk.testing.MockWebResourceFetcher
-
Defines the contents of a new web resource by taking the string from a given (Java) resource, possibly using additional compression.
- SITE_LOCAL - Static variable in interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
-
The site IRI of "local" identifiers.
- SITE_WIKIDATA - Static variable in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
The site IRI of Wikidata.
- SITE_WIKIMEDIA_COMMONS - Static variable in class org.wikidata.wdtk.datamodel.helpers.Datamodel
-
The site IRI of Wikimedia Commons.
- sitefilter - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of site keys for restricting site links.
- siteIri - Variable in class org.wikidata.wdtk.datamodel.implementation.EntityDocumentImpl
-
The site IRI that this document refers to, or null if not specified.
- siteKey - Variable in class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
- SiteLink - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A site link in Wikibase specifies a link to an article on another MediaWiki site, and a list of "badges" that this article holds.
- SiteLinkImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
SiteLink
. - SiteLinkImpl(String, String, List<ItemIdValue>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
-
Constructor.
- SitelinksExample - Class in org.wikidata.wdtk.examples
-
This class demonstrates how to get access to information about sitelinks in Wikidata.org.
- SitelinksExample() - Constructor for class org.wikidata.wdtk.examples.SitelinksExample
- SiteRecord(String) - Constructor for class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecord
- SiteRecordComparator() - Constructor for class org.wikidata.wdtk.examples.GenderRatioProcessor.SiteRecordComparator
- sites - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of site keys.
- Sites - Interface in org.wikidata.wdtk.datamodel.interfaces
-
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. - SITES - Enum constant in enum org.wikidata.wdtk.dumpfiles.DumpContentType
- SitesImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Implementation of the
Sites
interface that allows sites to be registered. - SitesImpl() - Constructor for class org.wikidata.wdtk.datamodel.implementation.SitesImpl
- size() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- size() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- size() - Method in interface org.wikidata.wdtk.storage.datastructures.BitVector
- size() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- size() - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- SKOS_ALT_LABEL - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- SKOS_ALT_LABEL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property "altLabel" of SKOS.
- Snak - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Snaks are the basic information structures used to describe Entities in Wikibase.
- SnakGroup - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A snak group represents an ordered list of
Snak
objects that use the same property. - SnakGroupImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Helper class to represent a
SnakGroup
deserialized from JSON. - SnakGroupImpl(List<Snak>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
-
Constructor.
- SnakImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Abstract Jackson implementation of
Snak
. - SnakImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Constructor.
- SnakImpl(PropertyIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
Constructor.
- SnakRdfConverter - Class in org.wikidata.wdtk.rdf
-
Class to convert Wikibase snaks to RDF.
- SnakRdfConverter(RdfWriter, OwlDeclarationBuffer, PropertyRegister, AnyValueConverter) - Constructor for class org.wikidata.wdtk.rdf.SnakRdfConverter
- SnakVisitor<T> - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A visitor for the various types of snaks in the datamodel.
- SomeValueSnak - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A SomeValueSnak represents the information that a given property has some value that is not speficied further.
- SomeValueSnakImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
SomeValueSnak
. - SomeValueSnakImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
-
Constructor for deserialization from JSON with Jackson.
- SomeValueSnakImpl(PropertyIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
-
Constructor.
- start() - Method in class org.wikidata.wdtk.rdf.RdfWriter
- start() - Method in class org.wikidata.wdtk.util.Timer
-
Start the timer.
- startNamedTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Start a timer of the given string name for all todos and the current thread.
- startNamedTimer(String, int) - Static method in class org.wikidata.wdtk.util.Timer
-
Start a timer of the given string name for the current thread.
- startNamedTimer(String, int, long) - Static method in class org.wikidata.wdtk.util.Timer
-
Start a timer of the given string name for the current thread.
- startRevisionProcessing(String, String, Map<Integer, String>) - Method in interface org.wikidata.wdtk.dumpfiles.MwRevisionProcessor
-
Initialises the revision processor for processing revisions.
- startRevisionProcessing(String, String, Map<Integer, String>) - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionProcessorBroker
- startRevisionProcessing(String, String, Map<Integer, String>) - Method in class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
- startRevisionProcessing(String, String, Map<Integer, String>) - Method in class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
- Statement - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for Wikibase Statments.
- STATEMENT - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- STATEMENT_GUID_SEPARATOR - Static variable in interface org.wikidata.wdtk.wikibaseapi.GuidGenerator
- StatementBuilder - Class in org.wikidata.wdtk.datamodel.helpers
- StatementBuilder(EntityIdValue, PropertyIdValue) - Constructor for class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Constructor.
- StatementDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for EntityDocuments that can have statements.
- StatementDocumentUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity that has statements.
- StatementDocumentUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
StatementDocumentUpdate
objects. - StatementDocumentUpdateBuilder(EntityIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Initializes new builder object for constructing update of entity with given ID.
- StatementDocumentUpdateBuilder(StatementDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Initializes new builder object for constructing update of given base entity revision.
- StatementDocumentUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
StatementDocumentUpdate
. - StatementDocumentUpdateImpl(EntityIdValue, long, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementDocumentUpdateImpl
-
Initializes new entity update.
- StatementGroup - Interface in org.wikidata.wdtk.datamodel.interfaces
- StatementGroupImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Helper class to represent a
StatementGroup
. - StatementGroupImpl(List<Statement>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
-
Constructor.
- StatementImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
Statement
. - StatementImpl(String, Snak, EntityIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementImpl
-
TODO review the utility of this constructor.
- StatementImpl(String, StatementRank, Snak, List<SnakGroup>, List<Reference>, EntityIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementImpl
-
Constructor.
- StatementImpl(String, StatementRank, Snak, Map<String, List<Snak>>, List<String>, List<Reference>, EntityIdValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- StatementImpl.PreStatement - Class in org.wikidata.wdtk.datamodel.implementation
-
Helper class for deserializing statements from JSON.
- StatementRank - Enum in org.wikidata.wdtk.datamodel.interfaces
-
Enum for the possible ranks of Wikibase Statements.
- StatementUpdate - Class in org.wikidata.wdtk.wikibaseapi
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Class to plan a statement update operation. - StatementUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of statement changes.
- StatementUpdate(StatementDocument, List<Statement>, List<Statement>) - Constructor for class org.wikidata.wdtk.wikibaseapi.StatementUpdate
-
Deprecated.Constructor.
- StatementUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
StatementUpdate
objects. - StatementUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
StatementUpdate
. - StatementUpdateImpl(Collection<Statement>, Collection<Statement>, Collection<String>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StatementUpdateImpl
-
Initializes new statement update.
- StatisticsMwRevisionProcessor - Class in org.wikidata.wdtk.dumpfiles
-
A simple revision processor that counts some basic figures and logs the result.
- StatisticsMwRevisionProcessor(String, int) - Constructor for class org.wikidata.wdtk.dumpfiles.StatisticsMwRevisionProcessor
-
Constructor.
- stop() - Method in class org.wikidata.wdtk.util.Timer
-
Stop the timer and record the times that have passed since its start.
- stopNamedTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Stop a timer of the given string name for all todos and the current thread.
- stopNamedTimer(String, int) - Static method in class org.wikidata.wdtk.util.Timer
-
Stop a timer of the given string name for the current thread.
- stopNamedTimer(String, int, long) - Static method in class org.wikidata.wdtk.util.Timer
-
Stop a timer of the given string name for the given thread.
- storeResults() - Method in class org.wikidata.wdtk.examples.TutorialDocumentProcessor
-
Stores the processing results in a file.
- strictlanguage - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
whether to disable language fallback.
- StringValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
String Values represent a single string.
- StringValueConverter - Class in org.wikidata.wdtk.rdf.values
- StringValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.StringValueConverter
- StringValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
StringValue
. - StringValueImpl(String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
-
Constructor for deserialization from JSON by Jackson.
T
- TagsApplyNotAllowedException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Error thrown when one of the supplied tags for an edit does not exist or cannot be applied manually.
- TagsApplyNotAllowedException(String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.TagsApplyNotAllowedException
-
Creates a new exception.
- TASK_ALIASES - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_ALL_ENTITIES - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_ALL_EXACT_DATA - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_DATATYPES - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_DESCRIPTIONS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_ITEMS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_LABELS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_PROPERTIES - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_PROPERTY_LINKS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_SIMPLE_STATEMENTS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_SITELINKS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_STATEMENTS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TASK_TERMS - Static variable in class org.wikidata.wdtk.rdf.RdfSerializer
- TermedDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Interface for EntityDocuments that can be described by terms in several languages.
- TermedDocumentUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity that has labels, aliases, and descriptions.
- TermedDocumentUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
TermedStatementDocumentUpdate
objects. - TermedDocumentUpdateBuilder(EntityIdValue, long) - Constructor for class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Initializes new builder object for constructing update of entity with given ID.
- TermedDocumentUpdateBuilder(TermedStatementDocument) - Constructor for class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Initializes new builder object for constructing update of given base entity revision.
- TermedDocumentUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
TermedStatementDocumentUpdate
. - TermedDocumentUpdateImpl(EntityIdValue, long, TermUpdate, TermUpdate, Map<String, AliasUpdate>, StatementUpdate) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermedDocumentUpdateImpl
-
Initializes new entity update.
- TermedStatementDocument - Interface in org.wikidata.wdtk.datamodel.interfaces
-
This interface just joins
TermedDocument
andStatementDocument
. - TermedStatementDocumentImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Abstract Jackson implementation of
TermedDocument
andStatementDocument
. - TermedStatementDocumentImpl(EntityIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<StatementGroup>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Constructor.
- TermedStatementDocumentImpl(EntityIdValue, Map<String, MonolingualTextValue>, Map<String, MonolingualTextValue>, Map<String, List<MonolingualTextValue>>, Map<String, List<Statement>>, long) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
-
Protected constructor provided to ease the creation of copies.
- TermedStatementDocumentUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes that can be applied to an entity that has labels, aliases, descriptions, and statements.
- TermImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson representation of
MonolingualTextValue
data used in labels, aliases, and descriptions in JSON. - TermImpl(String, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermImpl
-
Create a new object from the given data.
- TermImpl(MonolingualTextValue) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermImpl
-
Copy constructor.
- TermStatementUpdate - Class in org.wikidata.wdtk.wikibaseapi
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. This class extends StatementUpdate to support update to terms (labels, descriptions and aliases). Various safeguards are implemented in this interface: - aliases are added and deleted independently - duplicate aliases cannot be added - adding an alias in a language that does not have a label sets the label instead - TermStatementUpdate(TermedStatementDocument, List<Statement>, List<Statement>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>) - Constructor for class org.wikidata.wdtk.wikibaseapi.TermStatementUpdate
-
Deprecated.Constructor.
- TermUpdate - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Collection of changes made to terms (labels, descriptions, ...).
- TermUpdateBuilder - Class in org.wikidata.wdtk.datamodel.helpers
-
Builder for incremental construction of
TermUpdate
objects. - TermUpdateImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
TermUpdate
. - TermUpdateImpl(Collection<MonolingualTextValue>, Collection<String>) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TermUpdateImpl
-
Initializes new term update.
- throwMediaWikiApiErrorException(String, String) - Static method in class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler
-
Creates and throws a suitable
MediaWikiApiErrorException
for the given error code and message. - TIMEOUT_SEC - Static variable in class org.wikidata.wdtk.examples.ExampleHelpers
-
Timeout to abort processing after a short while or 0 to disable timeout.
- TimeoutException() - Constructor for exception org.wikidata.wdtk.dumpfiles.EntityTimerProcessor.TimeoutException
- Timer - Class in org.wikidata.wdtk.util
-
Class for keeping CPU and system times.
- Timer(String, int) - Constructor for class org.wikidata.wdtk.util.Timer
-
Constructor.
- Timer(String, int, long) - Constructor for class org.wikidata.wdtk.util.Timer
-
Constructor.
- TimeValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Time values represent points and intervals in time, and additional information about their format.
- TimeValueConverter - Class in org.wikidata.wdtk.rdf.values
- TimeValueConverter(RdfWriter, PropertyRegister, OwlDeclarationBuffer) - Constructor for class org.wikidata.wdtk.rdf.values.TimeValueConverter
- TimeValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
TimeValue
. - TimeValueImpl(long, byte, byte, byte, byte, byte, byte, int, int, int, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
-
Constructor.
- titles - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
-
List of page titles.
- toGregorian() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- toGregorian() - Method in interface org.wikidata.wdtk.datamodel.interfaces.TimeValue
-
Convert the value to the Gregorian calendar, if possible.
- toHttpCookie() - Method in class org.wikidata.wdtk.wikibaseapi.BasicApiConnection.HttpCookieWrapper
- TokenErrorException - Exception in org.wikidata.wdtk.wikibaseapi.apierrors
-
Exception to indicate a MediaWiki API error caused by missing or invalid token.
- TokenErrorException(String, String) - Constructor for exception org.wikidata.wdtk.wikibaseapi.apierrors.TokenErrorException
-
Creates a new exception.
- tokens - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
Map of requested tokens.
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.ClaimImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.DatatypeIdImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.FormIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.GlobeCoordinatesValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.ItemIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.MonolingualTextValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.NoValueSnakImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.QuantityValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.ReferenceImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.SenseIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.SiteLinkImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.SnakGroupImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.SomeValueSnakImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.StringValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.TermImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.TimeValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedEntityIdValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.UnsupportedValueImpl
- toString() - Method in class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
- toString() - Method in class org.wikidata.wdtk.dumpfiles.MwLocalDumpFile
- toString() - Method in class org.wikidata.wdtk.dumpfiles.MwRevisionImpl
- toString() - Method in class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- toString() - Method in class org.wikidata.wdtk.storage.datastructures.BitVectorImpl
- toString() - Method in class org.wikidata.wdtk.storage.datastructures.RankedBitVectorImpl
- toString() - Method in class org.wikidata.wdtk.testing.MockDirectoryManager
- toString() - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
- toString() - Method in class org.wikidata.wdtk.util.Timer
-
The implementation of toString() generates a summary of the times recorded so far.
- toString() - Method in class org.wikidata.wdtk.wikibaseapi.EditingResult
- toString(Claim) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(DatatypeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(EntityRedirectDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(FormDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(FormIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(GlobeCoordinatesValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(ItemDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(ItemIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(LexemeDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(LexemeIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(MediaInfoDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(MediaInfoIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(MonolingualTextValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(NoValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(PropertyDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(PropertyIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(QuantityValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(Reference) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(SenseDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(SenseIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(SiteLink) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(SnakGroup) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(SomeValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(Statement) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(StatementGroup) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(StringValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(TimeValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(UnsupportedEntityIdValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(UnsupportedValue) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- toString(ValueSnak) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given object.
- ToString - Class in org.wikidata.wdtk.datamodel.helpers
-
Static class for computing a toString of arbitrary data objects using only their Stringerfaces.
- ToString() - Constructor for class org.wikidata.wdtk.datamodel.helpers.ToString
- toStringForStatementDocument(StatementDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
- toStringForTermedDocument(TermedDocument) - Static method in class org.wikidata.wdtk.datamodel.helpers.ToString
-
Returns a human-readable string representation of the given
TermedDocument
. - TutorialDocumentProcessor - Class in org.wikidata.wdtk.examples
-
This is a simple template for an
EntityDocumentProcessor
that can be modified to try your own code. - TutorialDocumentProcessor() - Constructor for class org.wikidata.wdtk.examples.TutorialDocumentProcessor
- TutorialExample - Class in org.wikidata.wdtk.examples
-
This example application applies an
EntityDocumentProcessor
to all documents in a Wikidata dump file. - TutorialExample() - Constructor for class org.wikidata.wdtk.examples.TutorialExample
- type - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
search for this type of entity One of the following values: item, property.
U
- UNKNOWN - Enum constant in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Value for unknown response text
- UnsupportedEntityIdValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Represents a entity id value of an unsupported type.
- UnsupportedEntityIdValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Represents a entity id value of an unsupported type.
- UnsupportedValue - Interface in org.wikidata.wdtk.datamodel.interfaces
-
Represents a value with an unsupported datatype.
- UnsupportedValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Represents a value with an unsupported datatype.
- updateAliases(String, AliasUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
- updateAliases(String, AliasUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
- updateAliases(String, AliasUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Updates entity aliases.
- updateDescriptions(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
- updateDescriptions(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
- updateDescriptions(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
-
Updates entity descriptions.
- updateForm(FormUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Updates existing form in the lexeme.
- updateGlosses(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
-
Updates sense glosses.
- updateLabels(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
- updateLabels(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
-
Updates entity labels.
- updateLabels(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
- updateLabels(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
- updateLabels(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
- updateLemmas(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Updates lemmas.
- updateRepresentations(TermUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
-
Updates form representations.
- updateSense(SenseUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
-
Updates existing sense in the lexeme.
- updateStatements(ItemIdValue, List<Statement>, List<Statement>, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Updates the statements of the item document identified by the given item id. The updates are computed with respect to the current data found online, making sure that no redundant deletions or duplicate insertions happen. The references of duplicate statements will be merged. - updateStatements(PropertyIdValue, List<Statement>, List<Statement>, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Updates the statements of the property document identified by the given property id. The computation of updates is the same as forWikibaseDataEditor.updateStatements(ItemIdValue, List, List, String, List)
. - updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.FormUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LabeledDocumentUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.MediaInfoUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.SenseUpdateBuilder
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementDocumentUpdateBuilder
-
Updates entity statements.
- updateStatements(StatementUpdate) - Method in class org.wikidata.wdtk.datamodel.helpers.TermedDocumentUpdateBuilder
- updateStatements(T, List<Statement>, List<Statement>, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Updates statements of the given document. The document should be the current revision of the data that is to be updated. The updates are computed with respect to the data found in the document, making sure that no redundant deletions or duplicate insertions happen. The references of duplicate statements will be merged.The generic type T of this method must be a general interface such as
ItemDocument
,PropertyDocument
, orStatementDocument
. Specific implementations of these interfaces are not permitted. - updateTermsStatements(ItemIdValue, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<Statement>, List<Statement>, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Updates the terms and statements of the item document identified by the given item id. The updates are computed with respect to the current data found online, making sure that no redundant deletions or duplicate insertions happen. The references of duplicate statements will be merged. The labels and aliases in a given language are kept distinct. - updateTermsStatements(T, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<MonolingualTextValue>, List<Statement>, List<Statement>, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Deprecated.Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead. Updates the terms and statements of the current document. The updates are computed with respect to the current data in the document, making sure that no redundant deletions or duplicate insertions happen. The references of duplicate statements will be merged. The labels and aliases in a given language are kept distinct. - uriPatterns - Variable in class org.wikidata.wdtk.rdf.PropertyRegister
-
Map that stores the URI patterns of properties.
- URL_TEST_WIKIDATA_API - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
URL of the API of test.wikidata.org.
- URL_WIKIDATA_API - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
URL of the API of wikidata.org.
- URL_WIKIMEDIA_COMMONS_API - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
URL of the API of commons.wikimedia.org.
- URLENCODED_MEDIA_TYPE - Static variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
- uselang - Variable in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
-
get response in this language.
- userAgent - Static variable in class org.wikidata.wdtk.util.WebResourceFetcherImpl
- username - Variable in class org.wikidata.wdtk.wikibaseapi.ApiConnection
-
User name used to log in.
V
- Value - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A Value is the most general kind of object in the Wikibase datamodel.
- VALUE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- VALUE_SIMPLE - Enum constant in enum org.wikidata.wdtk.rdf.PropertyContext
- ValueConverter<V extends Value> - Interface in org.wikidata.wdtk.rdf.values
-
Interface for classes that convert one type of Wikibase data value into a RDF.
- ValueImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Abstract Jackson implementation of
Value
. - ValueImpl(String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ValueImpl
-
Constructor.
- valueOf(String) - Static method in enum org.wikidata.wdtk.datamodel.interfaces.StatementRank
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.dumpfiles.DumpContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.rdf.AbstractRdfConverter.TermKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.rdf.PropertyContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.util.CompressionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.wikidata.wdtk.datamodel.interfaces.StatementRank
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.dumpfiles.DumpContentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.examples.ExampleHelpers.DumpProcessingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.rdf.AbstractRdfConverter.TermKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.rdf.PropertyContext
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.util.CompressionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.wikidata.wdtk.wikibaseapi.LoginValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueSnak - Interface in org.wikidata.wdtk.datamodel.interfaces
-
ValueSnaks represent property-value pairs, where the property are represented by a
PropertyIdValue
and the value is represented by aValue
. - ValueSnakImpl - Class in org.wikidata.wdtk.datamodel.implementation
-
Jackson implementation of
ValueSnak
. - ValueSnakImpl(String, String, Value, String) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
-
Constructor used to deserialize from JSON with Jackson.
- ValueSnakImpl(PropertyIdValue, Value) - Constructor for class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
-
Constructor.
- ValueVisitor<T> - Interface in org.wikidata.wdtk.datamodel.interfaces
-
A visitor for the various types of values in the datamodel.
- visit(EntityIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(EntityIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a EntityIdValue and returns a result.
- visit(EntityIdValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(GlobeCoordinatesValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(GlobeCoordinatesValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a GlobeCoordinatesValue and returns a result.
- visit(GlobeCoordinatesValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a MonolingualTextValue and returns a result.
- visit(MonolingualTextValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(NoValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(NoValueSnak) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SnakVisitor
-
Visits a NoValueSnak and returns a result.
- visit(NoValueSnak) - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
- visit(QuantityValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(QuantityValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a QuantityValue and returns a result.
- visit(QuantityValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(SomeValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(SomeValueSnak) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SnakVisitor
-
Visits a SomeValueSnak and returns a result.
- visit(SomeValueSnak) - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
- visit(StringValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(StringValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a StringValue and returns a result.
- visit(StringValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(TimeValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(TimeValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits a TimeValue and returns a result.
- visit(TimeValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(UnsupportedValue) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(UnsupportedValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ValueVisitor
-
Visits an UnsupportedValue and returns a result
- visit(UnsupportedValue) - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- visit(ValueSnak) - Method in class org.wikidata.wdtk.datamodel.helpers.DatamodelConverter
- visit(ValueSnak) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SnakVisitor
-
Visits a ValueSnak and returns a result.
- visit(ValueSnak) - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
- Vocabulary - Class in org.wikidata.wdtk.rdf
-
This class contains static methods and constants that define the various OWL and RDF vocabularies that are used in the export.
- Vocabulary() - Constructor for class org.wikidata.wdtk.rdf.Vocabulary
W
- WB_BADGE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_BADGE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- WB_BEST_RANK - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_BEST_RANK - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase best rank.
- WB_CLAIM_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their statement properties (linking entities to statements).
- WB_DEPRECATED_RANK - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- WB_DIRECT_CLAIM_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their direct value properties (linking entities to their simplified statement's main values).
- WB_GEO_GLOBE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_GEO_GLOBE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the globe of a globe coordinates value.
- WB_GEO_LATITUDE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_GEO_LATITUDE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the latitude of a globe coordinates value.
- WB_GEO_LONGITUDE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_GEO_LONGITUDE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the longitude of a globe coordinates value.
- WB_GEO_PRECISION - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_GEO_PRECISION - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the precision of a globe coordinates value.
- WB_GLOBE_COORDINATES_VALUE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_GLOBE_COORDINATES_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase globe coordinates values.
- WB_ITEM - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_ITEM - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase items.
- WB_NO_QUALIFIER_VALUE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their no-value classes for qualifiers.
- WB_NO_UNIT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
IRI used as the unit of quantities that have no unit.
- WB_NO_VALUE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their main no-value classes.
- WB_NORMAL_RANK - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- WB_PREFERRED_RANK - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- WB_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_PROPERTY - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase properties.
- WB_PROPERTY_TYPE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_PROPERTY_TYPE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the datatype of a Wikibase property.
- WB_QUALIFIER_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their qualifier properties (linking to a statement's qualifier value).
- WB_QUALIFIER_VALUE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their qualifier value properties (linking to a statement's qualifier value).
- WB_QUANTITY_AMOUNT - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_QUANTITY_AMOUNT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the numeric value of a quantity value.
- WB_QUANTITY_LOWER_BOUND - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_QUANTITY_LOWER_BOUND - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the lower bound of a quantity value.
- WB_QUANTITY_UNIT - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_QUANTITY_UNIT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the unit of a quantity value.
- WB_QUANTITY_UPPER_BOUND - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_QUANTITY_UPPER_BOUND - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the upper bound of a quantity value.
- WB_QUANTITY_VALUE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_QUANTITY_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase quantity values.
- WB_RANK - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_RANK - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for Wikibase rank.
- WB_REFERENCE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_REFERENCE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase references.
- WB_REFERENCE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their reference properties.
- WB_REFERENCE_VALUE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their reference value properties.
- WB_STATEMENT - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_STATEMENT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase statements.
- WB_STATEMENT_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their statement main value properties (linking to a statement's main value).
- WB_STATEMENT_VALUE_PROP - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for connecting Wikibase property entities to their statement main value properties, value version (linking to a statement's main value).
- WB_TIME - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_TIME - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the time point of a time value.
- WB_TIME_CALENDAR_MODEL - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_TIME_CALENDAR_MODEL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the preferred calendar of a time value.
- WB_TIME_PRECISION - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_TIME_PRECISION - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the precision of a time value.
- WB_TIME_TIMEZONE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_TIME_TIMEZONE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Property for defining the timezone of a time value.
- WB_TIME_VALUE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- WB_TIME_VALUE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
-
Class for Wikibase time values.
- wbEditEntity(String, String, String, String, String, boolean, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbeditentity" for the given parameters.
- WbEditingAction - Class in org.wikidata.wdtk.wikibaseapi
-
Java implementation for the wbeditentity API action.
- WbEditingAction(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Creates an object to modify data on a Wikibase site.
- wbGetEntities(String, String, String, String, String, String) - Method in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesAction
-
Creates a map of identifiers or page titles to documents retrieved via the API.
- wbGetEntities(WbGetEntitiesActionData) - Method in class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesAction
-
Creates a map of identifiers or page titles to documents retrieved via the API URL
- WbGetEntitiesAction - Class in org.wikidata.wdtk.wikibaseapi
-
Java implementation of the wbgetentities action.
- WbGetEntitiesAction(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesAction
-
Creates an object to fetch data from the given ApiConnection.
- WbGetEntitiesActionData - Class in org.wikidata.wdtk.wikibaseapi
-
This class is a simple record that holds the properties of an wbgetentities action request.
- WbGetEntitiesActionData() - Constructor for class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesActionData
- WbGetEntitiesSearchData - Class in org.wikidata.wdtk.wikibaseapi
-
This class is a simple record that holds the properties of an wbgetentities action request.
- WbGetEntitiesSearchData() - Constructor for class org.wikidata.wdtk.wikibaseapi.WbGetEntitiesSearchData
- wbRemoveClaims(List<String>, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbremoveclaims" for the given parameters.
- wbSearchEntities(String, String, Boolean, String, Long, Long) - Method in class org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesAction
-
Keeping this for backwards compatibility, the real action happens in
WbSearchEntitiesAction.wbSearchEntities(String, String, Boolean, String, Long, Long, String)
- wbSearchEntities(String, String, Boolean, String, Long, Long, String) - Method in class org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesAction
-
Executes the API action "wbsearchentity" for the given parameters.
- wbSearchEntities(WbGetEntitiesSearchData) - Method in class org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesAction
- WbSearchEntitiesAction - Class in org.wikidata.wdtk.wikibaseapi
-
Java implementation of the wbsearchentities action.
- WbSearchEntitiesAction(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.WbSearchEntitiesAction
-
Creates an object to fetch data from the given ApiConnection.
- WbSearchEntitiesResult - Interface in org.wikidata.wdtk.wikibaseapi
-
Represents the result of a wbsearchentities action.
- WbSearchEntitiesResult.Match - Interface in org.wikidata.wdtk.wikibaseapi
-
Represents information about how a document matched the query
- wbSetAliases(String, String, String, String, String, List<String>, List<String>, List<String>, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbsetaliases" for the given parameters.
- wbSetClaim(String, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbsetclaim" for the given parameters.
- wbSetDescription(String, String, String, String, String, String, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbsetlabel" for the given parameters.
- wbSetLabel(String, String, String, String, String, String, boolean, long, String, List<String>) - Method in class org.wikidata.wdtk.wikibaseapi.WbEditingAction
-
Executes the API action "wbsetlabel" for the given parameters.
- WebResourceFetcher - Interface in org.wikidata.wdtk.util
-
Interface to access files on the Web.
- WebResourceFetcherImpl - Class in org.wikidata.wdtk.util
-
Standard implementation of
WebResourceFetcher
. - WebResourceFetcherImpl() - Constructor for class org.wikidata.wdtk.util.WebResourceFetcherImpl
- webResources - Variable in class org.wikidata.wdtk.testing.MockWebResourceFetcher
- WikibaseDataEditor - Class in org.wikidata.wdtk.wikibaseapi
-
Class that provides high-level editing functionality for Wikibase data.
- WikibaseDataEditor(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates an object to edit data via the Web API of the given
ApiConnection
object. - WikibaseDataEditor(ApiConnection, String, GuidGenerator) - Constructor for class org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor
-
Creates an object to edit data via the Web API of the given
ApiConnection
object. - WikibaseDataFetcher - Class in org.wikidata.wdtk.wikibaseapi
-
Simple class to fetch data from Wikibase via the online API.
- WikibaseDataFetcher(ApiConnection, String) - Constructor for class org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher
-
Creates an object to fetch data from API with the given
ApiConnection
object. - WikibaseRevisionProcessor - Class in org.wikidata.wdtk.dumpfiles
-
A revision processor that processes Wikibase entity content from a dump file.
- WikibaseRevisionProcessor(EntityDocumentProcessor, String) - Constructor for class org.wikidata.wdtk.dumpfiles.WikibaseRevisionProcessor
-
Constructor.
- WikimediaLanguageCodes - Class in org.wikidata.wdtk.datamodel.interfaces
-
This class helps to interpret Wikimedia language codes in terms of official BCP 47 language codes.
- WikimediaLanguageCodes() - Constructor for class org.wikidata.wdtk.datamodel.interfaces.WikimediaLanguageCodes
- withAlias(String, String) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional alias to the constructed document.
- withAlias(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional alias to the constructed document.
- withAliases(String, List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withAliases(String, List<MonolingualTextValue>) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withAliases(String, List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withAliases(String, List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withAliases(String, List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Returns a new version of this document with a new list of aliases for the given language code.
- withAliases(String, List<MonolingualTextValue>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withAliases(Map<String, List<MonolingualTextValue>>, String, List<MonolingualTextValue>) - Static method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- withDescription(String, String) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional description to the constructed document.
- withDescription(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional description to the constructed document.
- withDescription(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withDescription(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withDescription(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withDescription(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withDescription(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Returns a new version of this document with a new description (which overrides any existing description).
- withDescription(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withEntityId(EntityIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Changes the entity value id for the constructed document.
- withEntityId(EntityIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Changes the entity value id for the constructed document.
- withEntityId(EntityIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.PropertyDocumentBuilder
-
Changes the entity value id for the constructed document.
- withEntityId(FormIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withEntityId(FormIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Returns a new version of this document with updated ID.
- withEntityId(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withEntityId(ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
-
Returns a new version of this document with updated ID.
- withEntityId(LexemeIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withEntityId(LexemeIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Returns a new version of this document with updated ID.
- withEntityId(MediaInfoIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- withEntityId(MediaInfoIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
-
Returns a new version of this document with updated ID.
- withEntityId(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withEntityId(PropertyIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
-
Returns a new version of this document with updated ID.
- withEntityId(SenseIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- withEntityId(SenseIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Returns a new version of this document with updated ID.
- withForm(FormDocument) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withForm(FormDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Adds a
FormDocument
to this lexeme. - withGloss(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- withGloss(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
- withGrammaticalFeature(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withGrammaticalFeature(ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
- withId(String) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Sets the id for the constructed statement.
- withLabel(String, String) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional label to the constructed document.
- withLabel(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional label to the constructed document.
- withLabel(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withLabel(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- withLabel(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocument
-
Returns a new version of this document with a new label (which overrides any existing label for this language).
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledStatementDocument
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Returns a new version of this document with a new label (which overrides any existing label for this language).
- withLabel(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withLanguage(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withLanguage(ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
- withLemma(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withLemma(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
- withLexicalCategory(ItemIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withLexicalCategory(ItemIdValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
- withNoValue() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Sets the main snak of the statement to be a {
NoValueSnak
. - withNoValue(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Adds a
NoValueSnak
with the given property to the constructed reference. - withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withoutStatementIds(Set<String>) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Returns a new version of this document where all statements matching any of the statement ids provided have been removed.
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledStatementDocument
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Returns a new version of this document where all statements matching any of the statement ids provided have been removed.
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Returns a new version of this document where all statements matching any of the statement ids provided have been removed.
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns a new version of this document where all statements matching any of the statement ids provided have been removed.
- withoutStatementIds(Set<String>) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withPropertyValue(PropertyIdValue, Value) - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Adds the given property and value to the constructed reference.
- withQualifier(Snak) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a qualifier
Snak
to the constructed statement. - withQualifierNoValue(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a
NoValueSnak
qualifier with the given property to the constructed statement. - withQualifiers(List<SnakGroup>) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds all qualifiers from the given list of
SnakGroup
to the constructed statement. - withQualifiers(SnakGroup) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds all qualifiers from the given
SnakGroup
to the constructed statement. - withQualifierSomeValue(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a
SomeValueSnak
qualifier with the given property to the constructed statement. - withQualifierValue(PropertyIdValue, Value) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a qualifier with the given property and value to the constructed statement.
- withRank(StatementRank) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Sets the rank for the constructed statement.
- withReference(Reference) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a reference to the constructed statement.
- withReferences(List<? extends Reference>) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Adds a list of references to the constructed statement.
- withRepresentation(MonolingualTextValue) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withRepresentation(MonolingualTextValue) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Sets the revision id for the constructed document.
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.EntityRedirectDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withRevisionId(long) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.EntityRedirectDocument
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledStatementDocument
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedDocument
-
Returns a copy of this document with an updated revision id.
- withRevisionId(long) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withSense(SenseDocument) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withSense(SenseDocument) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Adds a
SenseDocument
to this lexeme. - withSiteLink(String, String, ItemIdValue...) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Adds an additional site link to the constructed document.
- withSiteLink(SiteLink) - Method in class org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
-
Adds an additional site link to the constructed document.
- withSomeValue() - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Sets the main snak of the statement to be a {
SomeValueSnak
. - withSomeValue(PropertyIdValue) - Method in class org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
-
Adds a
SomeValueSnak
with the given property to the constructed reference. - withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.helpers.EntityDocumentBuilder
-
Adds an additional statement to the constructed document.
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.FormDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.ItemDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.LexemeDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.MediaInfoDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.PropertyDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.SenseDocumentImpl
- withStatement(Statement) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementGroupImpl
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.FormDocument
-
Returns a new version of this document which includes the statement provided.
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.ItemDocument
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LabeledStatementDocument
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
-
Returns a new version of this document which includes the statement provided.
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.SenseDocument
-
Returns a new version of this document which includes the statement provided.
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementDocument
-
Returns a new version of this document which includes the statement provided.
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.StatementGroup
-
Returns a new version of this group, where the given statement has been added.
- withStatement(Statement) - Method in interface org.wikidata.wdtk.datamodel.interfaces.TermedStatementDocument
- withStatementId(String) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl
- withStatementId(String) - Method in interface org.wikidata.wdtk.datamodel.interfaces.Statement
-
Returns the same statement, but with a different identifier.
- withSubject(EntityIdValue) - Method in class org.wikidata.wdtk.datamodel.implementation.StatementImpl.PreStatement
- withTerm(Map<String, MonolingualTextValue>, MonolingualTextValue) - Static method in class org.wikidata.wdtk.datamodel.implementation.TermedStatementDocumentImpl
- withValue(Value) - Method in class org.wikidata.wdtk.datamodel.helpers.StatementBuilder
-
Sets the main value for the constructed statement.
- WmfDumpFile - Class in org.wikidata.wdtk.dumpfiles.wmf
-
Abstract base class for dump files provided by the Wikimedia Foundation.
- WmfDumpFile(String, String) - Constructor for class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFile
- WmfDumpFileManager - Class in org.wikidata.wdtk.dumpfiles.wmf
-
Class for providing access to available dumpfiles provided by the Wikimedia Foundation.
- WmfDumpFileManager(String, DirectoryManager, WebResourceFetcher) - Constructor for class org.wikidata.wdtk.dumpfiles.wmf.WmfDumpFileManager
-
Constructor.
- WmfLocalDumpFile - Class in org.wikidata.wdtk.dumpfiles.wmf
-
Class for representing dump files published by the Wikimedia Foundation, and previously downloaded to a local directory.
- WmfLocalDumpFile(String, String, DirectoryManager, DumpContentType) - Constructor for class org.wikidata.wdtk.dumpfiles.wmf.WmfLocalDumpFile
-
Constructor.
- WmfOnlineStandardDumpFile - Class in org.wikidata.wdtk.dumpfiles.wmf
-
Class for representing dump files published by the Wikimedia Foundation in the main common location of all dump files.
- WmfOnlineStandardDumpFile(String, String, WebResourceFetcher, DirectoryManager, DumpContentType) - Constructor for class org.wikidata.wdtk.dumpfiles.wmf.WmfOnlineStandardDumpFile
-
Constructor.
- WorldMapProcessor - Class in org.wikidata.wdtk.examples
-
This example class processes EntityDocuments to create a map image that shows the distribution of items with geographic coordinates on Earth.
- WorldMapProcessor(int, double) - Constructor for class org.wikidata.wdtk.examples.WorldMapProcessor
-
Creates a new processor for building world maps.
- writeAuxiliaryTriples() - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
-
Writes all auxiliary triples that have been buffered recently.
- writeAuxiliaryTriples() - Method in class org.wikidata.wdtk.rdf.values.AbstractValueConverter
- writeAuxiliaryTriples() - Method in class org.wikidata.wdtk.rdf.values.AnyValueConverter
- writeAuxiliaryTriples() - Method in class org.wikidata.wdtk.rdf.values.BufferedValueConverter
- writeAuxiliaryTriples() - Method in interface org.wikidata.wdtk.rdf.values.ValueConverter
-
Writes auxiliary triples that might be needed to encode a Wikibase value in RDF.
- writeBasicDeclarations() - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
-
Writes OWL declarations for all basic vocabulary elements used in the dump.
- writeClaim(Resource, Claim) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeDocumentTerms(TermedDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeDocumentType(Resource, IRI) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeFinalData() - Method in class org.wikidata.wdtk.examples.WorldMapProcessor
-
Writes all collected data to files after processing is finished.
- writeFinalReports() - Method in class org.wikidata.wdtk.examples.ClassPropertyUsageAnalyzer
-
Creates the final file output of the analysis.
- writeFinalResults() - Method in class org.wikidata.wdtk.examples.GenderRatioProcessor
-
Writes the results of the processing to a CSV file.
- writeFinalResults() - Method in class org.wikidata.wdtk.examples.LifeExpectancyProcessor
-
Writes the results of the processing to a file.
- writeFullStatement(Statement, boolean) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeFullStatement(Statement, boolean) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeInterPropertyLinks(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
-
Writes triples which connect properties with their corresponding rdf properties for statements, simple statements, qualifiers, reference attributes and values.
- writeInterPropertyLinks(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeItemDocument(ItemDocument) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeNamespaceDeclaration(String, String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeNamespaceDeclarations() - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
-
Writes all namespace declarations used in the dump, for example
wikibase:
orschema:
. - writeOWLDeclarations() - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeOWLDeclarations() - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writePropertyDatatype(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writePropertyDatatype(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writePropertyDeclarations(RdfWriter, boolean, boolean) - Method in class org.wikidata.wdtk.rdf.OwlDeclarationBuffer
-
Writes OWL declarations for properties that have been added recently.
- writePropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writePropertyDocument(PropertyDocument) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeReferences() - Method in class org.wikidata.wdtk.rdf.ReferenceRdfConverter
-
Writes references that have been added recently.
- writeReferences(Resource, List<? extends Reference>) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeSimpleStatement(Statement) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeSimpleStatement(Statement) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeSiteLinks(Resource, Map<String, SiteLink>) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeSiteLinks(Resource, Map<String, SiteLink>) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeSnak(Snak, Resource, PropertyContext) - Method in class org.wikidata.wdtk.rdf.SnakRdfConverter
-
Writes the given snak for the given subject.
- writeStatement(Statement, boolean) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeStatementRankTriple(Resource, StatementRank, boolean) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
-
Writes a triple for the
StatementRank
of aStatement
to the dump. - writeStatements(StatementDocument) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeTermTriples(Resource, AbstractRdfConverter.TermKind, Collection<MonolingualTextValue>) - Method in class org.wikidata.wdtk.rdf.AbstractRdfConverter
- writeTermTriples(Resource, AbstractRdfConverter.TermKind, Collection<MonolingualTextValue>) - Method in class org.wikidata.wdtk.rdf.RdfConverter
- writeTripleIntegerObject(Resource, IRI, int) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleLiteralObject(Resource, IRI, String, IRI) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleStringObject(Resource, IRI, String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleUriObject(String, IRI, String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleUriObject(Resource, IRI, String) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleValueObject(String, IRI, Value) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeTripleValueObject(Resource, IRI, Value) - Method in class org.wikidata.wdtk.rdf.RdfWriter
- writeValue(GlobeCoordinatesValue, Resource) - Method in class org.wikidata.wdtk.rdf.values.GlobeCoordinatesValueConverter
- writeValue(QuantityValue, Resource) - Method in class org.wikidata.wdtk.rdf.values.QuantityValueConverter
- writeValue(TimeValue, Resource) - Method in class org.wikidata.wdtk.rdf.values.TimeValueConverter
-
Write the auxiliary RDF data for encoding the given value.
- writeValue(V, Resource) - Method in class org.wikidata.wdtk.rdf.values.BufferedValueConverter
-
Writes the triples for a single value, using the given resource as subject.
X
- XSD_DATE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_DATE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_DATETIME - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_DATETIME - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_DECIMAL - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_DECIMAL - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_DOUBLE - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_DOUBLE - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_G_YEAR - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_G_YEAR - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_G_YEAR_MONTH - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_G_YEAR_MONTH - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_INT - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_INT - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
- XSD_STRING - Static variable in class org.wikidata.wdtk.rdf.RdfWriter
- XSD_STRING - Static variable in class org.wikidata.wdtk.rdf.Vocabulary
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DatatypeIdImpl(String, String)