|
Wikibase
MediaWiki Wikibase extension
|
RDF mapping for entity SiteLinks. More...
Inheritance diagram for Wikibase\Repo\Rdf\SiteLinksRdfBuilder:
Collaboration diagram for Wikibase\Repo\Rdf\SiteLinksRdfBuilder:Public Member Functions | |
| __construct (RdfVocabulary $vocabulary, RdfWriter $writer, SiteList $siteLookup, array $sites=null) | |
| setDedupeBag (DedupeBag $dedupeBag) | |
| addEntity (EntityDocument $entity) | |
| Add the entity's sitelinks to the RDF graph. | |
| addEntityStub (EntityDocument $entity) | |
| Does nothing, since SiteLinks should not be part of entity stubs. | |
Private Member Functions | |
| isSiteIncluded ( $lang) | |
| Site filter. | |
Private Attributes | |
| $vocabulary | |
| $writer | |
| $siteLookup | |
| $sites | |
| $dedupeBag | |
RDF mapping for entity SiteLinks.
| Wikibase\Repo\Rdf\SiteLinksRdfBuilder::__construct | ( | RdfVocabulary | $vocabulary, |
| RdfWriter | $writer, | ||
| SiteList | $siteLookup, | ||
| array | $sites = null |
||
| ) |
| RdfVocabulary | $vocabulary | |
| RdfWriter | $writer | |
| SiteList | $siteLookup | |
| string[] | null | $sites |
| Wikibase\Repo\Rdf\SiteLinksRdfBuilder::addEntity | ( | EntityDocument | $entity | ) |
Add the entity's sitelinks to the RDF graph.
| EntityDocument | $entity | the entity to output. |
Implements Wikibase\Repo\Rdf\EntityRdfBuilder.
| Wikibase\Repo\Rdf\SiteLinksRdfBuilder::addEntityStub | ( | EntityDocument | $entity | ) |
Does nothing, since SiteLinks should not be part of entity stubs.
| EntityDocument | $entity | the entity to output. |
Implements Wikibase\Repo\Rdf\EntityRdfBuilder.
|
private |
Site filter.
| string | $lang |
| Wikibase\Repo\Rdf\SiteLinksRdfBuilder::setDedupeBag | ( | DedupeBag | $dedupeBag | ) |
|
private |
|
private |
|
private |
|
private |
|
private |