Wikibase
MediaWiki Wikibase extension
|
Null implementation of EntityRdfBuilder. More...
Public Member Functions | |
addEntity (EntityDocument $entity) | |
Map some aspect of an Entity to the RDF graph. More... | |
addEntityStub (EntityDocument $entity) | |
Map some aspect of an Entity to the RDF graph, as it should appear in the stub representation of an entity. More... | |
Null implementation of EntityRdfBuilder.
Wikibase\Repo\Rdf\NullEntityRdfBuilder::addEntity | ( | EntityDocument | $entity | ) |
Map some aspect of an Entity to the RDF graph.
EntityDocument | $entity | the entity to output. |
Implements Wikibase\Repo\Rdf\EntityRdfBuilder.
Wikibase\Repo\Rdf\NullEntityRdfBuilder::addEntityStub | ( | EntityDocument | $entity | ) |
Map some aspect of an Entity to the RDF graph, as it should appear in the stub representation of an entity.
The implementation of this method will often be empty, since most aspects of an entity should not be included in the stub representation. Typically, the stub only contains basic type information and labels, for use by RDF modelling tools.
EntityDocument | $entity | the entity to output. |
Implements Wikibase\Repo\Rdf\EntityRdfBuilder.