LinkedWiki configuration

Jump to navigation Jump to search

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

configurated SPARQL services

Configuration by default: http://daap.dsi.universite-paris-saclay.fr

KeyValue
debugDisable
isReadOnlyDisable
proxyHost
proxyPort0
endpointReadhttps://opendata1.opendata.u-psud.fr/sparql/
endpointWritehttps://opendata1.opendata.u-psud.fr/sparql-auth/
loginsee file: LocalSettings.php
passwordsee file: LocalSettings.php
getTypeRDFDatabasevirtuoso
HTTPMethodForReadPOST
HTTPMethodForWritePOST
nameParameterReadquery
nameParameterWriteupdate
storageMethodClassDatabaseDaapMethod
getQueryDeleteSubject
DELETE  
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { ?subject ?property ?value . } 
    } 
WHERE 
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { ?subject ?property ?value . } 
    }
getQueryInsertValue
INSERT DATA 
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { 
            ?subject ?property ?value . 
        } 
    }
getQueryReadValue
SELECT DISTINCT  ?value  
WHERE 
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { 
            ?subject ?property ?value . 
        } 
    }
getQueryReadStringWithTagLang
SELECT DISTINCT  ?value  
WHERE 
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { 
            ?subject ?property ?value . 
        } 
    FILTER langMatches( lang(?value), ?lang )
    }
getQueryReadStringWithoutTagLang
SELECT DISTINCT  ?value  
WHERE 
    {GRAPH <http://daap.dsi.universite-paris-saclay.fr>  
        { 
            ?subject ?property ?value . 
        } 
    FILTER ( lang(?value) = "" )
    }
getQueryLoadData
LOAD <http://example.org/file.ttl> INTO GRAPH <http://daap.dsi.universite-paris-saclay.fr>
langen

Configuration: https://opendata1.opendata.u-psud.fr

KeyValue
debugDisable
isReadOnlyEnable
proxyHost
proxyPort0
endpointReadhttps://opendata1.opendata.u-psud.fr/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 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: 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://daap.dsi.universite-paris-saclay.fr
SPARQLServiceSaveDataOfWiki
($wgLinkedWikiSPARQLServiceSaveDataOfWiki)
http://daap.dsi.universite-paris-saclay.fr
CheckRDFPage
($wgLinkedWikiCheckRDFPage)
Enable
QuerySparqlInSpecialPage
($wgLinkedWikiQuerySparqlInSpecialPage)
SELECT * WHERE 
 { ?x ?y ?z . } 
LIMIT 15