LinkedWiki-Konfiguration

SPARQL services are configurated by the file LinkedWiki/extension.json and the file LocalSettings.php of wiki. Details

configurated SPARQL services

Configuration by default with the parameter "ConfigSPARQLServices"

KeyValue
debugDisable
isReadOnlyEnable
proxyHost
proxyPort0
endpointReadhttp://www.example.org/sparql
endpointWrite
loginsee file: LocalSettings.php
passwordsee file: LocalSettings.php
getTypeRDFDatabasevirtuoso
HTTPMethodForReadPOST
HTTPMethodForWritePOST
nameParameterReadquery
nameParameterWriteupdate
storageMethodClassSimpleStorageMethod
getQueryDeleteSubject
DELETE
        { ?subject ?property ?value . }
WHERE
        { ?subject ?property ?value . }
getQueryInsertValue
INSERT DATA
        {
            ?subject ?property ?value .
        }
getQueryReadValue
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
        }
getQueryReadStringWithTagLang
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
            FILTER langMatches( lang(?value), ?lang )
        }
getQueryReadStringWithoutTagLang
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
            FILTER ( lang(?value) = "" )
        }
getQueryLoadData
LOAD <http://example.org/file.ttl>
langen

Configuration by default: http://www.wikidata.org

KeyValue
debugDisable
isReadOnlyEnable
proxyHost
proxyPort0
endpointReadhttps://query.wikidata.org/sparql
endpointWrite
loginsee file: LocalSettings.php
passwordsee file: LocalSettings.php
getTypeRDFDatabaseblazegraph
HTTPMethodForReadGET
HTTPMethodForWritePOST
nameParameterReadquery
nameParameterWriteupdate
storageMethodClassWikidataStorageMethod
getQueryDeleteSubject
getQueryInsertValue
getQueryReadValue
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
        }
getQueryReadStringWithTagLang
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
            FILTER ( lang(?value) = ?lang )
        }
getQueryReadStringWithoutTagLang
SELECT DISTINCT  ?value
WHERE
        {
            ?subject ?property ?value .
            FILTER ( lang(?value) = "" )
        }
getQueryLoadData
langen

Other options

KeyValue
SPARQLServiceByDefault
($wgLinkedWikiSPARQLServiceByDefault)
http://www.wikidata.org
SPARQLServiceSaveDataOfWiki
($wgLinkedWikiSPARQLServiceSaveDataOfWiki)
CheckRDFPage
($wgLinkedWikiCheckRDFPage)
Disable
QuerySparqlInSpecialPage
($wgLinkedWikiQuerySparqlInSpecialPage)
SELECT * WHERE 
 { ?x ?y ?z . } 
LIMIT 15
SPARQLParserTableByDefault
($wgLinkedWikiSPARQLParserTableByDefault)
html