LinkedWiki configuration
From OpenSemanticWorld
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"
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 by default: 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://www.wikidata.org |
SPARQLServiceSaveDataOfWiki ($wgLinkedWikiSPARQLServiceSaveDataOfWiki) | |
CheckRDFPage ($wgLinkedWikiCheckRDFPage) | Disable |
QuerySparqlInSpecialPage ($wgLinkedWikiQuerySparqlInSpecialPage) | SELECT * WHERE { ?x ?y ?z . } LIMIT 15 |
SPARQLParserTableByDefault ($wgLinkedWikiSPARQLParserTableByDefault) | html |