Configuration de LinkedWiki
Sauter à la navigation
Sauter à la recherche
SPARQL services are configurated by the file LinkedWiki/extension.json and the file LocalSettings.php of wiki. Details
configurated SPARQL services
Configuration: http://data.bnf.fr
Key | Value |
---|---|
debug | Disable |
isReadOnly | Enable |
proxyHost | |
proxyPort | 0 |
endpointRead | http://data.bnf.fr/sparql |
endpointWrite | |
login | see file: LocalSettings.php |
password | see file: LocalSettings.php |
getTypeRDFDatabase | virtuoso |
HTTPMethodForRead | GET |
HTTPMethodForWrite | POST |
nameParameterRead | query |
nameParameterWrite | update |
storageMethodClass | SimpleStorageMethod |
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> |
lang | en |
Configuration by default: http://gregorius.dsi.universite-paris-saclay.fr
Key | Value |
---|---|
debug | Disable |
isReadOnly | Disable |
proxyHost | |
proxyPort | 0 |
endpointRead | https://opendata1.opendata.u-psud.fr/sparql-auth/ |
endpointWrite | https://opendata1.opendata.u-psud.fr/sparql-auth/ |
login | see file: LocalSettings.php |
password | see file: LocalSettings.php |
getTypeRDFDatabase | virtuoso |
HTTPMethodForRead | POST |
HTTPMethodForWrite | POST |
nameParameterRead | query |
nameParameterWrite | update |
storageMethodClass | StorageInGraphGregorius |
getQueryDeleteSubject | DELETE {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } } WHERE {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } } |
getQueryInsertValue | INSERT DATA {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } } |
getQueryReadValue | SELECT DISTINCT ?value WHERE {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } } |
getQueryReadStringWithTagLang | SELECT DISTINCT ?value WHERE {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } FILTER langMatches( lang(?value), ?lang ) } |
getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value WHERE {GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> { ?subject ?property ?value . } FILTER ( lang(?value) = "" ) } |
getQueryLoadData | LOAD <http://example.org/file.ttl> INTO GRAPH <http://gregorius.dsi.universite-paris-saclay.fr> |
lang | en |
Configuration by default with the parameter "ConfigSPARQLServices"
Key | Value |
---|---|
debug | Disable |
isReadOnly | Enable |
proxyHost | |
proxyPort | 0 |
endpointRead | http://www.example.org/sparql |
endpointWrite | |
login | see file: LocalSettings.php |
password | see file: LocalSettings.php |
getTypeRDFDatabase | virtuoso |
HTTPMethodForRead | POST |
HTTPMethodForWrite | POST |
nameParameterRead | query |
nameParameterWrite | update |
storageMethodClass | SimpleStorageMethod |
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> |
lang | en |
Configuration: http://www.wikidata.org
Key | Value |
---|---|
debug | Disable |
isReadOnly | Enable |
proxyHost | |
proxyPort | 0 |
endpointRead | https://query.wikidata.org/sparql |
endpointWrite | |
login | see file: LocalSettings.php |
password | see file: LocalSettings.php |
getTypeRDFDatabase | blazegraph |
HTTPMethodForRead | GET |
HTTPMethodForWrite | POST |
nameParameterRead | query |
nameParameterWrite | update |
storageMethodClass | WikidataStorageMethod |
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 | |
lang | en |
Other options
Key | Value |
---|---|
SPARQLServiceByDefault ($wgLinkedWikiSPARQLServiceByDefault) | http://gregorius.dsi.universite-paris-saclay.fr |
SPARQLServiceSaveDataOfWiki ($wgLinkedWikiSPARQLServiceSaveDataOfWiki) | http://gregorius.dsi.universite-paris-saclay.fr |
CheckRDFPage ($wgLinkedWikiCheckRDFPage) | Enable |
QuerySparqlInSpecialPage ($wgLinkedWikiQuerySparqlInSpecialPage) | SELECT * WHERE { ?x ?y ?z . } LIMIT 15 |