Fully reified RDF mapping for wikibase statements, including deprecated and non-"best" statements, ranks, qualifiers, and references.
More...
Fully reified RDF mapping for wikibase statements, including deprecated and non-"best" statements, ranks, qualifiers, and references.
This modells statements as identifiable objects and does not output a direct property to value mapping as the TruthyStatementRdfBuilder does. If both forms (direct and full) are desired, use TruthyStatementRdfBuilder in addition to FullStatementRdfBuilder.
- See also
- TruthyStatementRdfBuilder
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Stas Malyshev
◆ __construct()
◆ addEntity()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::addEntity |
( |
EntityDocument |
$entity | ) |
|
◆ addMainSnak()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::addMainSnak |
( |
EntityId |
$entityId, |
|
|
|
$statementLName, |
|
|
Statement |
$statement, |
|
|
|
$isBest |
|
) |
| |
|
private |
Adds the given Statement's main Snak to the RDF graph.
- Parameters
-
EntityId | $entityId | |
string | $statementLName | |
Statement | $statement | |
bool | $isBest | Is this best ranked statement? |
◆ addStatements()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::addStatements |
( |
EntityId |
$entityId, |
|
|
StatementList |
$statementList |
|
) |
| |
Adds Statements to the RDF graph.
- Parameters
-
EntityId | $entityId | |
StatementList | $statementList | |
◆ getProduceQualifiers()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::getProduceQualifiers |
( |
| ) |
|
◆ getProduceReferences()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::getProduceReferences |
( |
| ) |
|
◆ setDedupeBag()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::setDedupeBag |
( |
DedupeBag |
$dedupeBag | ) |
|
◆ setProduceQualifiers()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::setProduceQualifiers |
( |
|
$produceQualifiers | ) |
|
- Parameters
-
boolean | $produceQualifiers | |
◆ setProduceReferences()
Wikibase\Repo\Rdf\FullStatementRdfBuilder::setProduceReferences |
( |
|
$produceReferences | ) |
|
- Parameters
-
boolean | $produceReferences | |
◆ $dedupeBag
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$dedupeBag |
|
private |
◆ $produceQualifiers
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$produceQualifiers = true |
|
private |
◆ $produceReferences
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$produceReferences = true |
|
private |
◆ $referenceWriter
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$referenceWriter |
|
private |
◆ $snakBuilder
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$snakBuilder |
|
private |
◆ $statementWriter
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$statementWriter |
|
private |
◆ $vocabulary
Wikibase\Repo\Rdf\FullStatementRdfBuilder::$vocabulary |
|
private |
The documentation for this class was generated from the following file: