Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.Claim
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Serializer for RDF
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of Claim in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionCopies aClaim
.static Claim
Datamodel.makeClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.Modifier and TypeMethodDescriptionCopies aClaim
.static boolean
Equality.equalsClaim
(Claim o1, Object o2) Returnstrue
if the parameters are twoClaim
objects with exactly the same data.static int
Returns a hash code for the given object.static Statement
Datamodel.makeStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.static String
Returns a human-readable string representation of the given object. -
Uses of Claim in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) StatementImpl.getClaim()
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) -
Uses of Claim in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionDataObjectFactory.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.Statement.getClaim()
Get the Claim object that this statement refers to.Modifier and TypeMethodDescriptionDataObjectFactory.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
. -
Uses of Claim in org.wikidata.wdtk.rdf
Modifier and TypeMethodDescriptionvoid
AbstractRdfConverter.writeClaim
(org.eclipse.rdf4j.model.Resource claimResource, Claim claim) -
Uses of Claim in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionprotected boolean
StatementUpdate.equivalentClaims
(Claim claim1, Claim claim2) 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.