repo/includes/Rdf/RdfProducer.php
<?php
namespace Wikibase\Repo\Rdf;
/**
* RDF producer options
*
* @license GPL-2.0-or-later
* @author Stas Malyshev
*/
interface RdfProducer {
/** Produce "truthy" statements, i.e. best ranked
* entity-property-value without qualifiers or expanded values
*/
public const PRODUCE_TRUTHY_STATEMENTS = 1;
/**
* Produce all statements
*/
public const PRODUCE_ALL_STATEMENTS = 2;
/**
* Produce qualifiers for statements
* Should be used together with PRODUCE_ALL_STATEMENTS.
*/
public const PRODUCE_QUALIFIERS = 4;
/**
* Produce references for statements
* Should be used together with PRODUCE_ALL_STATEMENTS.
*/
public const PRODUCE_REFERENCES = 8;
/**
* Produce links and badges
*/
public const PRODUCE_SITELINKS = 16;
/**
* Add entity definitions for properties used in the dump.
*/
public const PRODUCE_PROPERTIES = 32;
/**
* Produce full expanded values as nodes.
* Should be used together with PRODUCE_ALL_STATEMENTS.
*/
public const PRODUCE_FULL_VALUES = 64;
/**
* Produce metadata header containing software version info and copyright.
*/
public const PRODUCE_VERSION_INFO = 128;
/**
* Produce definitions for all entities used in the dump
*/
public const PRODUCE_RESOLVED_ENTITIES = 256;
/**
* Produce normalized values for values with units.
*/
public const PRODUCE_NORMALIZED_VALUES = 512;
/**
* Produce page properties
*/
public const PRODUCE_PAGE_PROPS = 1024;
/**
* All options turned on.
*/
public const PRODUCE_ALL = 0xFFFF;
}