Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $baseStore=null) | |
getSemanticData (DIWikiPage $subject, $filter=false) | |
getPropertyValues ( $subject, DIProperty $property, $requestoptions=null) | |
getPropertySubjects (DIProperty $property, $value, $requestoptions=null) | |
getAllPropertySubjects (DIProperty $property, $requestoptions=null) | |
getProperties (DIWikiPage $subject, $requestoptions=null) | |
getInProperties (DataItem $object, $requestoptions=null) | |
deleteSubject (Title $subject) | |
changeTitle (Title $oldtitle, Title $newtitle, $pageid, $redirid=0) | |
doSparqlDataUpdate (SemanticData $semanticData) | |
doSparqlDataDelete (DataItem $dataItem) | |
getQueryResult (Query $query) | |
getPropertiesSpecial ( $requestoptions=null) | |
getUnusedPropertiesSpecial ( $requestoptions=null) | |
getWantedPropertiesSpecial ( $requestoptions=null) | |
getStatistics () | |
refreshConceptCache (Title $concept) | |
deleteConceptCache ( $concept) | |
getConceptCacheStatus ( $concept) | |
service ( $service,... $args) | |
setup ( $options=true) | |
drop ( $verbose=true) | |
refreshData (&$index, $count, $namespaces=false, $usejobs=true) | |
getPropertyTableInfoFetcher () | |
getPropertyTables () | |
getObjectIds () | |
getPropertyTableIdReferenceFinder () | |
clear () | |
getInfo ( $type=null) | |
getConnection ( $type='sparql') | |
Public Member Functions inherited from SMW\Store | |
getSemanticData (DIWikiPage $subject, $filter=false) | |
getPropertyValues ( $subject, DIProperty $property, $requestoptions=null) | |
getPropertySubjects (DIProperty $property, $value, $requestoptions=null) | |
getAllPropertySubjects (DIProperty $property, $requestoptions=null) | |
getProperties (DIWikiPage $subject, $requestOptions=null) | |
getInProperties (DataItem $object, $requestoptions=null) | |
getWikiPageSortKey (DIWikiPage $dataItem) | |
getRedirectTarget (DataItem $dataItem) | |
deleteSubject (Title $subject) | |
updateData (SemanticData $semanticData) | |
clearData (DIWikiPage $di) | |
changeTitle (Title $oldtitle, Title $newtitle, $pageid, $redirid=0) | |
getQueryResult (SMWQuery $query) | |
getPropertiesSpecial ( $requestoptions=null) | |
getUnusedPropertiesSpecial ( $requestoptions=null) | |
getWantedPropertiesSpecial ( $requestoptions=null) | |
getStatistics () | |
service ( $service,... $args) | |
setup ( $verbose=true) | |
drop ( $verbose=true) | |
refreshData (&$index, $count, $namespaces=false, $usejobs=true) | |
getOptions () | |
setOption ( $key, $value) | |
getOption ( $key, $default=null) | |
clear () | |
getInfo ( $type=null) | |
setConnectionManager (ConnectionManager $connectionManager) | |
getConnection ( $type) | |
Static Public Attributes | |
static | $baseStoreClass = 'SMWSQLStore3' |
Protected Member Functions | |
doDataUpdate (SemanticData $semanticData) | |
fetchQueryResult (Query $query) | |
Protected Member Functions inherited from SMW\Store | |
doDataUpdate (SemanticData $data) | |
fetchQueryResult (SMWQuery $query) | |
Additional Inherited Members | |
Static Public Member Functions inherited from SMW\Store | |
static | setupStore ( $verbose=true, $options=null) |
Public Attributes inherited from SMW\Store | |
const | OPT_CREATE_UPDATE_JOB = 'opt.create.update.job' |
Protected Attributes inherited from SMW\Store | |
$connectionManager = null | |
$options = null | |
Storage and query access point for a SPARQL supported RepositoryConnector to enable SMW to communicate with a SPARQL endpoint.
The store uses a base store to update certain aspects of the data that is not yet modelled and supported by a RepositoryConnector, which may become optional in future.
GNU GPL v2+
SMW\SPARQLStore\SPARQLStore::__construct | ( | Store | $baseStore = null | ) |
Store | $baseStore |
SMW\SPARQLStore\SPARQLStore::changeTitle | ( | Title | $oldtitle, |
Title | $newtitle, | ||
$pageid, | |||
$redirid = 0 |
|||
) |
SMW\SPARQLStore\SPARQLStore::clear | ( | ) |
SMW\SPARQLStore\SPARQLStore::deleteConceptCache | ( | $concept | ) |
SMW\SPARQLStore\SPARQLStore::deleteSubject | ( | Title | $subject | ) |
|
protected |
SMW\SPARQLStore\SPARQLStore::doSparqlDataDelete | ( | DataItem | $dataItem | ) |
Delete a dataitem from the Sparql back-end together with all data that is associated resources
DataItem | $dataItem |
SMW\SPARQLStore\SPARQLStore::doSparqlDataUpdate | ( | SemanticData | $semanticData | ) |
Update the Sparql back-end.
This method can be called independently to force an update of the Sparql database. In general it is suggested to use updateData to carry out a synchronized update of the base and Sparql store.
SemanticData | $semanticData |
SMW\SPARQLStore\SPARQLStore::drop | ( | $verbose = true | ) |
SMW\SPARQLStore\SPARQLStore::getAllPropertySubjects | ( | DIProperty | $property, |
$requestoptions = null |
|||
) |
SMW\SPARQLStore\SPARQLStore::getConceptCacheStatus | ( | $concept | ) |
SMW\SPARQLStore\SPARQLStore::getConnection | ( | $type = 'sparql' | ) |
string | $type |
SMW\SPARQLStore\SPARQLStore::getInfo | ( | $type = null | ) |
string | null | $type |
SMW\SPARQLStore\SPARQLStore::getInProperties | ( | DataItem | $object, |
$requestoptions = null |
|||
) |
SMW\SPARQLStore\SPARQLStore::getObjectIds | ( | ) |
SMW\SPARQLStore\SPARQLStore::getProperties | ( | DIWikiPage | $subject, |
$requestoptions = null |
|||
) |
SMW\SPARQLStore\SPARQLStore::getPropertiesSpecial | ( | $requestoptions = null | ) |
SMW\SPARQLStore\SPARQLStore::getPropertySubjects | ( | DIProperty | $property, |
$value, | |||
$requestoptions = null |
|||
) |
SMW\SPARQLStore\SPARQLStore::getPropertyTableIdReferenceFinder | ( | ) |
SMW\SPARQLStore\SPARQLStore::getPropertyTableInfoFetcher | ( | ) |
SMW\SPARQLStore\SPARQLStore::getPropertyTables | ( | ) |
SMW\SPARQLStore\SPARQLStore::getPropertyValues | ( | $subject, | |
DIProperty | $property, | ||
$requestoptions = null |
|||
) |
SMW\SPARQLStore\SPARQLStore::getQueryResult | ( | Query | $query | ) |
Implements SMW\QueryEngine.
SMW\SPARQLStore\SPARQLStore::getSemanticData | ( | DIWikiPage | $subject, |
$filter = false |
|||
) |
SMW\SPARQLStore\SPARQLStore::getStatistics | ( | ) |
SMW\SPARQLStore\SPARQLStore::getUnusedPropertiesSpecial | ( | $requestoptions = null | ) |
SMW\SPARQLStore\SPARQLStore::getWantedPropertiesSpecial | ( | $requestoptions = null | ) |
SMW\SPARQLStore\SPARQLStore::refreshConceptCache | ( | Title | $concept | ) |
SMW\SPARQLStore\SPARQLStore::refreshData | ( | & | $index, |
$count, | |||
$namespaces = false , |
|||
$usejobs = true |
|||
) |
SMW\SPARQLStore\SPARQLStore::service | ( | $service, | |
$args | |||
) |
SMW\SPARQLStore\SPARQLStore::setup | ( | $options = true | ) |